The present invention relates to a device that calculates a position of a loudspeaker.
Priority is claimed on Japanese Patent Application No. 2013-086875 filed on Apr. 17, 2013, the content of which is incorporated herein by reference.
An audio device that forms an audio field by a synthetic sound image by using a plurality of loudspeakers has been known. For example, there is an audio source in which multi-channel audio signals such as 5.1 channel signals are recorded, such as a DVD (Digital Versatile Disc). An audio device that reproduces such an audio source has been widely used even in general households. If each loudspeaker is arranged at a recommended position in a listening room, when the audio source is reproduced by using the audio device, a sound reproduction effect such as a surround effect can be acquired. On the other hand, if the arrangement of the loudspeakers is different from the recommended position, the localization of sound may be inadequate. A technique for forming a desired audio field by performing pickup of sound emitted from loudspeakers, by a microphone to calculate a position deviation of the loudspeakers and correcting the sound emitted from the loudspeakers based on the calculation result has been known (for example, refer to Patent Document 1).
However, in the conventional audio device, four microphones are required in order to specify a three-dimensional position of the loudspeaker. Even if a deviation in a height direction is ignored, in order to specify a two-dimensional position of the loudspeaker, three microphones are required. In either case, there is a problem in that the audio system becomes expensive.
If one microphone is shifted to perform measurement four times or three times, the position of the loudspeaker can be specified by one microphone. However, in this case, time is required for the measurement. Moreover, in order to move the microphone accurately, a seat or the like is required.
The present invention has been conceived in view of the above situation. An example of an object of the present invention is to specify the position of the loudspeaker with a simple configuration.
An audio device according to an aspect of the present invention includes: an acquisition unit that acquires first information indicating an arrangement direction of a first loudspeaker, the first information being measured by a terminal device in a state with the terminal device oriented toward the first loudspeaker; and a calculation unit that calculates a position of the first loudspeaker, at least based on a distance from a reference position to the first loudspeaker, and the first information.
According to the above audio device, the calculation unit calculates the arrangement position of the loudspeaker based on two elements, that is, distance and direction. Therefore, in the case where the distance from the reference position to the loudspeaker is known, the position of the loudspeaker can be specified by only acquiring the arrangement direction of the loudspeaker. Moreover, an audio effect can be added based on a specified position of the loudspeaker. The distance to the loudspeaker can be measured with a simple configuration. Accordingly, even if the loudspeaker is deviated from an ideal position, a desired audio effect can be added with a simple configuration.
The information indicating the arrangement direction of the loudspeaker acquired by the acquisition unit may indicate an arrangement direction as seen from the reference position, being a reference of the distance, or may indicate an arrangement direction as seen from an arbitrary position. When the information indicates the arrangement direction as seen from an arbitrary position, the acquisition unit may acquire the arrangement direction of the loudspeaker as seen from the arbitrary position, and a relative position between the arbitrary position and the reference position. Moreover, the calculation unit may calculate the position of the loudspeaker, based on a relative position, the arrangement direction of the loudspeaker as seen from an arbitrary position and the distance between the loudspeaker and the reference position. More specifically, the calculation unit may convert the information indicating the arrangement direction of the loudspeaker as seen from an arbitrary position into information indicating the arrangement direction of the loudspeaker as seen from the reference position. Furthermore, the calculation unit may calculate the position of the loudspeaker based on a conversion result and the distance between the loudspeaker and the reference position.
An audio system according to an aspect of the present invention includes: a direction measurement unit that measures first information indicating an arrangement direction of a first loudspeaker in a state with a terminal device oriented toward the first loudspeaker; and a calculation unit that calculates a position of the first loudspeaker, at least based on a distance from a reference position to the first loudspeaker, and the first information.
The distance to the loudspeaker can be measured with a simple configuration. According to the above audio system, the calculation unit calculates a position of the loudspeaker based on two elements, that is, distance and direction. Therefore, even if the loudspeaker is deviated from an ideal position, a desired audio effect can be added with a simple configuration.
A method for an audio system according to an aspect of the present invention includes: measuring first information indicating an arrangement direction of a first loudspeaker in a state with a terminal device oriented toward the first loudspeaker; and calculating a position of the first loudspeaker, at least based on a distance from a reference position to the first loudspeaker, and the first information.
Hereunder, embodiments of the present invention will be described with reference to the drawings.
The audio device 20 may be a so-called multichannel amplifier. The audio device 20 generates output audio signals OUT1 to OUT5 in which an audio effect is added to input audio signals IN1 to IN5, and supplies the output audio signals OUT1 to OUT5 to the loudspeakers SP1 to SP5. The loudspeakers SP1 to SP5 are connected to the audio device 20 via a wired or wireless network.
A user A listens to the sound emitted from the loudspeakers SP1 to SP5 at a predetermined position (hereinafter, referred to as “reference position”) Pref. In the example, the loudspeaker SP1 is arranged at the front of the user A. The loudspeaker SP2 is arranged diagonally right forward of the user A. The loudspeaker SP3 is arranged diagonally right rearward of the user A. The loudspeaker SP4 is arranged diagonally left rearward of the user A. The loudspeaker SP5 is arranged diagonally left forward of the user A. The user A simultaneously listens to the sounds emitted from the loudspeakers SP1 to SP5, thereby having a feeling that there is a sound source at a specific position.
The audio device 20 generates the output audio signals OUT1 to OUT5 that sound as if the sound is coming from a desired position, based on the arrangement positions of the plurality of loudspeakers SP1 to SP5. The audio device 20 then outputs the generated output audio signals OUT1 to OUT5. The respective positions of the loudspeakers SP1 to SP5 are measured beforehand.
In the example shown in
The CPU 100 executes the application program to measure the direction in which the terminal device 10 faces by using at least one of outputs of the gyro sensor 151, the acceleration sensor 152, and the orientation sensor 153. In the example shown in
On the other hand, in the case where the directions of the loudspeakers SP1 to SP5 are measured by using the orientation sensor 153, an input of the reference direction is not required. The reason for this is that the orientation sensor 153 outputs a value indicating the absolute direction.
In the example shown in
The j-th processing unit Uj includes a virtual sound source generation unit (hereinafter, simply referred to as “conversion unit”) 300, a frequency correction unit 310, a gain distribution unit 320, and adders 331 to 335 (“j” is an arbitrary natural number satisfying 1≦j≦m). The processing units U1, U2, and so forth, Uj−1, Uj+1, and so forth, and Um are configured to be the same as the processing unit Uj.
The conversion unit 300 generates an audio signal of a virtual sound source, based on the input audio signals IN1 to IN5. In the example, because m processing units U1 to Um are provided, the output audio signals OUT1 to OUT5 corresponding to m virtual sound sources can be generated. The conversion unit 300 includes 5 switches SW1 to SW5, and a mixer 301. The CPU 210 controls the conversion unit 300. More specifically, the CPU 210 memorizes a virtual sound source management table for managing m virtual sound sources in the memory 230, and controls the conversion unit 300, by referring to the virtual sound source management table. Reference data representing which input audio signals IN1 to IN5 need to be mixed for the respective virtual sound sources, is stored in the virtual sound source management table. The reference data may be, for example, a channel identifier indicating a channel to be mixed, or a logical value representing whether to perform mixing for each channel. The CPU 210 refers to the virtual sound source management table to sequentially turn on the switches corresponding to the input audio signal to be mixed, of the input audio signals IN1 to IN5, and fetches the input audio signals to be mixed. As a specific example, a case where the input audio signals to be mixed are the input audio signals IN1, IN2, and IN5 is described here. In this case, the CPU 210 switches on the switch SW1 corresponding to the input audio signal IN1, and switches off the other switches SW2 to SW5. Next, the CPU 210 switches on the switch SW2 corresponding to the input audio signal IN2, and switches off the other switches SW1, and SW3 to SW5. Then, the CPU 210 switches on the switch SW5 corresponding to the input audio signal IN5, and switches off the other switches SW1 to SW4.
The frequency correction unit 310 performs frequency correction on an output signal of the conversion unit 300. Specifically, under control of the CPU 210, the frequency correction unit 310 corrects a frequency characteristic of the output signal according to a distance from the position of the virtual sound source to the reference position Pref. More specifically, the CPU 210 corrects the frequency characteristic of the output signal such that high-pass frequency components are largely attenuated, as the distance from the position of the virtual sound source to the reference position Pref increases. This is for reproducing acoustic characteristics such that an attenuation amount of the high frequency components increases, as the distance from the virtual sound source to the reference position Pref increases.
The memory 230 memorizes an attenuation amount table beforehand. In the attenuation amount table, data representing a relation between the distance from the virtual sound source to the reference position Pref, and the attenuation amount of the respective frequency components is stored. In the virtual sound source management table, data representing the positions of the respective virtual sound sources is stored. The position of the virtual sound source is represented by, for example, three-dimensional orthogonal coordinates, two-dimensional orthogonal coordinates, or polar coordinates, with the reference position Pref as the origin.
The CPU 210 executes first to third processes described below. As a first process, the CPU 210 reads a content of the virtual sound source management table memorized in the memory 230. Further, the CPU 210 calculates the distance from the respective virtual sound sources to the reference position Pref, based on the read content of the virtual sound source management table. As a second process, the CPU 210 refers to the attenuation amount table to acquire the attenuation amounts of the respective frequencies according to the calculated distance to the reference position Pref. As a third process, the CPU 210 controls the frequency correction unit 310 so that the frequency characteristic corresponding to the acquired attenuation amount can be acquired.
Under control of the CPU 210, the gain distribution unit 320 distributes the output signal of the frequency correction unit 310 to a plurality of audio signals Aj[1] to Aj[5] for the loudspeakers SP1 to SP5. At this time, the gain distribution unit 320 amplifies the output signal of the frequency correction unit 310 at a predetermined ratio for each of the audio signals Aj[1] to Aj[5]. The size of the gain of the audio signal with respect to the output signal decreases, as the distances between the respective loudspeakers SP1 to SP5 and the virtual sound source increases. According to such a process, a sound field as if sound is emitted from a place set as the position of the virtual sound source can be formed.
For example, the size of the gain of the respective audio signals Aj[1] to Aj[5] may be proportional to a reciprocal of the distances between the respective loudspeakers SP1 to SP5 and the virtual sound source. As another method, the size of the gain may be set so as to be proportional to a reciprocal of the square or the fourth power of the distances between the respective loudspeakers SP1 to SP5 and the virtual sound source. If the distance between any of the loudspeakers SP1 to SP5 and the virtual sound source is substantially 0, the gain of the audio signals Aj[1] to Aj[5] with respect to the other loudspeakers SP1 to SP5 may be set to 0.
The memory 230 memorizes, for example, a loudspeaker management table. In the loudspeaker management table, data indicating the respective positions of the loudspeakers SP1 to SP5 and data indicating the distances between the respective loudspeakers SP1 to SP5 and the reference position Pref are stored in a state of being associated with identifiers of the respective loudspeakers SP1 to SP5. The positions of the loudspeakers SP1 to SP5 are represented by, for example, three-dimensional orthogonal coordinates or polar coordinates, with the reference position Pref as the origin.
As the first process, the CPU 210 refers to the virtual sound source management table and the loudspeaker management table stored in the memory 230, and calculates the distances between the respective loudspeakers SP1 to SP5 and the respective virtual sound sources. As the second process, the CPU 210 calculates the gain of the audio signals Aj[1] to Aj[5] with respect to the respective loudspeakers SP1 to SP5 based on the calculated distance, and supplies a control signal designating the gain to the respective processing units U1 to Um.
The adders 331 to 335 of the processing unit Uj add the audio signals Aj[1] to Aj[5] output from the gain distribution unit 320 and audio signals Oj-1[1] to Oj-1[5] supplied from the processing unit Uj-1 in the previous stage, and output audio signals Oj[1] to Oj[5]. As a result, an audio signal Om[k] output from the processing unit Um becomes Om[k]=A1[k]+A2[k]+ . . . +Aj[k]+ . . . +Am[k] (“k” is an arbitrary natural number from 1 to 5).
Under control of the CPU 210, the reference signal generation circuit 250 generates the reference signals Sr1 to Sr5 to be used for the measurement of the distances between the loudspeakers SP1 to SP5 and the reference position Pref (a microphone M), and outputs the reference signals to the selection circuit 260. At the time of measurement of the distances between loudspeakers SP1 to SP5 and the position Pref, the CPU 210 causes the reference signal generation circuit 250 to generate the reference signals Sr1 to Sr5. When the distances to the plurality of loudspeakers SP1 to SP5 are to be measured respectively, the CPU 210 controls the selection circuit 260 to select the reference signals Sr1 to Sr5, and supply them to the loudspeakers SP1 to SP5 respectively. At the time of adding the audio effect, the CPU 210 controls the selection circuit 260 to select the audio signals Om[1] to Om[5], and supply them to the loudspeakers SP1 to SP5 respectively.
<Operation of the Audio System>
Next, an operation of the audio system will be described by dividing the operation into specification of the position of the loudspeaker and designation of the position of the virtual sound source.
<Specification Process for the Position of the Loudspeaker>
At the time of specifying the position of the loudspeaker, first to third processes are executed. As the first process, the distances between the respective loudspeakers SP1 to SP5 and the reference position Pref are measured. As the second process, the direction in which the respective loudspeakers SP1 to SP5 are arranged is measured. As the third process, the respective positions of the loudspeakers SP1 to SP5 are specified based on the measured distance and direction.
In the measurement of the distance, as shown in
(Step S1)
The CPU 210 specifies one loudspeaker, for which measurement has not been finished, as the loudspeaker to be measured. For example, if measurement of the distance between the loudspeaker SP1 and the reference position Pref has not been performed, the CPU 210 specifies the loudspeaker SP1 as the loudspeaker to be measured.
(Step S2)
The CPU 210 controls the reference signal generation circuit 250 so as to generate the reference signal corresponding to the loudspeaker to be measured, of the reference signals Sr1 to Sr5. Moreover, the CPU 210 controls the selection circuit 260 so that the generated reference signal is supplied to the loudspeaker to be measured. At this time, the generated reference signal is output as one of the output audio signals OUT1 to OUT5 corresponding to the loudspeaker to be measured. For example, the CPU 210 controls the selection circuit 260 so that the generated reference signal Sr1 is output as the output audio signal OUT1 corresponding to the loudspeaker SP1 to be measured.
(Step S3)
The CPU 210 calculates the distance between the loudspeaker to be measured and the reference position Pref, based on the output signal of the microphone M. Moreover, the CPU 210 records the calculated distance in the loudspeaker management table, in association with the identifier of the loudspeaker to be measured.
(Step S4)
The CPU 210 determines whether measurement of all the loudspeakers is complete. If there is a loudspeaker whose measurement has not been finished (step S4: NO), the CPU 210 returns the process to step 51, and repeats the process from step S1 to step S4 until measurement of all the loudspeakers is complete. If measurement of all the loudspeakers is complete (step S4: YES), the CPU 210 finishes the process.
According to the above process, the distances from the reference position Pref to loudspeakers SP1 to SP5 are measured.
For example, it is assumed that the distance from the reference position Pref to the loudspeaker SP1 is “L”. In this case, as shown in
(Step S20)
Upon startup of the application of the direction measurement process, the CPU 100 causes the display unit 130 to display an image urging the user to perform a setup operation in a state with the terminal device 10 oriented toward the first loudspeaker. For example, if the arrangement direction of the loudspeaker SP1 is set first, as shown in
(Step S21)
The CPU 100 determines whether the setup operation has been performed by the user. Specifically, the CPU 100 determines whether the user has pressed a setup button B (a part of the above-described operating unit 120) shown in
(Step S22)
If the setup operation is performed, the CPU 100 sets the measurement angle measured by the gyro sensor 151 or the acceleration sensor 152 at the time of operation as the angle to be the reference. That is to say, the CPU 100 sets the direction from the reference position Pref toward the loudspeaker SP1 to 0 degree.
(Step S23)
The CPU 100 causes the display unit 130 to display an image urging the user to perform the setup operation in a state with the terminal device 10 oriented toward the next loudspeaker. For example, if the arrangement direction of the loudspeaker SP2 is set in the second place, as shown in
(Step S24)
The CPU 100 determines whether the setup operation has been performed by the user. Specifically, the CPU 100 determines whether the user has pressed the setup button shown in
(Step S25)
If the setup operation is performed, the CPU 100 uses the output value of the gyro sensor 151 or the acceleration sensor 152 at the time of operation to memorize the angle of the loudspeaker to be measured with respect to the reference, in the memory 110.
(Step S26)
The CPU 100 determines whether measurement is complete for all the loudspeakers. If there is a loudspeaker whose measurement has not been finished (step S26: NO), the CPU 100 returns the process to step S23, and repeats the process from step S23 to step S26 until measurement is complete for all the loudspeakers.
(Step S27)
If measurement of the direction is complete for all the loudspeakers, the CPU 100 transmits a measurement result to the audio device 20 by using the communication interface 140.
According to the above process, the directions in which the loudspeakers SP1 to SP5 are respectively arranged are measured. In the above-described example, the measurement results are collectively transmitted to the audio device 20. However, the transmission method is not limited to such a process. The CPU 100 may transmit the measurement result to the audio device 20 every time the arrangement direction of one loudspeaker is measured. As described above, the arrangement direction of the loudspeaker SP1 to be measured first is used as the reference of the angle of the other loudspeakers SP2 to SP5. The angle relating to the loudspeaker SP1 is 0 degree. Therefore, transmission of the measurement result relating to the loudspeaker SP1 may be omitted.
Thus, in the case where the respective arrangement directions of the loudspeakers SP1 to SP5 are specified by using the angle with respect to the reference, the load on the user can be reduced by setting the reference to one of the loudspeakers SP1 to SP5.
A case where the reference of the angle does not correspond to any of the loudspeakers SP1 to SP5, and the reference of the angle is an arbitrary target arranged in the listening room will be described here. In this case, the user orients the terminal device 10 to the target, and performs setup of the reference angle by performing a predetermined operation in this state. Further, the user performs a predetermined operation in a state with the terminal device 10 oriented toward each of the loudspeakers SP1 to SP5, thereby designating the direction.
Accordingly, if the reference of the angle is the arbitrary target arranged in the listening room, an operation to be performed in the state with the terminal device 10 oriented toward the target is required additionally. On the other hand, by setting the target to any one of the loudspeakers SP1 to SP5, the input operation can be simplified.
The CPU 210 of the audio device 20 acquires the (information indicating) arrangement direction of each of the loudspeakers SP1 to SP5 by using the communication interface 220. The CPU 210 calculates the respective positions of the loudspeakers SP1 to SP5 based on the arrangement direction and the distance of each of the loudspeakers SP1 to SP5. That is to say, the CPU 210 and the communication interface 220 function as an acquisition unit that acquires the arrangement directions of the respective loudspeakers SP1 to SP5.
As a specific example, as shown in
(x3,y3)=(L3 sin θ,L3 cos θ) Equation (A)
It also calculates the coordinates (x, y) for the other loudspeakers SP1, SP2, SP4, and SP5 in a similar manner.
The CPU 210 calculates the respective positions of the loudspeakers SP1 to SP5 based on the distance from the reference position Pref to the respective loudspeakers SP1 to SP5, and the arrangement direction of the respective loudspeakers SP1 to SP5.
<Designation Process for the Position of the Virtual Sound Source>
Next, the designation process for the position of the virtual sound source is described. In the present embodiment, designation of the position of the virtual sound source is performed by using the terminal device 10.
(Step S30)
The CPU 100 causes the display unit 130 to display an image urging the user to select a channel to be a virtual sound source, and acquires the number of the channel selected by the user. For example, the CPU 100 causes the display unit 130 to display the screen shown in
(Step S31)
The CPU 100 causes the display unit 130 to display an image urging the user to perform the setup operation in a state with the terminal device oriented toward the target. It is desired that the target agrees with the target used as the reference of the angle of the loudspeaker in the specification process for the position of the loudspeaker. Specifically, it is desired to set the target to the loudspeaker SP1 to be set first. In this case, the CPU 100 causes the display unit 130 to display the screen shown in
(Step S32)
The CPU 100 determines whether the setup operation has been performed by the user. Specifically, the CPU 100 determines whether the user has pressed the setup button B shown in
(Step S33)
If the setup operation is performed, the CPU 100 sets the measurement angle measured by the gyro sensor 151 and the like at the time of operation, as the angle to be the reference. That is to say, the CPU 100 sets the direction from the reference position Pref toward the loudspeaker SP1 (target) to 0 degree.
(Step S34)
The CPU 100 causes the display unit 130 to display an image urging the user to perform the setup operation in a state with the terminal device oriented toward the direction in which the user desires to arrange the virtual sound source. For example, the CPU 100 displays the screen shown in
(Step S35)
The CPU 100 determines whether the user has performed the setup operation. Specifically, the CPU 100 determines whether the user has pressed the setup button B shown in
(Step S36)
If the setup operation is performed, the angle of the virtual sound source with respect to the reference is memorized in the memory 110 by using an output value of the gyro sensor 151 or the like at the time of operation.
(Step S37)
The CPU 100 receives an input of the distance from the virtual sound source to the reference position Pref. For example, the CPU 100 causes the display unit 130 to display the screen shown in
(Step S38)
The CPU 100 transmits to the audio device 20, the (information indicating) arrangement direction of the virtual sound source and the distance to the virtual sound source, as a setup result.
The CPU 210 of the audio device 20 receives the setup result by using the communication interface 220. The CPU 210 calculates the position of the virtual sound source by using the same method as that for calculating the absolute position of the loudspeaker based on the direction and the distance of the loudspeaker. The CPU 210 controls the processing units U1 to Um based on the position of the virtual sound source and the positions of the loudspeakers SP1 to SP5, so that sound is heard from the position of the virtual sound source. As a result, the output audio signals OUT1 to OUT5 obtained by performing sound processing such that the sound of the designated channel is heard from the position of the virtual sound source, are generated by using the terminal device 10. In the example, the arrangement direction of the virtual sound source and the distance to the virtual sound source, are transmitted from the terminal device 10 to the audio device 20 as a designated position indicating the position of the virtual sound source. However, the process is not limited to such a process. The terminal device 10 may calculate a coordinate of the designated position based on the arrangement position of the virtual sound source and the distance to the virtual sound source, and transmit the coordinate to the audio device 20. In other words, information in any format may be transmitted from the terminal device 10 to audio device 20, so long as the designated position can be specified.
According to the above-described processes, the reference of the angle of the loudspeakers SP1 to SP5 is matched with the reference of the angle of the virtual sound source. As a result, specification of the arrangement direction of the virtual sound source can be executed by the same process as that for specifying the arrangement directions of the respective loudspeakers SP1 to SP5. Consequently, because two processes can be commonalized, specification of the position of the loudspeaker and specification of the position of the virtual sound source can be performed by using the same program module. Moreover, because the user uses the common target (in the example, the loudspeaker SP1) as the reference of the angle, the individual target need not be memorized.
<Functional Configuration of the Audio System 1A>
As described above, the audio system 1A includes the terminal device 10 and the audio device 20. The terminal device 10 and the audio device 20 share various types of functions.
The terminal device 10 includes an input unit F11, a direction measurement unit F12, a first communication unit F13, and a first control unit F14. The input unit F11 receives an input of an instruction from the user. The direction measurement unit F12 measures the arrangement directions of the respective loudspeakers SP1 to SP5. The first communication unit F13 communicates with the audio device 20. The input unit F11 corresponds to the operating unit 120 described above. The first communication unit F13 corresponds to the communication interface 140 described above. The direction measurement unit F12 corresponds to the gyro sensor 151, the acceleration sensor 152, the orientation sensor 153, and the CPU 100 described above. The first control unit F14 corresponds to the CPU 100. When the user inputs that the terminal device 10 is oriented toward one of the loudspeakers SP1 to SP5 by using the input unit F11, the first control unit F14 controls the direction measurement unit F12 to measure the arrangement direction of the loudspeaker (the above-described step S25). Moreover, the first control unit F14 controls the first communication unit F13 to transmit the arrangement directions of the respective loudspeakers SP1 to SP5 measured by the direction measurement unit F12, to the audio device 20 (the above-described step S27).
The audio device 20 includes a second communication unit F23, a calculation unit F21, a signal generation unit F22, a storage unit F25, and a second control unit F24. The second communication unit F23 communicates with the terminal device 10. The calculation unit F21 calculates the respective positions of the loudspeakers SP1 to SP5 based on the distance from the reference position Pref to the respective loudspeakers SP1 to SP5 and the arrangement directions of the respective loudspeakers SP1 to SP5. The signal generation unit F22 generates the output audio signals OUT1 to OUT5 generated by adding the acoustic effect to the input audio signals for the loudspeakers SP1 to SP5 based on the respective positions of the loudspeakers SP1 to SP5. The storage unit F25 memorizes the distances from the reference position Pref to the respective loudspeakers SP1 to SP5. When the second communication unit F23 receives the arrangement directions of the respective loudspeakers SP1 to SP5, the second control unit F24 supplies the received arrangement directions of the respective loudspeakers SP1 to SP5 to the calculation unit F21, and supplies the distances from the reference position Pref to the respective loudspeakers SP1 to SP5 read from the storage unit F25, to the calculation unit F21.
The second communication unit F23 corresponds to the communication interface 220 described above. The calculation unit F21 and the second control unit F24 correspond to the CPU 210. The signal generation unit F22 corresponds to the CPU 210 and the processing units U1 to Um. The storage unit F25 corresponds to the memory 230.
As described above, according to the present embodiment, the distances from the reference position Pref to the respective loudspeakers SP1 to SP5 are measured beforehand. The arrangement directions of the respective loudspeakers SP1 to SP5 are measured by using the terminal device 10, and the measurement results are transmitted to the audio device 20. By performing the above process, the calculation unit F21 of the audio device 20 can calculate the respective positions of the loudspeakers SP1 to SP5. Then the signal generation unit F22 generates the output audio signals OUT1 to OUT5 added with the acoustic effect, based on the calculated respective positions of the loudspeakers SP1 to SP5. Consequently, even if the loudspeakers SP1 to SP5 are not arranged at the ideal positions, an acoustic effect such as the arrangement and surround effect of the virtual sound source can be realized, considering the actual positions.
The present invention is not limited to the embodiment described above. Modification examples of the embodiment described above will be described below. The respective modification examples and the embodiment described above can be appropriately combined.
In the embodiment described above, the respective positions of the loudspeakers SP1 to SP5 are calculated by the calculation unit F21 provided in the audio device 20. However, the present invention is not limited to such a configuration. The terminal device 10 may calculate the respective positions of the loudspeakers SP1 to SP5.
In the audio device 20 of the audio system 1B, the second control unit F24 controls the second communication unit F23 so as to transmit the distance to each of the loudspeakers SP1 to SP5 read from the storage unit F25, to the terminal device 10. Moreover, the second control unit F24 supplies the respective positions of the loudspeakers SP1 to SP5 received by using the second communication unit F23, to the signal generation unit F22.
In the terminal device 10, when a user A inputs that the terminal device 10 is oriented toward one of the loudspeakers SP1 to SP5 by using the input unit F11, the first control unit F14 controls the direction measurement unit F12 to measure the arrangement direction of the loudspeaker. Moreover, the first control unit F14 controls the calculation unit F21 to calculate the respective positions of the loudspeakers SP1 to SP5, based on the respective directions of the loudspeakers SP1 to SP5 measured by the direction measurement unit F12 and the respective distances of the loudspeakers SP1 to SP5 received by using the first communication unit F13. Furthermore, the first control unit F14 controls the first communication unit F13 so as to transmit the respective positions of the loudspeakers SP1 to SP5 calculated by the calculation unit F21, to the audio device 20. According to the first modification example, the terminal device 10 executes calculation of the respective positions of the loudspeakers SP1 to SP5. As a result, the processing load on the audio device 20 can be reduced. The audio device 20 can memorize the respective positions of the loudspeakers SP1 to SP5 received from the terminal device 10, and can use these positions to add the acoustic effect subsequently.
In the embodiment described above, the respective positions of the loudspeakers SP1 to SP5 are memorized in the storage unit F25 provided in the audio device 20. However, the present invention is not limited to such a configuration. The terminal device 10 may include the storage unit F25. In this case, the terminal device 10 transmits the arrangement directions of the respective loudspeakers SP1 to SP5 measured by the direction measurement unit F12 and the distances of the respective loudspeakers SP1 to SP5 memorized in the storage unit F25, to the audio device 20. Then the calculation unit F21 of the audio device 20 calculates the respective positions of the loudspeakers SP1 to SP5 based on the arrangement directions of the respective loudspeakers SP1 to SP5 and the distances to the respective loudspeakers SP1 to SP5.
The terminal device 10 may include the storage unit F25 and the calculation unit F21. The calculation unit F21 may transmit the calculated respective positions of the loudspeakers SP1 to SP5 to the audio device 20. In this case, the respective positions of the loudspeakers SP1 to SP5 may be memorized in the memory 230 of the audio device 20. Moreover, the output audio signals OUT1 to OUT5 added with the acoustic effect may be generated based on the memorized respective positions of the loudspeakers SP1 to SP5.
In the embodiment described above, measurement of the arrangement directions of the respective loudspeakers SP1 to SP5 is performed at the reference position Pref, when the user A sets the listening position in the listening room to the reference position Pref. However, the present invention is not limited to such a configuration. The arrangement directions of the loudspeakers SP1 to SP5 may be measured at an arbitrary position. In this case, the process described below is performed. That is to say, the terminal device 10 transmits a relative positional relation between the arbitrary position and the reference position to the audio device 20. The calculation unit F21 calculates the respective positions of the loudspeakers SP1 to SP5 based on the relative positional relation, the arrangement directions of the loudspeakers SP1 to SP5 as seen from the arbitrary position, and the distances between the respective loudspeakers SP1 to SP5 and the reference position Pref. More specifically, the calculation unit F21 converts the direction of the relative positional relation of the loudspeakers as seen from the arbitrary position into the directions of the loudspeakers SP1 to SP5 as seen from the reference position Pref, based on the relative positional relation. Moreover, the calculation unit F21 calculates the respective positions of the loudspeakers SP1 to SP5 based on the conversion result and the distances between the respective loudspeakers SP1 to SP5 and the reference position Pref.
A conversion method for the angle will be described with reference to
Pref. A distance from the reference position Pref to the loudspeaker SP1 is set as “L1”. A distance from the reference position Pref to the loudspeaker SP2 is set as “L2”. A distance from the reference position Pref to the predetermined position P is set as “L3”. A distance from the predetermined position P to the loudspeaker SP2 is set as “L4”. An angle of the loudspeaker SP2 with respect to the loudspeaker SP1 as a reference as seen from the reference position Pref is set as θ. An angle of the loudspeaker SP2 with respect to the loudspeaker SP1 as the reference as seen from the predetermined position P is set as “θ′”. Angles θb, θc, θd, and θe are set as shown in
“θ”is provided by equation (1) described below. As a result, if “θe” and “θb” can be expressed by a known value, “θ” can be converted to “θ”.
θ=180°−θe−θb Equation (1)
At first, “θa” and “θc” are provided by equations (2) and (3) described below.
θa=a tan(Δx/(L1+Δy)) Equation (2)
θc=a tan(Δy/Δx) Equation (3)
Moreover, θb=90°−θc. If equation (3) is substituted, equation (4) is acquired.
θb=90°−a tan(Δy/Δx) Equation (4)
Moreover, θb+θc=90°, θa+θd+θc=90°. Therefore, equation (5) can be acquired.
θd=θb−θa Equation (5)
If equation (4) and equation (2) are substituted in equation (5), equation (6) is acquired.
θd=90°−a tan(Δy/Δx)−a tan(Δx/(L1+Δy)) Equation (6)
Moreover, “L3” is provided in equation (7) described below. Equation (8) is established for “L4”.
L
3=(Δx2+Δy2)1/2 Equation (7)
L
4
2
=L
2
2
+L
3
3+2L2L3 cxos (θc) Equation (8)
If equation (8) is transformed, “θe” can be expressed by equation (9).
cos(θe)=(L22+L32−L42)/(2L2L3)
θe=a cos {(L22+L32−L42)/(2L2L3)} Equation (9)
Furthermore, equation (10) is established for “L4”.
L
2
2
=L
3
2
+L
4
2−2L3L4 cos(θ′+θd) Equation (10)
If equation (10) is solved for “L4”, equation (11) is established.
L
4
={−b±(b2−4c)1/2}/2 Equation (11)
where b=−2L3cos(θ′+θd), c=L32−L22.
Here, a positive value is selected as “L4”.
In equation (11), “θ′” and “L2” are known. “L3” is also known from equation (7). “θd” is also known from equation (6). As a result, if equation (6) and equation (7) are substituted in equation (11), “L4” can be acquired. Moreover, if “L4” calculated by equation (11), “L3” calculated by equation (7), and the known “L2” are substituted in equation (9), “θe” can be calculated. By substituting “θe” and “θb” calculated by equation (4) in equation (1), “θ” can be acquired.
“Δx” and “Δy” are relative coordinates from the predetermined position P to the reference position Pref. Therefore, “Δx” and “Δy” can be acquired by using an integration result of the output signal of the triaxial acceleration sensor 152 of the terminal device 10 and the output signal of the orientation sensor 153. Specifically, it is required that integration is started when the user inputs a start instruction by using the operating unit 120 at the arbitrary position P, and integration is finished when the user inputs an end instruction by using the operating unit 120 after the user has moved to the reference position Pref. Alternatively, the user may input “Δx” and “Δy” by using the operating unit 120.
In the embodiment described above, in the measurement of the arrangement directions of the respective loudspeakers SP1 to SP5, the direction measurement unit F12 sets the loudspeaker SP1 as the reference, and outputs the angle with respect to the reference, as the direction. However, the present invention is not limited to such a configuration. An arbitrary target arranged in the listening room may be set as the reference, and the angle with respect to the reference may be measured as the direction.
For example, in the case where a television is arranged in the listening room, the direction measurement unit F12 may set the television as a target and output the angle with respect to the television (target) as the reference, as the direction. In this case, if the user inputs that the terminal device 10 is oriented toward the television, which serves as the target being the reference, by using the input unit F11, the first control unit F14 controls the direction measurement unit F12 so as to set the angle being the reference. Then if the user operates the input unit F11 in a state with the terminal device 10 oriented toward each of the loudspeakers SP1 to SP5, the first control unit F14 controls the direction measurement unit F12 so as to measure the direction of that loudspeaker.
In the embodiment described above, the case where the loudspeakers SP1 to SP5 are arranged two-dimensionally has been described. However, as shown in
According to the embodiment described above, the information indicating the arrangement directions of the loudspeakers measured by the terminal device is transmitted to the audio device. Consequently, when the distance to the loudspeaker is known, even if the position of the loudspeaker deviates from the ideal position, the audio device can calculate the actual positions of the plurality of loudspeakers, and can add the desired acoustic effect thereto. Moreover, in the measurement of the direction, the user only needs to operate the input unit by orienting the terminal device toward the target loudspeaker, thereby enabling to measure the arrangement direction of the loudspeaker easily.
According to the first modification example of the above embodiment, the distance to the loudspeaker is transmitted from the audio device to the terminal device. The terminal device calculates the position of the loudspeaker based on the measured arrangement direction of the loudspeaker and the received distance. As a result, the audio device need not include the calculation unit, and hence, the configuration of the audio device can be simplified.
According to the above embodiment, when the acceleration sensor and the gyro sensor that detect the relative direction are used as the direction measurement unit, the target can be set as the reference. Consequently, the angle formed by the arrangement direction of the target and the arrangement direction of the loudspeaker can be acquired.
According to the embodiment described above, when the designation direction in which the virtual sound source is positioned is input by using the terminal device, the designation direction is input by using a target the same as the target which has been used as a reference in the measurement of the arrangement direction of the loudspeaker, as the reference. Accordingly, the angle of the virtual sound source with respect to the reference can be treated as the angle of the loudspeaker with respect to the reference. As a result, the arrangement process of the virtual sound source in the signal generation unit can be simplified. Moreover, a relative angle error between the loudspeaker and the virtual sound source can be reduced by setting the same target as the reference.
According to the embodiment described above, time and labor to input the reference can be simplified by setting a predetermined loudspeaker as the target.
The order of designating the arrangement direction of the loudspeaker by the user by using the input unit may be preset. Moreover, the target may be a loudspeaker to be designated first, of the plurality of loudspeakers. In this case, the information indicating the arrangement directions of the second loudspeaker and thereafter is provided as the angles with respect to the first loudspeaker as the reference. Furthermore, the predetermined loudspeaker may be a loudspeaker in an arbitrary order. In this case, it is appropriate to subtract the angle of the predetermined loudspeaker from the angle of other loudspeakers to specify the arrangement directions of the plurality of loudspeakers.
The present invention is applicable to audio devices, audio systems, and methods.
Number | Date | Country | Kind |
---|---|---|---|
2013-086875 | Apr 2013 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2014/060598 | 4/14/2014 | WO | 00 |