A method, device and storage medium for dynamic binaural sound playback of multiple virtual sources
The head-related impulse response data of the virtual source is decomposed into independent modes through tensor decomposition technology, and the use of a common convolver is realized, which solves the problems of low virtual source signal processing efficiency and large storage space, and improves the virtual binaural sound weight. system performance and stability.
Patent Information
- Application Number
- CN202210739806.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-06-28
AI Technical Summary
When the existing technology generates multiple virtual sources, the signal processing efficiency is low, the storage space is occupied, and the dynamic processing is prone to audible defects.
The tensor decomposition method is used to decompose the minimum phase near-field head-related impulse response data into independent modes related to distance, direction and time, and obtain a common convolver or filter, which realizes the direction and distance control of the virtual source by dynamically adjusting the weights. .
It significantly reduces the computational load and storage space requirements, improves signal processing efficiency, improves the performance of the dynamic virtual binaural sound playback system, and avoids audible defects that may be caused by real-time update filters in traditional methods.
Smart Images

Figure CN115209336B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of virtual reality and electroacoustic technology, and in particular to a method, device and storage medium for reproducing dynamic binaural sounds of multiple virtual sources. Background Art
[0002] Dynamic binaural sound reproduction is a spatial sound reproduction technology that generates virtual sources at different spatial locations in headphone reproduction by processing binaural signals generated by synthesized sound sources and their changes with head movement. Dynamic binaural sound can reproduce the spatial information of the target sound field and give the listener a real spatial auditory perception. Dynamic binaural reproduction has important application prospects in virtual and augmented reality (AR / AR), communications, and various handheld playback devices.
[0003] In a natural acoustic environment, the sound waves radiated by the sound source are transmitted through the path of direct sound and various environmental boundary reflections and scattering, and are scattered by physiological structures such as the head and auricle before being transmitted to the two ears, forming binaural sound signals. When the head moves during listening, the binaural sound signals also change accordingly. The changes in binaural sound signals with the movement of the head contain the temporal and spatial information of the sound source and the environment. After being processed by the auditory system, they form various corresponding spatial auditory events, such as sound source localization and auditory perception of the acoustic environment. Any complex sound field can be equivalent to the superposition of sound fields generated by multiple free-field sound sources in different directions and distances. Therefore, generating virtual sources in different directions and distances is a basic requirement for dynamic binaural playback technology.
[0004] In binaural playback, the traditional method of generating virtual sources is to use the head-related transfer function (HRTF) for frequency domain filtering, or equivalently, to use the head-related impulse response (HRIR) for time domain convolution. Assume that the spatial position of the target virtual source relative to the center of the listener's head is represented by spherical coordinates (r, θ, φ), where r is the distance from the sound source to the center of the head; –90°≤φ≤90° and 0°≤θ<360° represent the elevation angle and azimuth angle, respectively: φ=0° and 90° represent the horizontal plane and directly above, respectively; in the horizontal plane, θ=0° and 90° represent directly in front and directly to the right, respectively. Then the time domain signal e0(t) of the left or right ear can be convolved with the input signal e0(t) using the HRIR h(r, θ, φ, t) of the target sound source position to obtain:
[0005]
[0006] The factors 1 / r and τ1(r) simulate the amplitude attenuation and delay of the sound wave from the free field point source to the receiving position, respectively. When the head tracker detects the listener's head movement, the system refreshes the HRIR of formula (1) in real time to generate dynamically changing binaural signals. When the binaural signals are replayed with a pair of headphones, virtual sources with different target directions and distances can be generated.
[0007] The above-mentioned traditional method of generating virtual sources has the following disadvantages:
[0008] (1) Each virtual source requires an independent HRIR convolution, or a corresponding HRTF filter. The number of convolution operations increases linearly with the number of virtual sources, so the signal processing efficiency of generating multiple virtual sources at the same time is low.
[0009] (2) The system needs to store a near-field HRIR database with high spatial resolution, which takes up a very large storage space.
[0010] (3) Dynamic processing requires refreshing the head-related impulse response, which can easily cause audible defects. Summary of the invention
[0011] In order to solve at least one of the technical problems existing in the prior art to a certain extent, the present invention aims to provide a method, device and storage medium for dynamic binaural sound playback of multiple virtual sources.
[0012] The technical solution adopted by the present invention is:
[0013] A method for reproducing multiple virtual source dynamic binaural sounds, comprising the following steps:
[0014] S1. By using the tensor decomposition method, the relevant impulse response data of the minimum phase near-field head at different directions and distances are decomposed into three independent modes related to distance, direction and time and the inner product of the core tensor;
[0015] S2. Based on a finite number of time-dependent eigenmodes, derive impulse responses of a finite number of N" common convolvers or equivalent common filter transfer functions;
[0016] S3, the preset virtual source input signal is delayed by a time delay τ(d,m) related to the distance and direction, and the gain 1 / r related to the distance is used d To scale;
[0017] S4, multiply the preset virtual source signal by a finite number of N" weights c n ', with N" impulse responses as u n ',n'=1,2…N" public convolver for convolution or equivalently N" public filters for filtering;
[0018] S5, summing the outputs of N" convolutions to obtain a signal of a specific virtual source and a specific ear;
[0019] S6. When the listener's head turns or the virtual source moves, the weight c is dynamically updated according to the direction and distance of the virtual source relative to the listener. n ';
[0020] S7, processing each virtual source and specific ear signal according to steps S3 to S6 to obtain all virtual source and specific ear signals;
[0021] S8. The signal of each ear is independently generated according to step S3 to step S6, and finally binaural signals are obtained, that is, the signals of the left ear and the right ear are obtained respectively.
[0022] Furthermore, the relevant impulse response data of the minimum phase near-field head at different directions and distances are decomposed into three independent modes related to distance, direction and time and the inner product of the core tensor, including:
[0023] The D×M×N dimensional minimum phase impulse response tensor h with D directions, M distances, and N discrete times is transformed into D×M×N , decomposed and truncated into a D×D' distance modal matrix M×M” directional mode matrix and the N×N” time modal matrix and the D'×M"×N" core tensor w D'×M”×N" Inner Product:
[0024]
[0025] Among them, the symbol × D' ,× M” and × N" They represent the inner product of the tensor and matrix for the distance modal variable D', direction modal variable M'' and time modal variable N'' respectively.
[0026] Furthermore, the impulse response u of the N" common convolvers in step S2 is n ', n'=1,2…N"is obtained by taking the time modal matrix The N" column is obtained.
[0027] Furthermore, the finite N" weights c in step S4 n’ Calculated by the following formula:
[0028]
[0029] in, The matrices are and The element w d'm'n' is the core tensor w D'×M'×N' elements.
[0030] Another technical solution adopted by the present invention is:
[0031] A multiple virtual source dynamic binaural sound playback device, comprising:
[0032] at least one processor;
[0033] at least one memory for storing at least one program;
[0034] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.
[0035] Another technical solution adopted by the present invention is:
[0036] A computer-readable storage medium stores a program executable by a processor, wherein the program executable by the processor is used to execute the method described above when executed by the processor.
[0037] The beneficial effects of the present invention are as follows: the present invention can independently control the direction and distance of the perceived virtual source, significantly reducing the amount of calculation and the required storage space for simultaneously generating multiple virtual sources, thereby improving the signal processing efficiency and improving the performance of the dynamic virtual binaural sound playback system. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the embodiments of the present invention or the drawings of related technical solutions in the prior art are introduced below. It should be understood that the drawings introduced below are only for the convenience of clearly describing some embodiments of the technical solutions of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0039] Figure 1 is a flow chart of a method for generating binaural signals in an embodiment of the present invention;
[0040] Figure 2 It is a spherical data statistical diagram of the direction positioning results of the traditional and tensor-based methods on the horizontal plane obtained through experiments in an embodiment of the present invention;
[0041] Figure 3 Schematic diagram of average perceived distances and corresponding standard deviations of traditional and tensor-based methods on a horizontal plane obtained through experiments in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and are not to be construed as limitations of the present invention. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0043] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0044] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0045] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0046] Binaural Ambisonics is another method to generate virtual sources in dynamic binaural playback. It uses spatial spherical harmonics to decompose HRTF or HRIR, so that virtual sources in different spatial positions can be generated using a set of common filters or equivalent convolutions. The number of filters or convolutions is fixed and does not change with the number of virtual sources. However, in order to accurately generate binaural sound signals within the audible frequency range of 20kHz, binaural Ambisonics of more than 33 orders and about 1000 fixed filters are required. The signal processing efficiency of binaural Ambisonics is also not high.
[0047] The principal component analysis (PCA) method is also used to generate virtual sources in dynamic binaural playback. In some technologies, the principal component analysis method is used to generate virtual sources of different directions and distances using 15 common fixed filters, which improves the efficiency of generating multiple virtual sources at the same time. However, the PCA method is not easy to achieve independent control of the distance and direction of the virtual source.
[0048] Tensor decomposition is a multilinear model that can be regarded as an extension of PCA and SVD. It can be used for the analysis and data compression of HRTF or HRIR at a fixed sound source distance (not less than 1.0m) in the far field.
[0049] Based on the deficiencies of the prior art, this embodiment provides a method for generating dynamic binaural sound playback of multiple virtual sources in different directions and distances based on tensor decomposition, and further applies tensor decomposition to near-field HRIR of different sound source directions and distances. Based on the tensor decomposition of the near-field head-related impulse response, the embodiment of the present invention uses a set of common convolvers or equivalent filters that are independent of the position of the target virtual source to implement binaural sound signal synthesis, and realizes dynamic binaural sound signal processing by changing the weights of each filter. The method of the present invention can independently manipulate the direction and distance of the perceived virtual source, significantly reducing the amount of calculation and the required storage space for generating multiple virtual sources at the same time, thereby improving the signal processing efficiency and improving the performance of the dynamic virtual binaural sound playback system. Feeding the binaural sound signal obtained by the present invention to headphones for playback can produce realistic spatial auditory perception.
[0050] The physical principle of the present invention is that the near-field HRIR or HRTF data of different spatial positions (including directions and distances) are correlated. After eliminating these correlations by the tensor decomposition method, the HRIR of different spatial directions and distances can be expressed as a modular multiplication of a three-dimensional kernel tensor and three basis matrices. The three basis matrices are respectively composed of a distance basis vector, a direction basis vector and a time basis vector. According to a set of time basis vectors, a set of fixed convolvers or corresponding filters can be obtained, and the weights or gains corresponding to each convolver can be obtained according to the distance basis vector, the direction basis vector and the kernel tensor. The input signal is multiplied by the weight and convolved with each convolver, and after superposition, the desired ear signal can be synthesized. Dynamically adjusting the weights of each filter can control the direction and distance of the virtual source relative to the listener's head, thereby realizing dynamic binaural playback.
[0051] The method of this embodiment is further described below in conjunction with embodiments and drawings, but the implementation manner of the present invention is not limited thereto.
[0052] The time domain signal e0(t) of the left or right ear can be convolved with the input signal e0(t) using the HRIR h(r,θ,φ,t) of the target sound source position:
[0053]
[0054] Among them, the factors 1 / r and τ1(r) simulate the amplitude attenuation and delay of the sound wave from the free field point sound source to the receiving position respectively.
[0055] Using digital signal processing, the HRIR of any ear is a function of discrete distance index d, direction m and time n, denoted as h(d,m,n). In general, the HRIR can be approximated as its minimum phase impulse response and an additional linear delay τ2(d,m) related to distance and direction:
[0056]
[0057] Accordingly, the method of generating binaural signals in equation (1) can be written as the following discrete time convolution form:
[0058]
[0059] where r d is the distance corresponding to index d, and τ=τ1(d)+τ2(d,m). Therefore, under the minimum phase approximation, the input signal e0 can be delayed by τ and converted to 1 / r d The binaural signal is generated by gain scaling and then convolving with the minimum phase HRIR. The minimum phase approximation reduces the length of the impulse response and simplifies signal processing.
[0060] The present invention further simplifies signal processing by using the following HRIR tensor decomposition method. The present invention includes two stages: HRIR data preprocessing and binaural signal generation. The data preprocessing is performed by the following principles and methods.
[0061] Assume that for each ear, there is a set of near-field minimum phase HRIR data h containing D distances, M directions, and N discrete time samples. min (d,m,n), d=1,2…D,m=1,2…M,n=1,2…N. These data form a third-order tensor of dimension D×M×N, h D×M×N , the elements of the tensor are h min (d,m,n). According to Tucker tensor decomposition, h D×M×N Can be decomposed into the core tensor w D'×M'×N' and three matrices The inner product of:
[0062]
[0063] The subscripts represent the dimensions of a tensor or matrix; the symbol × D' ,× M' and × N' They represent the inner product of the tensor and matrix for the distance modal variable D', direction modal variable M' and time modal variable N' respectively.
[0064] Formula (4) represents the complete HRIR data set using three sets of independently changing modes: distance mode, direction mode, and time mode. is a D×D' matrix representing the range modes, with each row corresponding to a distance and each column corresponding to a range eigenmode. It is an M×M' matrix representing the directional modes, where each row corresponds to a direction and each column corresponds to a directional eigenmode. is an N×N' time mode matrix, each row corresponds to a time, and each column corresponds to an eigentime mode. Because the number of eigenmodes does not exceed the dimension of the discrete variable, D'≤D, M'≤M, N'≤N. And the three mode matrices satisfy orthogonality:
[0065]
[0066] Where superscript "T" denotes the matrix transpose and I is the identity matrix. Orthogonality means that a set of eigenmodes corresponding to a particular variable mode are independent of each other.
[0067] Given a D×M×N dimensional HRIR tensor h D×M×N , we can use the general method of tensors to get the matrix And the core tensor w D'×M'×N' , thus obtaining the tensor decomposition of (4). For example, first construct an N×(DM)-dimensional matrix h from the known HRIR N×(DM) The rows of the matrix represent the HRIR at different times, and the columns of the matrix represent the HRIR at different distances and directions. N×(DM) We can construct an N×N real symmetric matrix,
[0068]
[0069] in, Represents the transpose of a matrix.
[0070] Through the matrix R N×N The eigenvectors corresponding to the first N'≤N positive eigenvalues arranged in descending order can construct the matrix The eigenvalue can be written as:
[0071]
[0072] The other two matrices and A similar method can be used to obtain the matrix and After that, the core tensor w D'×M'×N' It can be obtained from the matrix orthogonality of equation (5)
[0073]
[0074] Equation (4) is an exact representation of the HRIR data set. In practice, for the independent variation modes of a discrete variable, the contributions of different-order eigenmodes to the HRIR variation are different. If the modes with relatively large contributions to the HRIR variation are retained while the modes with relatively small contributions to the HRTF variation are omitted, an approximate and more efficient low-dimensional representation of the HRIR data set can be further obtained. For example, the directional and temporal variations of the HRIR data can be approximately represented by the first M” < M’ and N” < N’ directional and frequency modes with relatively large contributions. Then, for the matrices and they are truncated to the first M” and N” columns; at the same time, for the core tensor w D'×M'×N' the dimensions of the directional and temporal modes are truncated to M” and N”, and thus Equation (4) can become:
[0075]
[0076] Correspondingly, the variation of the HRIR with the corresponding discrete variable can be represented by a smaller number of independent mode variations, and Equation (9) is an accurate and low-dimensional representation of the HRTF data set. A similar method can also be used to truncate and approximate the distance mode of the HRIR, so as to obtain more effective HRTF data compression. Here, since there are fewer distances in the database, only the directional and temporal modes are truncated and approximated.
[0077] When the frequency mode is truncated to the N”th order, the cumulative percentage of the individual variation of the HRTF energy represented by the approximation of Equation (9) is calculated by the following formula:
[0078]
[0079] where λ n is the eigenvalue corresponding to each order of the distance mode. A similar relationship can also be obtained for the truncation of the directional mode. In this example, the accuracy of the approximation is evaluated by the cumulative percentage of Equation (10).
[0080] The binaural signal generation in the embodiments of the present invention is carried out by the following principles and methods.
[0081] Let h min,d,m = [h min (d, m, 1), h min (d, m, 2).....h min (d, m, N)] T be an N×1 column vector or matrix, which represents the N-point minimum-phase HRIR of a given distance d and direction m, and the superscript “T” in the above table represents the matrix transpose. At the same time, let u n' = [u 1n' , u 2n' ....u nn' T , n'=1,2…N" is a set of matrix It is an N×1 column vector, which represents the N” impulse responses corresponding to the minimum phase HRIR time eigenmode. From equation (9), it can be obtained that HRIRs of any distance and direction can be decomposed into a weighted combination of N” impulse responses related to the time mode but independent of the distance and direction, and the weight is related to the direction and distance:
[0082]
[0083] The weights are:
[0084]
[0085] Let e d,m (n) represents the binaural signal at distance d and direction m, e0(n) is the input signal, and the method for generating binaural signals given by equation (3) becomes:
[0086]
[0087] Formula (13) shows that the method for generating binaural signals provided by the present invention can be implemented by the following steps: Figure 1 As shown:
[0088] Step S101: Delay the input signal by a time delay τ(d,m) related to the distance and direction, and use the distance-related gain 1 / r d Perform scaling.
[0089] Step S102: Multiply the signals by N” weights c n’ Then use N" common impulse response u n’ , perform convolution or filtering.
[0090] Step S103: sum the N" convolution outputs to obtain a signal for a specific ear.
[0091] Step S104: The signal for each ear is generated independently.
[0092] In summary, the algorithm of the present invention has the following characteristics:
[0093] (1) The algorithm requires N” convolution units (or equivalent filters), so it is inefficient for synthesizing a single virtual source. However, since virtual sources at different distances and directions can share a common set of filters, the number of filters is fixed and independent of the number of virtual sources. In other words, when multiple virtual sources are generated simultaneously and the number of virtual sources is greater than N”, the efficiency of the algorithm is greatly improved compared with the traditional algorithm.
[0094] (2) In the actual application of dynamic VAD, when the user turns his head or the position of the virtual source changes (such as the case of a moving virtual source), only the weight c needs to be updated in real time. n” Instead of filters, this avoids the audible defects that may be caused by real-time updating filters in traditional algorithms.
[0095] (3) Weight c n” Through two sets of coefficients related to the distance and direction of the virtual source and As shown in formula (12), the source distance and direction can be controlled independently by changing these two sets of coefficients respectively.
[0096] (4) HRIRs / HRTFs are continuous functions of the distance and direction of the virtual source. Actual measurements or calculations usually obtain discrete distance and direction data with a certain resolution. Dynamic VAD requires data that matches the auditory resolution, which can be obtained by spatially interpolating the measured / calculated data. Spatial interpolation can be implemented online in dynamic VAD, but it increases the amount of calculation. Spatial interpolation can also be implemented offline, but this requires more data storage resources. The result of tensor decomposition is a compressed representation of HRIRs / HRTFs. If a virtual source is to be generated at an arbitrary (continuous) spatial position, or if continuous head movement is to be considered, only the coefficients of different distances and directions need to be interpolated instead of filters, thus avoiding the audible defects caused by filter interpolation.
[0097] The present invention can be implemented through a virtual auditory environment real-time rendering system platform based on a personal computer, and can also be implemented through a smart phone system platform. This embodiment provides an embodiment of a virtual auditory environment real-time rendering system platform.
[0098] In this example, a dynamic virtual auditory environment real-time rendering system built by Zhang and Xie from the Institute of Acoustics of South China University of Technology is used. The system is based on a personal computer platform and software written in C++. The refresh rate and lag time of the system are 60Hz and 25.4ms respectively. The electromagnetic tracker (Polhemus FASTRAK) detects the direction of the subject's head in real time. The tracker can detect the rotation of the head in three degrees of freedom, including rotation around the left-right, front-back, and up-down axes. The computer uses traditional and tensor-based methods to generate binaural sound signals according to the instantaneous position of the target virtual source relative to the subject's head. The binaural signals are replayed through in-ear headphones (Etymotic ResearchER-2). Because the ER-2 headphones can produce a flat amplitude response at the end of the ear canal simulator, there is no need to perform headphone transmission characteristic equalization.
[0099] In this example, the HRTF raw data used for analysis is the data calculated by the boundary element method on the KEMAR artificial head with DB061 / 061 pinna. The original database contains HRTFs at seven distances of r = 0.2m, 0.25m, 0.3m, 0.4m, 0.5m, 0.75m and 1.0m, and each distance has 2520 directions. The direction range is from –85° to 85° in elevation φ, 0° to 355° in azimuth θ, and the direction interval is 5°. The length of each measured HRIR is 882 points, and the sampling frequency is 44.1kHz. The measured HRIR is first reconstructed by minimum phase approximation, and then truncated by a 128-point time window through minimum phase reconstruction. After that, 64440 directional HRIRs with high directional resolution (elevation and azimuth intervals are both 1°) are obtained by bilinear interpolation, where the HRIR of the unknown position is approximated by the weighting of the four nearby HRIRs. The tensor decomposition described in the first and second steps is then applied to the 128-point minimum phase HRIRs for these 64,440 directions and 7 distances. It can be calculated that 8 frequency-related and 13 direction-related independent modes can represent more than 99% of the changes. The average relative error for all distances and frequencies is –21.9 dB for the left ear and –22.0 dB for the right ear, which is effective for the reconstruction of the HRTF amplitude. Therefore, it is sufficient to select N”=8 common filters in this algorithm.
[0100] The psychoacoustic experiment of the embodiment verifies the present invention. The virtual sources selected in the psychoacoustic experiment are all distributed in the right hemisphere space, with a total of 5 near-field virtual source distances of r = 0.2, 0.3, 0.5, 0.75 and 1.0m. For each distance, 11 directions are selected respectively: in the dimensional plane with elevation angles φ = -45° and 45°, azimuth angles θ = 0°, 90°, and 180° are selected; for the horizontal plane, azimuth angles θ = 0°, 45°, 90°, 135° and 180° are selected. The experimental signal is full-frequency pink noise, and each signal is repeated twice, so each group has 5×11×2=110 corresponding judgments. In the experiment, the subject judges the perceived virtual source direction and distance, and reports the perceived virtual source position with an electromagnetic tracker. The electromagnetic tracker includes two receivers, one of which is fixed to the surface of the subject's head to detect the subject's head position and direction. The other receiver is fixed to the end of a wooden stick. The subjects pointed the stick to the position of the perceived virtual source, and the computer recorded the orientation results. Each experiment lasted about 1 hour, with a short break of 15 minutes between the two experiments. All binaural signals in the experiment were played in a random order.
[0101] Eight subjects with normal hearing in both ears (aged 23-27 years old, 6 males and 2 females) participated in the experiment. During the experiment, the subjects sat in the center of the room and closed their eyes and turned their heads during the perception process. The experiment was conducted in a listening room with a background noise of no more than 30dBA.
[0102] The average angular error between the perceived direction and the target direction is used to evaluate the directional localization effect in psychoacoustic experiments, namely:
[0103]
[0104] Here r is the unit vector of the target virtual source direction; r I (l) is the unit vector of the perceived virtual source direction of the lth judgment; L is the total number of judgments; the dot symbol in the above formula represents the scalar product of two vectors. If there is confusion in the original positioning result, the confusion is first eliminated by the spatial inversion method, and the percentage of confusion is calculated.
[0105] The average perceived distance reflects the performance of distance perception in the replay:
[0106]
[0107] Here r I (l) is the perceived distance of the lth judgment. The corresponding standard deviation is also calculated. In addition, statistical variance analysis is also performed on the original data.
[0108] For the traditional dynamic virtual auditory playback method and the tensor-based dynamic binaural playback method, the original localization results did not show the head-center localization phenomenon, because the dynamic playback includes the dynamic factors introduced by the head rotation. And the percentage of front-to-back and top-to-bottom confusion in the localization is less than 5% and 1%, which shows that the dynamic factors have a great improvement on the front-to-back and top-to-bottom confusion phenomena.
[0109] The two dynamic virtual auditory playback methods produced similar virtual source localization effects. Specifically, the average angle error results for all directions and repeated judgments at different distances are listed in Table 1. More intuitively, Figure 2 The spherical data statistics in show the direction positioning results of the two methods; among them, Figure 2 (a) is the direction positioning result of the traditional method. Figure 2(b) is the direction positioning result of the tensor-based method of this embodiment. Among them, the symbol "+" represents the direction of the target virtual source, the red dot in the center represents the average perceived direction of all judgments, and the ellipse centered on the red dot represents the confidence region under the significance level α=0.05. If the data is distributed in a unimodal axisymmetric manner, the ellipse is represented by a blue line, otherwise it is represented by a green line. The direction positioning of the two methods shows similar characteristics. The largest errors occur at low elevation angles and rear positions, while the smallest errors occur at the side and front positions.
[0110] Table 1
[0111]
[0112] Figure 3 The average perceived distance and the corresponding standard deviation of the traditional method and the method proposed by the present invention on the horizontal plane are given; wherein, Figure 3 (a) is a schematic diagram of the average perceptual distance and the corresponding standard deviation of the traditional method. Figure 3 (b) is a schematic diagram of the average perceived distance and the corresponding standard deviation of the tensor-based method of this embodiment. In most cases, when the target distance does not exceed 0.5m, the average perceived distance is greater than the target distance. When the target distance exceeds 0.5m, the perceived distance is less than the target distance. This deviation in perception results is a basic feature of distance perception. In addition, in the mid-vertical plane (θ = 0° and 180°), the standard deviation of the perceived distance of the target virtual source is larger, indicating that the accuracy of distance perception is relatively low, which is consistent with previous research on the distance perception of virtual sources in the free field. Both methods can produce relatively accurate perceived virtual source distances at horizontal plane azimuths θ = 45°, 90° and 180°, especially for relatively close distances (r≤0.75m). The distance perception performance at high and low elevation angles φ = -45° or 45° is very similar to that of the horizontal plane and is therefore omitted.
[0113] The results of multivariate analysis of variance show that at a significance level of 0.05, for direction localization, the influence of the algorithm is insignificant, while the influence of the target source direction is significant. For distance perception, the influence of the virtual source direction is significant, while the algorithm is insignificant. This proves the effectiveness of the tensor-based dynamic virtual auditory playback method.
[0114] This example verifies that the proposed algorithm can produce consistent directional localization and distance perception performance in dynamic VAD with traditional methods. The proposed algorithm can independently control the distance and direction of the virtual source, avoiding the audible differences in updating the HRTF-based filters in traditional dynamic virtual auditory playback. When generating multiple virtual sources (greater than 8) at the same time, the efficiency of the proposed algorithm is greatly improved compared with the traditional algorithm.
[0115] In summary, the method of this embodiment has the following advantages and beneficial effects compared with the prior art:
[0116] (1) The convolver or filter of the present invention is independent of the distance and direction of the virtual source. Virtual sources of different distances and directions can share a common set of filters. Therefore, the number of filters is fixed and independent of the number of virtual sources. For the case of generating multiple virtual sources at the same time, and when the number of virtual sources is greater than the number of convolvers, the efficiency of the algorithm of the present invention is higher than that of the traditional algorithm.
[0117] (2) In dynamic binaural playback, when the user turns his head or the position of the virtual source changes (such as in the case of a moving virtual source), only the weights need to be updated instead of the convolutional layer or filter, thus avoiding the audible defects that may be caused by real-time filter updates in traditional algorithms.
[0118] (3) Since the filter is obtained through modes or coefficients related to the source distance and direction respectively, the present invention can independently manipulate the direction and distance of the virtual source by changing these two sets of coefficients.
[0119] (4) The present invention can greatly reduce the amount of computation and the required storage space, thereby improving the performance of the dynamic virtual binaural sound playback system.
[0120] This embodiment also provides a multiple virtual source dynamic binaural sound playback device, including:
[0121] at least one processor;
[0122] at least one memory for storing at least one program;
[0123] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.
[0124] A multiple virtual source dynamic binaural sound playback device of this embodiment can execute a multiple virtual source dynamic binaural sound playback method provided by the method embodiment of the present invention, can execute any combination of implementation steps of the method embodiment, and has the corresponding functions and beneficial effects of the method.
[0125] This embodiment also provides a storage medium storing instructions or programs capable of executing a method for dynamic binaural sound playback of multiple virtual sources provided by an embodiment of the method of the present invention. When the instructions or programs are run, any combination of implementation steps of the method embodiment can be executed, and the corresponding functions and beneficial effects of the method can be obtained.
[0126] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the present invention is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part for which is described as a larger operation is performed independently.
[0127] In addition, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features described may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in separate physical devices or software modules. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present invention. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional skills of the engineer. Therefore, those skilled in the art can implement the present invention set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present invention, which is determined by the full scope of the appended claims and their equivalents.
[0128] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0129] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0130] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0131] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0132] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0133] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.
[0134] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above embodiments. Those skilled in the art may make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.
[0135] This project was supported by the National Natural Science Foundation of China (12174118), and we would like to express our gratitude.
Claims
1. A method for dynamic binaural sound reproduction with multiple virtual sources, It is characterized in that The following steps are involved: S1. By using the tensor decomposition method, the relevant impulse response data of the minimum phase near-field head at different directions and distances are decomposed into three independent modes related to distance, direction and time and the inner product of the core tensor; S2. Based on a finite number of time-dependent eigenmodes, derive impulse responses of a finite number of N" common convolvers or equivalent common filter transfer functions; S3, the preset virtual source input signal is delayed by a time delay τ(d,m) related to the distance and direction, and the gain 1 / r related to the distance is used d Perform scaling to obtain a preset virtual source signal; S4, multiply the preset virtual source signal by a finite number of N" weights c n’ , with N" impulse responses as u n’ ,n'=1,2…N" public convolvers for convolution or equivalently N" public filters for filtering; S5, summing the outputs of N" convolutions to obtain a signal of a specific virtual source and a specific ear; S6. When the listener's head turns or the virtual source moves, the weight c is dynamically updated according to the direction and distance of the virtual source relative to the listener. n’ ; S7, processing each virtual source and specific ear signal according to steps S3 to S6 to obtain all virtual source and specific ear signals; S8, the signal of each ear of the two ears is independently generated according to step S3 to step S6, and finally a binaural signal is obtained; The relevant impulse response data of the minimum phase near-field head at different directions and distances are decomposed into three independent modes related to distance, direction and time and the inner product of the core tensor, including: The D×M×N dimensional minimum phase impulse response tensor h with D directions, M distances, and N discrete times is transformed into D×M×N , decomposed and truncated into a D×D' distance modal matrix M×M” directional mode matrix and the N×N” time modal matrix and the D'×M"×N" core tensor w D'×M”×N" Inner Product: Among them, the symbol × D' ,× M” and × N" Respectively represent the inner product of the tensor and matrix for the distance modal variable D', the direction modal variable M", and the time modal variable N"; The impulse response u of the N" common convolvers in step S2 n' , n'=1,2…N"is obtained by taking the time modal matrix The N" column is obtained; The finite N" weights c in step S4 n’ Calculated by the following formula: in, The matrices are and The element w d'm'n' is the core tensor w D'×M'×N' elements.
2. A multiple virtual source dynamic binaural sound playback device, It is characterized in that include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method of claim 1.
3. A computer-readable storage medium having a program executable by a processor stored therein, It is characterized in that The processor-executable program is used to perform the method according to claim 1 when being executed by the processor.
Citation Information
Patent Citations
High-resolution accurate two-dimensional direction-of-arrival estimation method based on planar co-prime array virtual domain tensor spatial spectrum search
CN111610486A
Statistical modelling, interpolation, measurement and anthropometry based prediction of head-related transfer functions
WO2014189550A1
