METHOD FOR PROVIDING A SPATIALIZED SOUNDFIELD
20240267700 ยท 2024-08-08
Inventors
Cpc classification
H04S7/305
ELECTRICITY
H04S2420/01
ELECTRICITY
H04S2420/13
ELECTRICITY
H04S7/308
ELECTRICITY
H04S2400/11
ELECTRICITY
H04R2201/405
ELECTRICITY
H04S7/301
ELECTRICITY
H04R2203/12
ELECTRICITY
International classification
Abstract
A signal processing system and method for delivering spatialized sound by optimizing sound waveforms from a sparse array of speakers to the cars of a user. The system can provide listening areas within a room or space, to provide spatialization sounds to create a 3D audio effect. In a binaural mode, a binary speaker array provides targeted beams aimed towards a user's cars.
Claims
1. A spatialized audio processor, comprising: an input port configured to receive an audio signal; at least one automated processor, configured to: determine a spatial relationship between a listener's ears and a real speaker array comprising a plurality of emissive elements; spatially filter the received audio signal to generate a virtual spatial array of virtual audio signals representing spatialized audio, having a larger number of virtual audio signals than a number of the emissive elements of the real speaker array; and map the virtual audio signals to respective emissive elements of the real speaker array, comprising control over an amplitude and delay of at least a subset of the plurality of the virtual audio signals to respective emissive elements of the real speaker array, to produce transducer signals; and an output port configured to convey the transducer signals for the plurality of emissive elements.
2. The spatial audio processor according to claim 1, wherein the received audio signal comprises a stereo audio signal.
3. The spatial audio processor according to claim 1, wherein mapped plurality of virtual audio signals are time-offset based on at least an estimated time difference of arrival at the listener's ears.
4. The spatial audio processor according to claim 1, wherein the received audio signal comprises sounds in a plurality of channels dependent on spatial relationships associated with distinct objects.
5. The spatial audio processor according to claim 1, wherein the at least one automated processor is further configured to predict an audible distortion of the audio signal represented in the transducer signals.
6. The spatial audio processor according to claim 5, wherein the at least one automated processor is further configured to selectively alter the delay of at least one virtual audio signal dependent on the predicted audible distortion.
7. The spatial audio processor according to claim 1, wherein the virtual spatial array of virtual audio signals comprises at least 12 virtual audio signals, and the real speaker array comprises between 2 and 6 emissive elements.
8. The spatial audio processor according to claim 1, wherein the virtual spatial array of virtual audio signals comprises two non-overlapping groups of 6 adjacent virtual audio signals, which are respectively mapped to define 2 transducer signals for two emissive elements.
9. The spatial audio processor according to claim 1, further comprising amplifiers configured to drive the emissive elements of the real speaker array from the transducer signals.
10. The spatial audio processor according to claim 1, wherein the audio signal is received in conjunction with a video signal associated with the audio signal.
11. The spatial audio processor according to claim 1, wherein each emissive element is mapped to a non-overlapping subset of the virtual spatial array of virtual audio signals with respect to the other emissive elements.
12. The spatial audio processor according to claim 1, wherein the at least one automated processor is further configured to cancel cross-talk.
13. The spatial audio processor according to claim 1, wherein the at least one automated processor is further configured to convolve ***** with a head related transfer function.
14. The spatial audio processor according to claim 1, wherein the at least one automated processor is configured to track a movement of the listener's ears over time.
15. A spatialized audio method, comprising: receiving an audio signal; determining a spatial relationship between a listener's ears and a real speaker array comprising a plurality of emissive elements; spatially filtering the received audio signal to generate a virtual spatial array of virtual audio signals representing spatialized audio, having a larger number of virtual audio signals than a number of the emissive elements of the real speaker array; mapping the virtual audio signals to respective emissive elements of the real speaker array, comprising control over an amplitude and delay of at least a subset of the plurality of the virtual audio signals to respective emissive elements of the real speaker array, to produce transducer signals; and outputting the transducer signals for the plurality of emissive elements.
16. The spatialized audio method according to claim 15, further comprising performing a head related transfer function convolution.
17. The spatialized audio method according to claim 15, further comprising combining a plurality of the virtual audio signals into a transducer signal for each of the plurality of emissive elements.
18. The spatialized audio method according to claim 15, further analyzing the transducer signals for peaks associated with a predicted amplitude-related distortion by a respective emissive element, and modifying the mapping of the virtual audio signals to reduce the predicted amplitude-related distortion by the respective emissive element.
19. A computer readable medium storing non-transitory instructions for controlling a programmable processor to spatialize audio, comprising: instructions for spatially filtering a received audio signal to generate a virtual spatial array of virtual audio signals representing spatialized audio, having a larger number of virtual audio signals than a number of the emissive elements of the real speaker array; instructions for mapping the virtual audio signals to respective emissive elements of the real speaker array, comprising control over an amplitude and delay of at least a subset of the plurality of the virtual audio signals to respective emissive elements of the real speaker array, to produce transducer signals; and instructions for modifying the mapping dependent on a predicted distortion by the real speaker array.
20. The computer readable medium according to claim 19, wherein the mapping is selectively dependent on an estimated time difference of arrival of sounds represented in the received audio signal at the ears of a listener.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0222]
[0223]
[0224]
[0225]
[0226]
[0227]
[0228]
[0229]
[0230]
[0231]
[0232]
[0233]
[0234]
[0235]
[0236]
DETAILED DESCRIPTION
[0237] In binaural mode, the speaker array provides two sound outputs aimed towards the primary listener's cars. The inverse filter design method comes from a mathematical simulation in which a speaker array model approximating the real-world is created and virtual microphones are placed throughout the target sound field. A target function across these virtual microphones is created or requested. Solving the inverse problem using regularization, stable and realizable inverse filters are created for each speaker element in the array. The source signals are convolved with these inverse filters for each array element.
[0238] In a second beamforming, or wave field synthesis (WFS), mode, the transform processor array provides sound signals representing multiple discrete sources to separate physical locations in the same general area. Masking signals may also be dynamically adjusted in amplitude and time to provide optimized masking and lack of intelligibility of listener's signal of interest.
[0239] The WFS mode also uses inverse filters. Instead of aiming just two beams at the listener's cars, this mode uses multiple beams aimed or steered to different locations around the array.
[0240] The technology involves a digital signal processing (DSP) strategy that allows for the both binaural rendering and WFS/sound beamforming, either separately or simultaneously in combination. As noted above, the virtual spatialization is then combined for a small number of physical transducers, e.g., 2 or 4.
[0241] For both binaural and WFS mode, the signal to be reproduced is processed by filtering it through a set of digital filters. These filters may be generated by numerically solving an electro-acoustical inverse problem. The specific parameters of the specific inverse problem to be solved are described below. In general, however, the digital filter design is based on the principle of minimizing, in the least squares sense, a cost function of the type J=E+?V
[0242] The cost function is a sum of two terms: a performance error E, which measures how well the desired signals are reproduced at the target points, and an effort penalty BV, which is a quantity proportional to the total power that is input to all the loudspeakers. The positive real number ? is a regularization parameter that determines how much weight to assign to the effort term. Note that, according to the present implementation, the cost function may be applied after the summing, and optionally after the limiter/peak abatement function is performed.
[0243] By varying B from zero to infinity, the solution changes gradually from minimizing the performance error only to minimizing the effort cost only. In practice, this regularization works by limiting the power output from the loudspeakers at frequencies at which the inversion problem is ill-conditioned. This is achieved without affecting the performance of the system at frequencies at which the inversion problem is well-conditioned. In this way, it is possible to prevent sharp peaks in the spectrum of the reproduced sound. If necessary, a frequency dependent regularization parameter can be used to attenuate peaks selectively.
Wave Field Synthesis/Beamforming Mode
[0244] WFS sound signals are generated for a linear array of virtual speakers, which define several separated sound beams. In WFS mode operation, different source content from the loudspeaker array can be steered to different angles by using narrow beams to minimize leakage to adjacent areas during listening. As shown in
[0245] When the virtual speaker signals are combined, a significant portion of the spatial sound cancellation ability is lost; however, it is at least theoretically possible to optimize the sound at each of the listener's cars for the direct (i.e., non-reflected) sound path.
[0246] In the WFS mode, the array provides multiple discrete source signals. For example, three people could be positioned around the array listening to three distinct sources with little interference from each others' signals.
[0247] The WFS mode signals are generated through the DSP chain as shown in
[0248]
[0249] An M?N matrix H(f) is computed, which represents the electro-acoustical transfer function between each loudspeaker of the array and each control point, as a function of the frequency f, where H.sub.p,l corresponds to the transfer function between the l.sup.th speaker (of N speakers) and the p.sup.th control point 92. These transfer functions can either be measured or defined analytically from an acoustic radiation model of the loudspeaker. One example of a model is given by an acoustical monopole, given by the following equation:
[0250] where c is the speed of sound propagation, f is the frequency and r.sub.p,l is the distance between the l.sup.th loudspeaker and the p.sup.th control point.
[0251] Instead of correcting for time delays after the array signals are fully defined, it is also possible to use the correct speaker location while generating the signal, to avoid reworking the signal definition.
[0252] A more advanced analytical radiation model for each loudspeaker may be obtained by a multipole expansion, as is known in the art. (See, e.g., V. Rokhlin, Diagonal forms of translation operators for the Helmholtz equation in three dimensions, Applied and Computations Harmonic Analysis, 1:82-93, 1993.)
[0253] A vector p(f) is defined with M elements representing the target sound field at the locations identified by the control points 92 and as a function of the frequency f. There are several choices of the target field. One possibility is to assign the value of 1 to the control point(s) that identify the direction(s) of the desired sound beam(s) and zero to all other control points.
[0254] The digital filter coefficients are defined in the frequency (f) domain or digital-sampled (z)-domain and are the N elements of the vector a(f) or a(z), which is the output of the filter computation algorithm. The filer may have different topologies, such as FIR, IIR, or other types. The vector a is computed by solving, for each frequency f or sample parameter z, a linear optimization problem that minimizes e.g., the following cost function
[0255] The symbol ? . . . ? indicates the L.sup.2 norm of a vector, and ? is a regularization parameter, whose value can be defined by the designer. Standard optimization algorithms can be used to numerically solve the problem above.
[0256] Referring now to
[0257] For each sound source 102, the input signal is filtered through a set of N digital filters 104, with one digital filter 104 for each loudspeaker of the array. These digital filters 104 are referred to as spatialization filters, which are generated by the algorithm disclosed above and vary as a function of the location of the listener(s) and/or of the intended direction of the sound beam to be generated.
[0258] The digital filters may be implemented as finite impulse response (FIR) filters; however, greater efficiency and better modelling of response may be achieved using other filter topologies, such as infinite impulse response (IIR) filters, which employ feedback or re-entrancy. The filters may be implemented in a traditional DSP architecture, or within a graphic processing unit (GPU, developer.nvidia.com/vrworks-audio-sdk-depth) or audio processing unit (APU, www.nvidia.com/en-us/drivers/apu/). Advantageously, the acoustic processing algorithm is presented as a ray tracing, transparency, and scattering model.
[0259] For each sound source 102, the audio signal filtered through the nth digital filter 104 (i.e., corresponding to the n.sup.th loudspeaker) is summed at combiner 106 with the audio signals corresponding to the different audio sources 102 but to the same n.sup.th loudspeaker. The summed signals are then output to loudspeaker array 108.
[0260]
[0261] The PBEP 112 allows the listener to perceive sound information contained in the lower part of the audio spectrum by generating higher frequency sound material, providing the perception of lower frequencies using higher frequency sound). Since the PBE processing is non-linear, it is important that it comes before the spatialization filters 104. If the non-linear PBEP block 112 is inserted after the spatial filters, its effect could severely degrade the creation of the sound beam.
[0262] It is important to emphasize that the PBEP 112 is used in order to compensate (psycho-acoustically) for the poor directionality of the loudspeaker array at lower frequencies rather than compensating for the poor bass response of single loudspeakers themselves, as is normally done in prior art applications.
[0263] The DRCE 114 in the DSP chain provides loudness matching of the source signals so that adequate relative masking of the output signals of the array 108 is preserved. In the binaural rendering mode, the DRCE used is a 2-channel block which makes the same loudness corrections to both incoming channels.
[0264] As with the PBEP block 112, because the DRCE 114 processing is non-linear, it is important that it comes before the spatialization filters 104. If the non-linear DRCE block 114 were to be inserted after the spatial filters 104, its effect could severely degrade the creation of the sound beam. However, without this DSP block, psychoacoustic performance of the DSP chain and array may decrease as well.
[0265] Another optional component is a listener tracking device (LTD) 116, which allows the apparatus to receive information on the location of the listener(s) and to dynamically adapt the spatialization filters in real time. The LTD 116 may be a video tracking system which detects the listener's head movements or can be another type of motion sensing system as is known in the art. The LTD 116 generates a listener tracking signal which is input into a filter computation algorithm 118. The adaptation can be achieved either by re-calculating the digital filters in real time or by loading a different set of filters from a pre-computed database. Alternate user localization includes radar (e.g., heartbeat) or lidar tracking RFID/NFC tracking, breathsounds, etc.
[0266]
Binaural Mode
[0267] The DSP for the binaural mode involves the convolution of the audio signal to be reproduced with a set of digital filters representing a Head-Related Transfer Function (HRTF).
[0268]
[0269]
[0270] The binaural mode signal processing chain, shown in
[0271] In the binaural mode, the invention generates sound signals feeding a virtual linear array. The virtual linear array signals are combined into speaker driver signals. The speakers provide two sound beams aimed towards the primary listener's earsone beam for the left ear and one beam for the right ear.
[0272]
[0273] As described with reference to
[0274] For each sound source 32, the input signal is filtered through two digital filters 34 (HRTF-L and HRTF-R) representing a left and right Head-Related Transfer Function, calculated for the angle at which the given sound source 32 is intended to be rendered to the listener. For example, the voice of a talker can be rendered as a plane wave arriving from 30 degrees to the right of the listener. The HRTF filters 34 can be either taken from a database or can be computed in real time using a binaural processor. After the HRTF filtering, the processed signals corresponding to different sound sources but to the same ear (left or right), are merged together at combiner 35 This generates two signals, hereafter referred to as total binaural signal-left, or TBS-L and total binaural signal-right or TBS-R respectively.
[0275] Each of the two total binaural signals, TBS-L and TBS-R, is filtered through a set of N digital filters 36, one for each loudspeaker, computed using the algorithm disclosed below. These filters are referred to as spatialization filters. It is emphasized for clarity that the set of spatialization filters for the right total binaural signal is different from the set for the left total binaural signal.
[0276] The filtered signals corresponding to the same nth virtual speaker but for two different cars (left and right) are summed together at combiners 37. These are the virtual speaker signals, which feed the combiner system, which in turn feed the physical speaker array 38.
[0277] The algorithm for the computation of the spatialization filters 36 for the binaural modality is analogous to that used for the WFS modality described above. The main difference from the WFS case is that only two control points are used in the binaural mode. These control points correspond to the location of the listener's cars and are arranged as shown in
[0278] The 2?N matrix H(/) is computed using elements of the electro-acoustical transfer functions between each loudspeaker and each control point, as a function of the frequency f. These transfer functions can be either measured or computed analytically, as discussed above. A 2-element vector p is defined. This vector can be either [1,0] or [0,1], depending on whether the spatialization filters are computed for the left or right ear, respectively. The filter coefficients for the given frequency f are the N elements of the vector a(f) computed by minimizing the following cost function
[0279] If multiple solutions are possible, the solution is chosen that corresponds to the minimum value of the L.sup.2 norm of a(f).
[0280]
[0281] It is important to emphasize that the PBEP 52 is used in order to compensate (psycho-acoustically) for the poor directionality of the loudspeaker array at lower frequencies rather than compensating for the poor bass response of single loudspeakers themselves.
[0282] The DRCE 54 in the DSP chain provides loudness matching of the source signals so that adequate relative masking of the output signals of the array 38 is preserved. In the binaural rendering mode, the DRCE used is a 2-channel block which makes the same loudness corrections to both incoming channels.
[0283] As with the PBEP block 52, because the DRCE 54 processing is non-linear, it is important that it comes before the spatialization filters 36. If the non-linear DRCE block 54 were to be inserted after the spatial filters 36, its effect could severely degrade the creation of the sound beam. However, without this DSP block, psychoacoustic performance of the DSP chain and array may decrease as well.
[0284] Another optional component is a listener tracking device (LTD) 56, which allows the apparatus to receive information on the location of the listener(s) and to dynamically adapt the spatialization filters in real time. The LTD 56 may be a video tracking system which detects the listener's head movements or can be another type of motion sensing system as is known in the art. The LTD 56 generates a listener tracking signal which is input into a filter computation algorithm 58. The adaptation can be achieved either by re-calculating the digital filters in real time or by loading a different set of filters from a pre-computed database.
[0285]
[0286] WFS and binaural mode processing can be combined into a single device to produce total sound field control. Such an approach would combine the benefits of directing a selected sound beam to a targeted listener, e.g., for privacy or enhanced intelligibility, and separately controlling the mixture of sound that is delivered to the listener's ears to produce surround sound. The device could process audio using binaural mode or WFS mode in the alternative or in combination. Although not specifically illustrated herein, the use of both the WFS and binaural modes would be represented by the block diagrams of
Example
[0287] A 12-channel spatialized virtual audio array is implemented in accordance with U.S. Pat. No. 9,578,440. This virtual array provides signals for driving a linear or curvilinear equally-spaced array of e.g., 12 speakers situated in front of a listener. The virtual array is divided into two or four. In the case of two, the left e.g., 6 signals are directed to the left physical speaker, and the right e.g., 6 signals are directed to the right physical speaker. The virtual signals are to be summed, with at least two intermediate processing steps.
[0288] The first intermediate processing step compensates for the time difference between the nominal location of the virtual speaker and the physical location of the speaker transducer. For example, the virtual speaker closest to the listener is assigned a reference delay, and the further virtual speakers are assigned increasing delays. In a typical case, the virtual array is situated such that the time differences for adjacent virtual speakers are incrementally varying, though a more rigorous analysis may be implemented. At a 48 KHz sampling rate, the difference between the nearest and furthest virtual speaker may be, e.g., 4 cycles.
[0289] The second intermediate processing step limits the peaks of the signal, in order to avoid over-driving the physical speaker or causing significant distortion. This limiting may be frequency selective, so only a frequency band is affected by the process. This step should be performed after the delay compensation. For example, a compander may be employed. Alternately, presuming only rare peaking, a simple limited may be employed. In other cases, a more complex peak abatement technology may be employed, such as a phase shift of one or more of the channels, typically based on a predicted peaking of the signals which are delayed slightly from their real-time presentation. Note that this phase shift alters the first intermediate processing step time delay; however, when the physical limit of the system is reached, a compromise is necessary.
[0290] With a virtual line array of 12 speakers, and 2 physical speakers, the physical speaker locations are between elements 3-4 and 9-10. If (s) is the center-to-center distance between speakers, then the distance from the center of the array to the center of each real speaker is: A=3s. The left speaker is offset ?A from the center, and the right speaker is offset A.
[0291] The second intermediate processing step is principally a downmix of the six virtual channels, with a limiter and/or compressor or other process to provide peak abatement, applied to prevent saturation or clipping. For example, the left channel is:
and the right channel is
[0292] Before the downmix, the difference in delays between the virtual speakers and the listener's cars, compared to the physical speaker transducer and the listener's cars, need to be taken into account. This delay can be significant particularly at higher frequencies, since the ratio of the length of the virtual speaker array to the wavelength of the sound increases. To calculate the distance from the listener to each virtual speaker, assume that the speaker, n, is numbered 1 to 6, where 1 is the speaker closest to the center, and 6 is the farthest from center. The distance from the center of the array to the speaker is: d=((n?1)+0.5)*s. Using the Pythagorean theorem, the distance from the speaker to the listener can be calculated as follows:
[0293] The distance from the real speaker to the listener is
[0294] The sample delay for each speaker can be calculated by the different between the two listener distances. This can them be converted to samples (assuming the speed of sound is 343 m/s and the sample rate is 48 KHz.
[0295] This can lead to a significant delay between listener distances. For example, if the virtual array inter-speaker distance is 38 mm, and the listener is 500 mm from the array, the delay from the virtual far-left speaker (n=6) to the real speaker is:
[0296] At higher audio frequencies, i.e., 12 kHz an entire wave cycle is 4 samples, to the difference amounts to a 360? phase shift. See Table 1.
[0297] Thus, when combining the signals for the virtual speakers into the physical speaker signal, the time offset is preferably compensated based on the displacement of the virtual speaker from the physical one. The time offset may also be accomplished within the spatialization algorithm, rather than as a post-process.
[0298] The invention can be implemented in software, hardware or a combination of hardware and software. The invention can also be embodied as computer readable code on a computer readable medium. The computer readable medium can be any data storage device that can store data which can thereafter be read by a computing device. Examples of the computer readable medium include read-only memory, random-access memory, CD-ROMs, magnetic tape, optical data storage devices, and carrier waves. The computer readable medium can also be distributed over network-coupled computer systems so that the computer readable code is stored and executed in a distributed fashion.
[0299] The many features and advantages of the present invention are apparent from the written description and, thus, it is intended by the appended claims to cover all such features and advantages of the invention. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and operation as illustrated and described. Hence, all suitable modifications and equivalents may be resorted to as falling within the scope of the invention.