Program and method for generating virtual sound signal considering listener's direction, and virtual sound realization device
The virtual sound generation program and device address the misalignment of sound and video by using head-related transfer functions to adjust sound output based on viewer orientation, improving audiovisual integration.
Patent Information
- Application Number
- JP2023045810
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2043-03-22
AI Technical Summary
Existing technologies fail to accurately localize sound output based on changes in the viewer's head orientation, leading to discomfort due to misalignment between video and audio localization, especially in devices with two loudspeakers.
A virtual sound generation program and device that utilize head-related transfer functions to adjust sound output from multiple speakers, considering the viewer's orientation and device orientation, to align sound sources with the displayed image.
Enables accurate localization of sound sources relative to the viewer's orientation, reducing audiovisual disintegration and enhancing the viewing experience by aligning sound with image content.
Smart Images

Figure 2024135229000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for generating an acoustic signal of a virtual sound source. [Background technology]
[0002] In recent years, information devices such as smartphones have become larger in storage capacity, and a large amount of multimedia content including audiovisual information such as movie content and PV (Promotion Video) content can now be imported and played.
[0003] As a typical example, when playing multimedia content on a smartphone, video and audio are normally output in sync with each other from the display, which is vertically long when the device is held vertically, as is the default, and from the loudspeakers, which are positioned horizontally when the device is held vertically.
[0004] Therefore, for example, when playing back multimedia content that includes audiovisual information suited to a portrait display, it is preferable to view the content by holding the device vertically, which is the default. On the other hand, when playing back multimedia content that includes audiovisual information suited to a landscape display, the content is usually viewed by holding the smartphone horizontally, with the display in landscape orientation (and, to match, the video is displayed rotated 90 degrees on the display).
[0005] However, in this case, the loudspeakers are arranged vertically, and as a result, the position of the subject or object captured in the video does not match the position of the sound image captured from the audio and acoustics, causing the viewer to feel uncomfortable (a sense of disintegration of the audio and visual). This problem also occurs in mobile devices capable of multimedia playback, which are held horizontally by default.
[0006] In order to solve the problem of the sound source arrangement direction set in the video not matching the actual loudspeaker arrangement direction, that is, the problem of the subject or expression and the sound image localization not matching between the video and the audio / sound, for example, Patent Document 1 proposes a technology in which three loudspeakers are provided at the upper center, lower left, and lower right of a display, respectively, and two loudspeakers suitable for stereo reproduction are selected by detecting the orientation of an information device. Patent Document 2 also discloses a technology in which three loudspeakers are provided at three corners of a display, and the orientation of an information device is detected to select two loudspeakers suitable for stereo reproduction.
[0007] Furthermore, the technology disclosed in Patent Document 3 aims to solve the above problem by providing two loudspeakers at opposite corners of a display and appropriately switching between the left and right channels by detecting the orientation of the information device. Patent Document 4 discloses a multimedia device that applies filtering to input signals so that the sound output from each installed loudspeaker matches the image displayed on the display at the viewing position. [Prior art documents] [Patent documents]
[0008] [Patent Document 1] JP 2006-174277 A [Patent Document 2] JP 2009-232424 A [Patent Document 3] JP 2003-078601 A [Patent Document 4] JP 2015-070324 A [Patent Document 5] US Patent Application Publication No. 2020 / 0104033 Summary of the Invention [Problem to be solved by the invention]
[0009] However, with the above-mentioned conventional technology, it is still difficult to properly localize the output audio and sound in accordance with the change in the direction of the viewer's head, and therefore the change in the position of both ears. Therefore, for example, if the viewer changes the direction of his / her face while watching, the problem of the sound image localization between the video and the audio and sound no longer matches has arisen.
[0010] For example, the techniques disclosed in Patent Documents 1 and 2 take into consideration the detected orientation of the information device, select two of the three loudspeakers that are closest to the direction of the video, and localize the video and audio / sound images closer together. However, no information on the direction of the viewer's head is acquired, and therefore no consideration is given to localization at all. Therefore, if the viewer's head direction changes and the position of the ears moves out of the so-called sweet spot, localization of the audio / sound becomes impossible. In addition, these techniques require three loudspeakers and cannot be applied to systems based on two loudspeakers, which is the case for many mobile terminals.
[0011] The technology disclosed in Patent Document 3 also does not take into account information related to the viewer's head direction, and the same problem occurs as above. Furthermore, in this technology, two loudspeakers are arranged on a diagonal line of the screen, and localization is performed on this diagonal line, so if the information device is large, integration of audiovisual information becomes very difficult. Furthermore, the technology disclosed in Patent Document 4 also does not take into account information related to the viewer's head direction, and a problem occurs in which an accurate filter cannot be generated when the viewer's head direction changes. Furthermore, as a result, even if the input signal is corrected using the generated filter, it becomes difficult to realize a virtual loudspeaker set at a desired position.
[0012] The technology disclosed in Patent Document 5 is a technology that determines the direction of a user's face from a facial image and determines the display direction of a smartphone screen according to the determined face direction. However, this technology does not solve the above-mentioned problem of the sound source arrangement direction originally set in the video not matching the actual loudspeaker arrangement direction.
[0013] SUMMARY OF THE PRESENT EMBODIMENTS Accordingly, an object of the present invention is to provide a program, a method, and a virtual sound realization device capable of generating an acoustic signal of a virtual sound source in consideration of the direction of a listener. [Means for solving the problem]
[0014] According to the present invention, there is provided a virtual sound generation program for generating virtual sound signals for implementing sounds output from a plurality of virtual sound sources set in accordance with a plurality of input sound signals, comprising: a reproduction function generating means for generating a reproduction transfer function for reproduction by a plurality of installed speakers, the reproduction transfer function being such that a listener with his / her head oriented in a certain direction perceives the sound from the speakers as sound from the virtual sound source, using the head related transfer function of the listener, based on obtained direction information relating to the direction of the listener's head or face relative to the speakers or a device including the speakers; a virtual signal generating means for generating, from the acoustic signal, the virtual acoustic signal to be input to the speaker, using the reproduction transfer function; A virtual sound generation program is provided that causes a computer to function as a
[0015] In the virtual sound generation program according to the present invention, the reproduction function generation means (a) a first head-related transfer function, which is a function of the orientation of the speaker from the listener's head or ear, set for each speaker; and (b) a second head-related transfer function, which is a function of the direction of the virtual sound source from the head or ear of the listener, set for each virtual sound source; It is also preferable to determine based on the obtained orientation information, and generate the reproduction transfer function using the determined first and second head-related transfer functions.
[0016] Furthermore, as one embodiment of the virtual sound generation program according to the present invention, the plurality of speakers are installed in a device having a screen capable of displaying a video or image related to a video or image signal input in accordance with the audio signal, The plurality of virtual sound sources are set in the device along directions in the video or image displayed on the screen, along directions in which the plurality of sound sources are assumed in the plurality of acoustic signals. It is also preferable.
[0017] In the above embodiment, the plurality of speakers are arranged along a lateral direction in the device in a default position, When the device is tilted 90 degrees from the default position within a plane including the screen, the video or image is displayed on the screen rotated 90 degrees in the opposite direction to the tilt of the device, It is also preferable that the multiple virtual sound sources are set within the device in a direction within the video or image rotated 90 degrees and along the direction in which the multiple assumed sound sources are arranged.
[0018] In the above embodiment, the device further includes a camera capable of generating image information including the listener and distance information relating to a distance to the listener, It is also preferable that the reproduction function generating means determines speaker orientation information relating to the orientation of the speaker as seen from the listener's ear based on the distance information and the orientation information determined from the image information, and generates the reproduction transfer function based on the speaker orientation information.
[0019] In this case, it is also preferable that the device further includes an orientation sensor capable of generating screen orientation information relating to the orientation of the screen, and the reproduction function generating means determines the speaker orientation information based on the screen orientation information as well.
[0020] Furthermore, in the above embodiment, it is also preferable that the above device further includes an attitude sensor capable of generating screen orientation information relating to the orientation of the screen, and the reproduction function generating means generates the reproduction transfer function only when the screen orientation information satisfies a predetermined condition.
[0021] Furthermore, it is also preferable that the plurality of acoustic signals according to the present invention are acoustic signals for realizing surround sound, and the plurality of virtual sound sources are set at positions that are surrounding to the listener.
[0022] According to the present invention, there is also provided a virtual sound realization device for realizing sounds output from a plurality of virtual sound sources set according to a plurality of input sound signals, A plurality of speakers; a reproduction function generating means for generating a reproduction transfer function for reproduction by the plurality of speakers, the reproduction transfer function being such that a listener with a head oriented in a certain direction perceives sound from the speakers as sound from the virtual sound source, using the head related transfer function of the listener, based on obtained direction information relating to the direction of the listener's head or face relative to the speakers or a device including the speakers; a virtual signal generating means for generating, from the acoustic signal, the virtual acoustic signal to be input to the speaker, using the reproduction transfer function; having The plurality of speakers receives the virtual sound signal as an input and outputs sounds related to the sounds output from the plurality of virtual sound sources. A virtual sound realization device is provided.
[0023] As an embodiment of the virtual sound realization device according to the present invention, the device further includes a screen capable of displaying a video or image according to a video or image signal input in accordance with the audio signal, It is also preferable that the multiple virtual sound sources are set within the device in a direction within the video or image displayed on the screen, along the direction of arrangement of the multiple sound sources assumed in the multiple acoustic signals.
[0024] In another embodiment of the virtual sound realization device according to the present invention, the device further includes a camera capable of generating image information including the listener and distance information related to the distance to the listener, It is also preferable that the reproduction function generating means determines speaker direction information relating to the direction of the speaker as seen from the ear of the listener, based on the distance information and the direction information, and generates the reproduction transfer function based on the speaker direction information.
[0025] According to the present invention, there is further provided a virtual sound realization system for realizing sounds output from a plurality of virtual sound sources set according to a plurality of input sound signals, comprising: A plurality of speakers; a reproduction function generating means for generating a reproduction transfer function for reproduction by the plurality of speakers, the reproduction transfer function being such that a listener with a head oriented in a certain direction perceives sound from the speakers as sound from the virtual sound source, using the head related transfer function of the listener, based on obtained direction information relating to the direction of the listener's head or face relative to the speakers or a device including the speakers; a virtual signal generating means for generating, from the acoustic signal, the virtual acoustic signal to be input to the speaker, using the reproduction transfer function; having The plurality of speakers receive the virtual sound signal as an input and output sounds related to the sounds output from the plurality of virtual sound sources. A virtual sound realization system is provided.
[0026] According to still another aspect of the present invention, there is provided a method for generating virtual sound signals for implementing sounds output from a plurality of virtual sound sources set in accordance with a plurality of input sound signals, comprising: generating a reproduction transfer function for reproduction by a plurality of installed speakers, the reproduction transfer function being such that a listener with his / her head oriented in a certain direction perceives the sound from the speakers as sound from the virtual sound source, using the head related transfer function of the listener, based on the obtained orientation information relating to the orientation of the listener's head or face relative to the speakers or a device including the speakers; generating, from the acoustic signal, the virtual acoustic signal to be input to the speaker using the reproduction transfer function; A computer-implemented method for virtual sound generation is provided, comprising: Effect of the Invention
[0027] According to the virtual sound generating program and method, and the virtual sound realization device of the present invention, it is possible to generate an acoustic signal of a virtual sound source in consideration of the direction of a listener. [Brief description of the drawings]
[0028] [Figure 1] 1 is a functional block diagram showing a functional configuration of an embodiment of a virtual sound realization device according to the present invention; [Diagram 2] FIG. 2 is a schematic diagram for explaining an embodiment of a reproduction function generation process according to the present invention. [Diagram 3] 11A and 11B are schematic diagrams showing another embodiment of the virtual sound generation processing according to the present invention. [Figure 4] 1 is a flow chart that illustrates a schematic diagram of an embodiment of a virtual sound generation method according to the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0029] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
[0030] [Virtual Sound Realization Device] FIG. 1 is a functional block diagram showing a functional configuration of an embodiment of a virtual sound realization device according to the present invention.
[0031] The smartphone 1 shown in Figure 1 as one embodiment of the virtual sound realization device according to the present invention is an audio output device that, when playing multimedia content received from a multimedia (MM) content distribution server 2, can make the sound (in a broad sense including voice) output from the left loudspeaker 106-1 and the right loudspeaker 106-2 be perceived as sound from virtual sound sources V1 and V2 by a listener (the viewer in Figure 1) with his or her head in a "certain direction."
[0032] Here, the smartphone 1 of this embodiment is equipped with a touch panel display 105 that is vertically long when the terminal is held vertically, which is the default posture, and also equipped with a left loudspeaker 106-1 and a right loudspeaker 106-2 that are arranged horizontally in the same position. Also, in the example shown in Fig. 1, the above multimedia content includes audiovisual (image and audio) information suited to the horizontal display.
[0033] Therefore, the listener (viewer) holds smartphone 1 horizontally (tilting it 90 degrees within the plane including the screen) to make the display landscape, and then, to match this, the image (in a broad sense including video) is displayed on the display rotated 90 degrees in the opposite direction to the tilt of smartphone 1, and thus the listener (viewer) watches the image.
[0034] However, in this case, the left and right loudspeakers 106-1 and 106-2, which were originally arranged horizontally, are now arranged vertically, which is completely different (by 90 degrees) from the "assumed arrangement of the multiple sound sources (in the displayed image)" in the audiovisual (image and sound) information included in the multimedia content. Furthermore, the head of the listener is not necessarily facing forward, but may be in any direction, and the relative positional relationship between the listener's left and right ears and the left and right loudspeakers 106-1 and 106-2 is likely to be significantly different from the originally assumed symmetrical one. As a result, the listener (viewer) feels a sense of discomfort (sense of audiovisual disintegration) because the position of the subject or expression captured from the displayed image does not match the position of the sound image captured from the sound output at the same time.
[0035] Therefore, the smartphone 1 realizes virtual sound sources V1 and V2 set horizontally (within the smartphone 1) in accordance with the audio signal (and image signal) of the multimedia content and taking into account the direction of the listener's head (in the example of Figure 1, the left and right loudspeakers 106-1 and 106-2 are virtually displaced), thereby matching the positions of the subjects, expressions, etc. and the positioning of the sound image between the image and audio, thereby eliminating this sense of incongruity.
[0036] Specifically, in order to fulfill these functions, Smartphone 1 has the following features: (A) a reproduction function generating unit 113 that generates a "reproduction transfer function" for reproduction by a plurality of installed loudspeakers (two left and right loudspeakers 106-1 and 106-2 in FIG. 1) using a "head related transfer function" of a listener (viewer) based on obtained "orientation information" related to the orientation of the head or face of the listener (viewer) relative to these loudspeakers or a device including these loudspeakers (smartphone 1 in FIG. 1); (B) a virtual signal generator 114 that uses the generated “reproduction transfer function” to generate “virtual acoustic signals” to be input to these loudspeakers from a plurality of input acoustic signals (stereo signals of the multimedia content to be reproduced in the example of FIG. 1); It is equipped with:
[0037] Here, the "reproduction transfer function" in (A) above is a transfer function for reproducing virtual sound sources, which enables the listener (audience) to perceive the sound produced by multiple loudspeakers (left and right loudspeakers 106-1 and 106-2) as sound produced by multiple virtual sound sources (virtual sound sources V1, V2 arranged horizontally in FIG. 1) set in accordance with the multiple input sound signals (stereo signals of multimedia content).
[0038] Furthermore, this "reproduction transfer function" is generated based on the obtained "orientation information" in (A) above so that the sound from the set virtual sound source (V1, V2) is realized even for a listener (viewer) whose head is in a "certain orientation". In this way, the smartphone 1 of this embodiment generates acoustic signals of multiple virtual sound sources (V1 and V2) set in accordance with multiple input acoustic signals (stereo signals) while taking into account the orientation of the listener (viewer), and can realize the sound output from these virtual sound sources (V1, V2) by the provided loudspeakers (106-1, 106-2).
[0039] Incidentally, the above-mentioned "direction information" is generated by the listener information generating unit 113a of the reproduction function generating unit 113 based on image information output from the RGB-D camera 104 in this embodiment, which will be described in detail later.
[0040] As another embodiment, the reproduction function generating unit 113 of (A) and the virtual signal generating unit 114 of (B) may be included in different devices. For example, it is possible to take out the reproduction function generating unit 113 from the smartphone 1 shown in FIG. 1 and provide its function in, for example, an external server. In this case, information output from the acceleration / gyro sensor unit 103 and the RGB-D camera 104 is transmitted from the smartphone 1 to the server, and the generated "reproduction transfer function" is transmitted from the server to the smartphone 1. Incidentally, such a smartphone 1 and server constitute a virtual sound realization system according to the present invention.
[0041] [Device configuration, virtual sound generation program and method] The functional configuration of the smartphone 1 as an embodiment of the virtual sound realization device according to the present invention will be described in more detail below. In the functional block diagram of Fig. 1, the smartphone 1 has a communication interface unit 101, a multimedia (MM) content storage unit 102, an acceleration / gyro sensor unit 103, an RGB-D camera 104, a touch panel display 105, a left loudspeaker 106-1, a right loudspeaker 106-2, and a processor / memory (a calculation processing system with a memory function). Here, the processor / memory stores a virtual sound generation program according to the present invention, has a computer function, and executes the virtual sound generation program to perform a virtual sound generation process.
[0042] Here, the virtual sound realization device according to the present invention is not limited to a smartphone, and may be a tablet computer, a wearable device, or another communication terminal capable of receiving sound signals (including audio signals of various contents) equipped with the virtual sound generation program according to the present invention, or even a device dedicated to virtual sound generation processing, a personal computer (PC), a cloud server, or a non-cloud server. Incidentally, when the virtual sound realization device is a PC or a server, a device equipped with a loudspeaker (or a display) that receives the generated virtual sound signal and outputs the virtual sound may be provided separately.
[0043] The processor memory also includes, as functional components, an acoustic signal adjustment unit 111 including a determination unit 111a, a video signal adjustment unit 112, a reproduction function generation unit 113 including a listener information generation unit 113a, a virtual signal generation unit 114 including an acoustic output adjustment unit 114a, a communication control unit 121, and a video output adjustment unit 122. These functional components can be considered as functions realized by executing a virtual sound generation program according to the present invention stored in the processor memory. The flow of processing shown by connecting the functional components of the smartphone 1 in the functional block diagram of FIG. 1 with arrows can also be understood as one embodiment of a virtual sound generation method according to the present invention.
[0044] In the embodiment described below, the smartphone 1 performs virtual sound generation processing related to multimedia content. However, the smartphone 1 can also perform virtual sound generation processing related to sound signals (audio signals) other than multimedia content, that is, processing to realize sounds output from multiple virtual sound sources set in accordance with multiple input sound signals, in a manner similar to the following.
[0045] <Acoustic signal adjustment means> 1, MM content storage unit 102 stores and manages multimedia content distributed, for example, from MM content distribution server 2 via communications interface unit 101 and communications control unit 121. Furthermore, audio signal adjustment unit 111 extracts the multimedia content to be played back from MM content storage unit 102, performs preprocessing such as decoding on the audio signal, and then performs Fast Fourier Transform (FFT) processing on the audio signal to generate an FFT-processed audio signal on which transfer function convolution processing can be performed, and outputs the signal to virtual signal generation unit 114.
[0046] In this embodiment, the acceleration / gyro sensor unit 103 is an orientation sensor capable of generating "screen orientation information" relating to the orientation of the screen of the touch panel display 105, for example, information relating to the angle between the long side direction vector and the short side direction vector on the screen and the vertical axis. The determination unit 111a of the sound signal adjustment unit 111 obtains the "screen orientation information" from the acceleration / gyro sensor unit 103 during playback of the multimedia content, and determines the orientation of the smartphone 1 during playback (terminal held vertically - terminal held horizontally).
[0047] Incidentally, the OS (Operating System) installed in the smartphone is usually equipped with a function for providing screen orientation information and terminal attitude information as an on-device API (Application Programming Interface) for developers. For example, the determination unit 111a may obtain screen orientation information from this on-device API to determine the attitude of the smartphone 1, and may obtain attitude information of the smartphone 1 as a determination result from this on-device API.
[0048] In this embodiment, the sound signal adjustment unit 111 generates an FFT-processed sound signal only when it is determined that the terminal is held horizontally. It is also preferable that the sound signal adjustment unit 111 is set to generate an FFT-processed sound signal when it is determined that the terminal is tilted by a predetermined angle (for example, 45°) or more from the default terminal held vertically to the terminal held horizontally. In this embodiment, when the sound signal adjustment unit 111 determines that the terminal is held horizontally, it outputs a "reproduction transfer function generation instruction" to the reproduction function generation unit 113 described later, and the reproduction function generation unit 113 performs a reproduction transfer function generation process upon receiving this instruction. Incidentally, the reproduction function generation unit 113 may also be set to perform a reproduction transfer function generation process upon receiving the instruction from the user via the touch panel display 105.
[0049] <Video signal adjustment means> 1, the video signal adjustment unit 112 performs preprocessing such as decoding on the image signal of the multimedia content to be played back, and outputs the preprocessed image signal to the video output adjustment unit 122, which displays the image to be played back on the touch panel display 105. In this embodiment, when the smartphone 1 is tilted at the above-mentioned predetermined angle (e.g., 45°) or more, the video output adjustment unit 122 displays the image to be played back on the touch panel display 105 in a state rotated 90° opposite to the tilt of the smartphone 1.
[0050] <Reproduction function generating means: listener information generating process> Similarly, in the functional block diagram of FIG. 1, in this embodiment, the listener information generating unit 113a of the reproduction function generating unit 113 receives a "reproduction transfer function generation instruction" from the acoustic signal adjusting unit 111 (or from the user via the touch panel display 105), and (a) “orientation information” relating to the orientation of the head or face of the viewer (listener) relative to the smartphone 1 (including the left and right loudspeakers 106-1 and 106-2); (b) “distance information” relating to the distance from the smartphone 1 (including the left and right loudspeakers 106-1 and 106-2) to the viewer (listener); and (c) "Screen orientation information" (In this embodiment, this is information related to the angle that the long side direction vector and the short side direction vector in the screen make with the vertical axis) Based on this, "speaker direction information" relating to the directions of the left and right loudspeakers 106-1 and 106-2 as seen from the left and right ears of the viewer (listener) is determined.
[0051] Specifically, since the "in-terminal speaker position information" relating to the respective positions of the left and right loudspeakers 106-1 and 106-2 in the smartphone 1 is preset and stored information and can be acquired, first, for example, the position coordinates of the viewer's head in a coordinate space fixed to the smartphone 1 can be determined from this "in-terminal speaker position information," "screen orientation information," and "distance information." Next, by adopting a predetermined value (for example, an average value of measurement results for many people) as the positions of the left and right ears in the viewer's head, the position coordinates of each of the left and right ears of the viewer in this coordinate space can be determined from the "orientation information." Finally, this makes it possible to determine the "speaker orientation information" for each of the left and right loudspeakers 106-1 and 106-2 as viewed from each of the left and right ears.
[0052] Here, in this embodiment, the "orientation information" in (a) above can be generated by applying a known face recognition technique to image information including the viewer generated by the RGB-D camera 104. Furthermore, the OS installed in a smartphone is usually equipped with a function for providing this "orientation information" as an on-device API for developers, and the "orientation information" may be acquired from this on-device API. Furthermore, the "distance information" in (b) above can be a distance value to the viewer generated by the RGB-D camera 104.
[0053] If the distance from the smartphone 1 to the viewer is set to a predetermined value (e.g., empirically determined) and the screen orientation is set to a typical orientation when the terminal is held horizontally, it is possible to determine the "speaker orientation information" based only on the "orientation information" in (a) above. However, in this embodiment, by using the acquired "distance information" and also the "screen orientation information", a more accurate reproduction transfer function can be generated, and a better virtual sound generation process can be implemented. <Reproduction function generating means: reproduction transfer function generating process>
[0054] Also in the functional block diagram of FIG. 1, the reproduction function generator 113 uses the "speaker orientation information" determined as described above to generate a "reproduction transfer function" for reproduction by the left and right loudspeakers 106-1 and 106-2, such that the sound from these speakers is perceived as sound from the set virtual sound sources V1 and V2 by a viewer with their head oriented in a certain direction.
[0055] Specifically, in this embodiment, the reproduction function generating unit 113: (a) a “first head-related transfer function” that is set for each installed speaker (left and right loudspeakers 106-1 and 106-2 in FIG. 1 ) and is a function of the direction of the speaker from the listener’s head or ears (ears in this embodiment); and (b) A "second head-related transfer function" that is a function of the direction of the virtual sound source from the viewer's head or ear (the ear in this embodiment) set for each set virtual sound source (virtual sound sources V1 and V2 in FIG. 1). is determined based on the above-mentioned "speaker orientation information" and the "virtual sound source orientation information" described later, and a "reproduction transfer function" is generated using the determined "first head related transfer function" and "second head related transfer function".
[0056] Here, the "virtual sound source direction information" is direction information relating to the directions of the virtual sound sources V1 and V2 as seen from the left and right ears of the viewer (listener). In this embodiment, the listener information generating unit 113a generates the following in the same manner as the above-mentioned "speaker direction information": (a) “Orientation information” relating to the orientation of the head or face of the viewer (listener) relative to the smartphone 1 (including virtual sound sources V1 and V2 in this embodiment); (b) “Distance information” relating to the distance from the smartphone 1 (including the virtual sound sources V1 and V2 in this embodiment) to the viewer (listener), and (c) "Screen orientation information" (In this embodiment, this is information related to the angle that the long side direction vector and the short side direction vector in the screen make with the vertical axis) Based on this, the "virtual sound source direction information" is determined. Incidentally, in this embodiment, the intra-terminal position information relating to the respective positions of the virtual sound sources V1 and V2 set in the smartphone 1 is the very setting item and is naturally acquired, so hereafter, the "virtual sound source direction information" can be determined in the same manner as the above-mentioned "speaker direction information".
[0057] In this embodiment, the reproduction function generating unit 113 is set to generate a "reproduction transfer function" only when the "screen orientation information" acquired from the acceleration / gyro sensor unit 103 (or on-device API) satisfies a predetermined condition, for example, only when it is determined from the "screen orientation information" that "the smartphone 1 is tilted by a predetermined angle (for example, 45°) or more from the default vertically held state to the horizontally held state." This allows a "reproduction transfer function" to be generated for eliminating the discomfort caused by the mismatch between the position of a subject or representation captured from an image and the localization of a sound image captured from sound only when it is necessary to eliminate the discomfort, i.e., there is no need to embody an unnecessary virtual sound source.
[0058] Fig. 2 is a schematic diagram for explaining an embodiment of a reproduction function generation process according to the present invention. In the example shown in Fig. 2, the smartphone 1 is held horizontally, and the virtual sound sources V1 and V2 are set at positions in the smartphone 1 (positions aligned horizontally when the terminal is held horizontally) as shown in Fig. 2(B).
[0059] According to FIG. 2(A), in this embodiment, the listener information generating unit 113a: (a) Orientation information (θ HEAD , φ HEAD )and, (b) Distance information d generated by the RGB-D camera 104 HEAD and, (c) Screen orientation information generated by the acceleration / gyro sensor unit 103 (or acquired from an on-device API) Using the above calculation, (R1L) Speaker direction information (θ R1L , φ R1L ), (R1R) Speaker direction information (θ R1R , φ R1R ), (R2L) Speaker direction information (θ R2L , φ R2L ), (R2R) Speaker direction information (θ R2R , φ R2R ), (V1L) Direction information of virtual sound source V1 as seen from the viewer's left ear (θ V1L , φ V1L ), (V1R) Direction information of virtual sound source V1 as seen from the viewer's right ear (θ V1R , φ V1R ), (V2L) Direction information of virtual sound source V2 as seen from the viewer's left ear (θ V2L , φ V2L ), and (V2R) Direction information of virtual sound source V2 as seen from the viewer's right ear (θ V2R , φ V2R ) Determine.
[0060] Here, the orientation information θ HEAD and φ HEAD are θ and φ coordinate values in a terminal spherical coordinate system (with the RGB-D camera 104 position as the origin) fixed to the smartphone 1. Also, θ R** and φ R** , and virtual sound source direction information θ V** and φ V** are the θ and φ coordinate values in the listener's spherical coordinate system (FIG. 2) fixed to the listener (with the position of the corresponding ear as the origin).
[0061] Next, as shown in FIG. 2B, in this embodiment, the reproduction function generation unit 113 uses the head-related transfer function H(f, θ, φ) (which is determined by specifying the coordinate values (θ, φ) in the listener's spherical coordinate system) acquired and stored in advance, and calculates the following from the four speaker direction information and the four virtual sound source direction information that have been determined: (R1L) The first head-related transfer function HR, which is a function of the orientation of the left loudspeaker 106-1 as seen by the listener's left ear. 1L (f, θ R1L , φ R1L ), (R1R) The first head-related transfer function HR, which is a function of the orientation of the left loudspeaker 106-1 from the listener's right ear. 1R (f, θ R1R , φ R1R ), (R2L) The first head-related transfer function HR, which is a function of the orientation of the right loudspeaker 106-2 from the listener's left ear. 2L (f, θ R2L , φ R2L ), (R2R) The first head-related transfer function HR, which is a function of the orientation of the right loudspeaker 106-2 from the listener's right ear. 2R (f, θ R2R , φ R2R ), (V1L) The second head-related transfer function HV 1L (f, θ V1L , φ V1L ), (V1R) The second head-related transfer function HV 1R (f, θ V1R , φ V1R ), (V2L) The second head-related transfer function HV 2L (f, θ V2L , φ V2L ), and (V2R) The second head-related transfer function HV 2R (f, θ V2R , φ V2R ) Determine where f is the frequency (index).
[0062] In this way, the reproduction function generating unit 113 of the present embodiment takes into account the viewer's direction and calculates the viewer's direction information (θ HEAD , φ HEAD It is therefore possible to determine suitable first and second head-related transfer functions HR and HV that also incorporate the above-mentioned factors.
[0063] Returning to the functional block diagram of FIG. 1, the reproduction function generation unit 113 of this embodiment uses the determined four first head-related transfer functions HR of (R1L) to (R2R) and the determined four second head-related transfer functions HV of (V1L) to (V2R) to generate reproduction transfer functions (W 1L , W 1R , W 2L , W 2R Hereinafter, the left channel acoustic signal and the right channel acoustic signal that have been subjected to FFT processing and output from the acoustic signal adjustment unit 111 are respectively referred to as S L (f, t) and S R Let f be (f, t), where t is the (index of) time.
[0064] In this embodiment, the reproduction transfer function (W 1L , W 1R , W 2L , W 2R ) are convoluted with the left and right channel acoustic signals (S L , S R ) are output from the left and right loudspeakers 106-1 and 106-2, which are then used to generate the left and right channel acoustic signals (S L , S R ) is the same as the sound output from the virtual sound sources V1 and V2 that received the 1L , W 1R , W 2L , W 2R )
[0065] Specifically, this "condition" is expressed as follows:
number
[0066] Here, the regenerative transfer function (W 1L , W 1R , W 2L , W 2R ) from the above equation (1),
number
number
[0067] In this way, the reproduction function generating unit 113 of the present embodiment uses the above formula (3) expressing the above “condition” to determine, from the determined first head-related transfer function HR and second head-related transfer function HV, “the sound from the left and right loudspeakers 106-1 and 106-2 is directed toward the head (θ HEAD , φ HEAD The transfer function (W) that can make the sound perceived as coming from virtual sound sources V1 and V2 by the listener 1L , W 1R , W 2L , W 2R ) can be generated.
[0068] <Virtual signal generation means> In the functional block diagram of FIG. 1, the virtual signal generator 114 of this embodiment receives a reproduction transfer function (W 1L , W 1R , W 2L , W 2R ) to obtain the FFT-processed left and right channel acoustic signals (S L , S R ) to the left and right loudspeakers 106-1 and 106-2. L , S' R )
[0069] Specifically, the virtual acoustic signal (S' L , S' R ) is expressed as follows using a circuit (Figure 1) that realizes the "product" of the second "matrix" related to W and the third "matrix" related to S on the left side of the above equation (1). (4) S' L =FFT -1 [W 1L *S L +W 1R *S R ] (5) S' R =FFT -1 [W 2L *S L +W 2R *S R ] where FFT -1 [ ] is a function representing the inverse FFT (inverse fast Fourier transform) processing executed by the acoustic output adjustment unit 114a.
[0070] The virtual acoustic signal thus generated (S' L , S' R) to the left and right loudspeakers 106-1 and 106-2, respectively, and outputting sound, it is possible to embody sounds output from virtual sound sources V1 and V2 (set in positions aligned in the horizontal direction in the smartphone 1 held laterally in FIG. 1). In other words, in this embodiment, the left and right loudspeakers 106-1 and 106-2 can each be virtually displaced to a desired position (positions aligned in the horizontal direction).
[0071] In this embodiment, the FFT-processed left and right channel acoustic signals (S L , S R ) is a signal that is obtained by acquiring a window of a predetermined width of sound signal from the original sound signal while sequentially shifting the window by a predetermined shift amount chg_len, and then performing FFT processing on each signal acquired in this way. The virtual signal generator 114 of this embodiment calculates each of these sound signals (S L , S R ) is subjected to the processing (including the inverse FFT processing) expressed by the above equations (4) and (5), and each virtual acoustic signal (S' L , S' R ) are sequentially shifted by the shift amount chg_len and added (overlapped addition), and the resulting virtual sound signal is output to the left and right loudspeakers 106-1 and 106-2.
[0072] <Another embodiment of the virtual sound generation process> FIG. 3 is a schematic diagram showing another embodiment of the virtual sound generation processing according to the present invention.
[0073] In the smartphone 1 of the embodiment shown in Fig. 3(A), two virtual sound sources V1 and V2 are set as in the embodiment shown in Fig. 1, but unlike Fig. 1, an upper loudspeaker 106-3 is provided in addition to two left and right loudspeakers 106-1 and 106-2. Even when three or more loudspeakers (N (≧3)) are provided in this way, the reproduction function generating unit 113 (Fig. 1) can generate a reproduction transfer function, and the virtual signal generating unit 114 (Fig. 1) can generate a virtual acoustic signal that embodies the virtual sound sources V1 and V2 using N loudspeakers.
[0074] Specifically, the N left ear first head-related transfer functions (HR 1L , , HR NL ) and the N right ear first head-related transfer functions (HR 1R , , HR NR ) is determined, and then the following equation is used
number
number
[0075] Next, in the smartphone 1 of the embodiment shown in Fig. 3(B), left and right loudspeakers 106-1 and 106-2 and an upper loudspeaker 106-3 are provided, as in Fig. 3(A), and further, virtual sound sources V1S and V2S are set in addition to virtual sound sources V1 and V2. Here, in this case, the sound signals handled by the sound signal adjustment unit 111 (Fig. 1) are four sound signals for realizing surround sound, and the four virtual sound sources (V1, V2, V1S, V2S) are set at positions that are surroundings for the viewer.
[0076] Incidentally, all of these virtual sound sources (V1, V2, V1S, V2S) can also be set outside the smartphone 1. It is also possible to set three or five or more virtual sound sources. In any of these cases, the reproduction function generating unit 113 (FIG. 1) generates a reproduction transfer function suitable for the case, and the virtual signal generating unit 114 (FIG. 1) can generate virtual acoustic signals that embody multiple virtual sound sources using N loudspeakers.
[0077] Specifically, for example, four virtual sound sources (V1, V2, V1S, V2S) are set, and N first head-related transfer functions (HR 1L , , HR NL ) and the N right ear first head-related transfer functions (HR 1R , , HR NR ) is determined, and then the following equation is used
number
number
[0078] As explained above, by increasing the number of loudspeakers to which virtual sound signals are input, or by increasing the number of virtual sound sources that are set, it is possible to virtually embody a wide variety of sounds, or to achieve more accurate sound (closer to the design).
[0079] <Virtual sound generation method> 4 is a flowchart showing an embodiment of the virtual sound generation method according to the present invention. Each step in the flowchart will be described below. The virtual sound generation method according to the present embodiment is a method for the case where the smartphone 1 shown in FIG. 1 is used.
[0080] (S1) Information on the installation positions of the display (105) and loudspeakers (106-1, 106-2) is read. (S2) The capture and playback of multimedia data is started. Specifically, in this embodiment, audio signal portions of a predetermined window are sequentially extracted from the audio signal of the multimedia data, and the extracted audio signal portions are sequentially captured to perform the processes of steps S3 to S8.
[0081] (S3) The screen orientation information of the display (105) is acquired from the on-device API. (S4) Using the captured screen orientation information, it is determined whether or not to set a virtual sound source, i.e., whether the smartphone 1 is held horizontally or vertically. If it is determined that a virtual sound source is not to be set (the terminal is held vertically), the process proceeds to step S8, which will be described later. On the other hand, if it is determined that a virtual sound source is to be set (the terminal is held horizontally), the virtual sound source (V1, V2) is set, and the process proceeds to the next step S5.
[0082] (S5) Information on the direction and distance of the viewer's head is captured. (S6) A first head-related transfer function HR and a second head-related transfer function HV are determined from the captured direction information, distance information, and screen direction information. (S7) A reproduction transfer function W is generated using the determined first head-related transfer function HR and second head-related transfer function HV. (S8) A virtual sound signal is generated using the generated reproduction transfer function W, and the captured sound signal is reproduced (sound is output from the loudspeakers (106-1, 106-2)). If it is determined in step S4 that a virtual sound source is not to be set (the terminal is held vertically), the sound signal extracted from the multimedia data is reproduced. Incidentally, in conjunction with the reproduction of the sound signal, the corresponding video signal portion in the multimedia data is also reproduced here.
[0083] (S9) Steps S3 to S8 are repeated until the import of the multimedia data is completed. When the import and playback of the multimedia data is completed, the virtual sound generation method is terminated.
[0084] As described above in detail, according to the present invention, it is possible to generate sound signals of a plurality of virtual sound sources set according to a plurality of input sound signals while taking into consideration the orientation of the listener, and to realize the sound output from these virtual sound sources by the provided loudspeakers. This also makes it possible to avoid a situation where, for example, in the playback of multimedia content, a listener with his / her head facing a certain direction feels a sense of discomfort (sense of audiovisual disintegration) due to the position of a subject or a representation captured from an image (video) not matching with the position of a sound image captured from the simultaneously output sound.
[0085] In addition, for example, children and students not only in urban areas but also in rural areas can enjoy the playback of multimedia teaching materials with less awkwardness using, for example, tablet terminals or smartphones, which are virtual sound realization devices according to the present invention. This also makes it possible to realize higher quality online classes. In other words, according to the present invention, it is possible to contribute to Goal 4 of the Sustainable Development Goals (SDGs) led by the United Nations, "Ensure inclusive and equitable quality education and promote lifelong learning opportunities for all."
[0086] Furthermore, adults in not only urban areas but also rural areas can enjoy the playback of multimedia digital materials with less awkwardness using, for example, tablet terminals or smartphones, which are virtual sound realization devices according to the present invention. This also makes it possible to make online business meetings more efficient and of higher quality. In other words, according to the present invention, it is possible to contribute to Goal 8 of the United Nations-led SDGs, "Promote inclusive and sustainable economic growth, employment and decent work for all."
[0087] Regarding the various embodiments of the present invention described above, various changes, modifications, and omissions within the scope of the technical idea and perspective of the present invention can be easily made by those skilled in the art. The above description is merely an example and is not intended to be restrictive in any way. The present invention is limited only by the scope of the claims and their equivalents. [Explanation of symbols]
[0088] 1. Smartphone (virtual sound realization device) 101 Communication interface section 102 Multimedia (MM) Content Storage Unit 103 Acceleration / Gyro Sensor Unit 104 RGB-D Camera 105 Touch Panel Display 106-1 Left loudspeaker 106-2 Right loudspeaker 111 Sound signal adjustment section 111a Judgment part 112 Video signal adjustment section 113 Regeneration function generator 113a Listener information generation section 114 Virtual signal generator 114a Sound output adjustment section 121 Communication control section 122 Video output adjustment section
Claims
1. A virtual sound generating program for generating virtual sound signals for implementing sounds output from a plurality of virtual sound sources set according to a plurality of input sound signals, a reproduction function generating means for generating a reproduction transfer function for reproduction by a plurality of installed speakers, the reproduction transfer function being such that a listener with his / her head oriented in a certain direction perceives the sound from the speakers as sound from the virtual sound source, using the head related transfer function of the listener, based on obtained direction information relating to the direction of the listener's head or face relative to the speakers or a device including the speakers; a virtual signal generating means for generating, from the acoustic signal, the virtual acoustic signal to be input to the speaker, using the reproduction transfer function; A virtual sound generation program for causing a computer to function as described above.
2. The virtual sound generation program according to claim 1, characterized in that the reproduction function generation means determines a first head transfer function, which is a function of the orientation of the speaker as seen from the listener's head or ear and is set for each speaker, and a second head transfer function, which is a function of the orientation of the virtual sound source as seen from the listener's head or ear and is set for each virtual sound source, based on the obtained orientation information, and generates the reproduction transfer function using the determined first head transfer function and second head transfer function.
3. the plurality of speakers are installed in a device having a screen capable of displaying a video or image according to a video or image signal input in accordance with the audio signal; The plurality of virtual sound sources are set in the device along directions in the video or image displayed on the screen, the directions being along the arrangement directions of the plurality of sound sources assumed in the plurality of acoustic signals.
3. The virtual sound generation program according to claim 1 or 2.
4. the plurality of speakers are arranged along a lateral direction within the device in a default position; When the device is tilted 90 degrees from a default position within a plane including the screen, the video or image is displayed on the screen in a state rotated 90 degrees in the opposite direction to the tilt of the device, The plurality of virtual sound sources are set in the device along a direction in the video or image rotated by 90 degrees and along a direction in which the plurality of virtual sound sources are assumed to be arranged.
4. The virtual sound generation program according to claim 3.
5. The device further includes a camera capable of generating image information including the listener and distance information relating to a distance to the listener; The reproduction function generating means determines speaker direction information relating to the direction of the speaker as seen from the ear of the listener, based on the distance information and the direction information determined from the image information, and generates the reproduction transfer function based on the speaker direction information.
4. The virtual sound generation program according to claim 3.
6. The device further comprises an orientation sensor capable of generating screen orientation information related to an orientation of the screen; The reproduction function generating means determines the speaker orientation information based on the screen orientation information.
6. The virtual sound generation program according to claim 5.
7. The device further comprises an orientation sensor capable of generating screen orientation information related to an orientation of the screen; The reproduction function generating means generates the reproduction transfer function only when the screen orientation information satisfies a predetermined condition.
4. The virtual sound generation program according to claim 3.
8. 3. The virtual sound generation program according to claim 1, wherein the plurality of acoustic signals are acoustic signals for realizing surround sound, and the plurality of virtual sound sources are set at positions that are surroundings for the listener.
9. A virtual sound realization device for realizing sounds output from a plurality of virtual sound sources set according to a plurality of input sound signals, A plurality of speakers; a reproduction function generating means for generating a reproduction transfer function for reproduction by the plurality of speakers, the reproduction transfer function being such that a listener with his / her head facing a certain direction perceives the sound from the speakers as sound from the virtual sound source, by using the head related transfer function of the listener, based on obtained direction information relating to the direction of the listener's head or face with respect to the speakers or a device including the speakers; a virtual signal generating means for generating, from the acoustic signal, the virtual acoustic signal to be input to the speaker, using the reproduction transfer function; having The plurality of speakers receive the virtual sound signal as an input and output sounds related to the sounds output from the plurality of virtual sound sources. A virtual sound realization device.
10. a screen capable of displaying a video or image according to a video or image signal input in accordance with the audio signal; The plurality of virtual sound sources are set in the device along directions in the video or image displayed on the screen, the directions being along the arrangement directions of the plurality of sound sources assumed in the plurality of acoustic signals. The virtual sound realization device according to claim 9 .
11. Further comprising a camera capable of generating image information including the listener and distance information relating to the distance to the listener, The reproduction function generating means determines speaker direction information relating to the direction of the speaker as seen from the ear of the listener, based on the distance information and the direction information, and generates the reproduction transfer function based on the speaker direction information.
11. The virtual sound realization device according to claim 9 or 10.
12. A virtual sound realization system that realizes sounds output from a plurality of virtual sound sources set according to a plurality of input sound signals, A plurality of speakers; a reproduction function generating means for generating a reproduction transfer function for reproduction by the plurality of speakers, the reproduction transfer function being such that a listener with his / her head facing a certain direction perceives the sound from the speakers as sound from the virtual sound source, by using the head related transfer function of the listener, based on obtained direction information relating to the direction of the listener's head or face with respect to the speakers or a device including the speakers; a virtual signal generating means for generating, from the acoustic signal, the virtual acoustic signal to be input to the speaker, using the reproduction transfer function; having The plurality of speakers receive the virtual sound signal as an input and output sounds related to the sounds output from the plurality of virtual sound sources. A virtual sound realization system comprising:
13. A virtual sound generating method for generating virtual sound signals for implementing sounds output from a plurality of virtual sound sources set according to a plurality of input sound signals, comprising: generating a reproduction transfer function for reproduction by a plurality of installed speakers, the reproduction transfer function being such that a listener with his / her head oriented in a certain direction perceives the sound from the speakers as sound from the virtual sound source, using the head related transfer function of the listener, based on the obtained orientation information relating to the orientation of the listener's head or face relative to the speakers or a device including the speakers; generating, from the acoustic signal, the virtual acoustic signal to be input to the speaker using the reproduction transfer function; 1. A computer-implemented method for generating virtual sounds, comprising:
Citation Information
Patent Citations
Multimedia device and program
JP2015070324A
Using face detection to update user interface orientation
US20200104033A1
Sound field control device, sound field control method, program, sound field control system, and server
WO2013105413A1
Portable terminal
JP2003078601A
Mobile terminal, stereo reproducing method, and stereo reproducing program
JP2006174277A
