Blind detection of binaural stereo content
A machine learning-based system for blind detection of binauralized audio prevents double processing, ensuring accurate and artifact-free audio output by identifying and processing audio signals appropriately.
Patent Information
- Application Number
- JP2023077649
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-06-14
- Filing Date
- 2023-05-10
- Publication Date
- 2024-08-13
- Estimated Expiration
- 2039-04-24
AI Technical Summary
Existing technologies lack a reliable method to determine when audio content has been binauralized, leading to potential double processing and negative user experiences in wireless audio applications.
A device employing machine learning techniques for blind detection of binauralized audio, utilizing a feature extractor, classifier, virtualizer, and mixer to identify and process audio signals as either stereo or binaural, ensuring they are processed only once.
Prevents double binaural processing, enhancing audio quality by ensuring signals are processed correctly, thus avoiding artifacts and improving user experience.
Smart Images

Figure 0007532593000019 
Figure 0007532593000020 
Figure 0007532593000021
Abstract
Description
[Technical field]
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to PCT Application No. PCT / CN2018 / 084787, filed April 27, 2018, U.S. Provisional Application No. 62 / 677,829, filed May 30, 2018, and European Application No. 18177821.8, filed June 14, 2018, each of which is incorporated by reference in its entirety.
[0002] background The present invention relates to binaural audio, and in particular to blind detection of binauralized audio data. [Background technology]
[0003] Unless otherwise described herein, the approaches described in this section are not prior art to the claims of this application, and are not admitted to be prior art by their inclusion in this section.
[0004] Binauralization of multi-channel or object-based audio content is a common technique to simulate the effect of surround sound on headphones. Often simulated or synthesized head-related transfer functions (HRTFs) are used to perform this simulation, resulting in changes in magnitude and phase response. Binauralization is also called virtualization, and the generated sound is sometimes called binaural audio or virtualized audio.
[0005] There are several examples of consumer binaural applications, such as Dolby's headphone binaural rendering solution. One typical configuration to achieve binauralization is to connect a source device capable of performing the processing to headphones. Alternatively, the content may be sent to advanced headphones capable of performing binaural processing.
[0006] Scenarios exist where both the source device and the headphones can apply binaural processing, which can have a detrimental effect on the audio as the magnitude and phase responses from both binaural processes combine, leading to a negative user experience.
[0007] One means of avoiding double processing in the above configuration would be to support one-way communication from the source to the headphones indicating when binaural processing is active, so that the headphones can disable that processing stage. However, in wireless applications such as the IEEE 802.15.1 standard (e.g., Bluetooth™ audio), there is no shared profile for communicating such information. Moreover, even if such a profile existed, there is no guarantee that the source device would properly signal such processing.
[0008] US Patent No. 5,399,633 discusses performing feature extraction on an audio signal to generate conditional probability scores that are used for subsequent processing of the audio signal, but such discussion does not go into much detail regarding the specific problems involved in binaural processing. [Patent Document 1] U.S. Patent No. 9,311,923
[0009] US Patent No. 5,933,636 discusses using binaural rendering metadata to render input audio into binaural audio, but such discussion does not envisage the situation where the input audio has already been binauralised. [Patent Document 2] U.S. Patent No. 9,933,989 Summary of the Invention [Problem to be solved by the invention]
[0010] In view of the above, there is a need for a blind detection process that can determine when upstream content has been binauralized. Certain embodiments are directed to using machine learning techniques to perform blind detection of binauralized audio. [Means for solving the problem]
[0011] According to an embodiment, an apparatus detects binauralization of an audio signal. The apparatus comprises a feature extractor, a classifier, a virtualizer, and a mixer. The feature extractor receives an input audio signal and extracts a plurality of features from the input audio signal. The classifier receives a plurality of features extracted by the feature extractor, performs a classification of the plurality of features, and generates a result based on the classification. The result indicates a probability that the input audio signal is a binaural signal relative to a stereo signal. The virtualizer receives the input audio signal and performs virtualization on the input audio signal to generate a binaural audio signal. The mixer receives the input audio signal, the binaural audio signal, and the result, and mixes the input audio signal and the binaural audio signal according to the result to generate an output audio signal. If the result indicates that the input audio signal is a stereo signal, the output audio signal corresponds to a binaural audio signal, and if the result indicates that the input audio signal is a binaural audio signal, the output audio signal corresponds to the input audio signal.
[0012] The apparatus may further include a smoother for smoothing a result from the classifier and providing the smoothed result to a mixer, which mixes the input audio signal and the binaural audio signal according to the result smoothed by the smoother. The result smoothed by the smoother may be provided to a virtualizer, which may perform virtualization based on the smoothed result.
[0013] The feature extractor may convert the input audio signal into transform domain information.
[0014] The feature extractor may extract features including at least one of an inter-channel time difference (ICTD) feature, an inter-channel phase difference (ICPD) feature, an inter-channel level difference (ICLD) feature, and an inter-channel coherence (ICC) feature.
[0015] The feature extractor may convert the input audio signal into hybrid complex quadrature mirror filter (HCQMF) domain information. The feature extractor may extract features including inter-channel phase difference (ICPD) of a subset of bands of the HCQMF domain information. The HCQMF domain information may include 77 bands, the subset of bands including bands 21 to 60.
[0016] The feature extractor may convert the input audio signal into hybrid complex quadrature mirror filter (HCQMF) domain information, where the feature extractor groups the HCQMF domain information into a plurality of subbands, and the feature extractor extracts features including inter-channel phase difference (ICPD) features for a first subset of the plurality of subbands, inter-channel coherence (ICC) features for the first subset of the plurality of subbands, and inter-channel level difference (ICLD) features for a second subset of the plurality of subbands.
[0017] The feature extractor may include a signal transformer, a feature calculator, a parameter mask, a histogram analyzer, and a statistics calculator. The signal transformer generates transform domain information from the input audio signal. The feature calculator calculates a plurality of raw features from the transform domain information. The parameter mask applies masking to the raw features to generate a plurality of modified features. The histogram analyzer calculates a plurality of histograms over a plurality of parameter bands for each of the plurality of modified features. The statistics calculator calculates a plurality of window level statistics from the plurality of modified features and the plurality of histograms, the plurality of window level statistics corresponding to the plurality of features extracted by the feature extractor.
[0018] The classifier may implement a machine learning model to perform classification of the plurality of features. The machine learning model may be one of an adaptive boosting model, a deep neural network model, and a sparse deep neural network model.
[0019] The apparatus may have a processor and a memory, the processor implementing a feature extractor, a classifier, a virtualizer, and a blender, the memory may store a computer program, and the processor executes the computer program to implement the feature extractor, the classifier, the virtualizer, and the blender.
[0020] The apparatus may further comprise a left speaker and a right speaker, the output audio signal comprising a left output component and a right output component, the left speaker outputting the left output component and the right speaker outputting the right output component.
[0021] The apparatus may further have a first earbud and a second earbud, the first earbud including a first speaker, a first processor, and a first memory, the first processor implementing the feature extractor, the classifier, the virtualizer, and the mixer, and the second earbud including a second speaker, a second processor, and a second memory, the second processor implementing the second feature extractor, the second classifier, the second virtualizer, and the second mixer.
[0022] According to another embodiment, a method detects binauralization of an audio signal. The method includes receiving an input audio signal. The method further includes extracting a plurality of features from the input audio signal by a feature extractor. The method further includes performing a classification of the plurality of features extracted by the feature extractor by a classifier. The method further includes generating a result based on the classification by the classifier, the result indicating a probability that the input audio signal is a binaural signal relative to a stereo signal. The method further includes performing a virtualization by the virtualizer on the input audio signal to generate a binaural audio signal. The method further includes mixing the input audio signal and the binaural audio signal by a mixer according to the result to generate an output audio signal. When the result indicates that the input audio signal is a stereo signal, the output audio signal corresponds to the binaural audio signal, and when the result indicates that the input audio signal is a binaural signal, the output audio signal corresponds to the input audio signal.
[0023] The method may include similar details as discussed above with respect to the apparatus.
[0024] According to another embodiment, a non-transitory computer readable medium stores a computer program which, when executed by a processor, controls an apparatus to perform processes including one or more of the methods discussed above.
[0025] The following detailed description and accompanying drawings provide a further understanding of the nature and advantages of various implementations. [Brief description of the drawings]
[0026] [Figure 1] 1 is a block diagram of a headphone device 100. FIG.
[0027] [Diagram 2] FIG. 2 is a block diagram of a binauralization detector 200.
[0028] [Diagram 3] 3 is a flow chart of a method 300 for detecting binauralization of an audio signal.
[0029] [Figure 4] FIG. 3 is a block diagram showing additional details of feature extractor 202 (see FIG. 2). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0030] Techniques for blind detection of binauralized audio are described herein. In the following description, for purposes of explanation, numerous examples and specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention, as defined by the claims, may include some or all of the features in these examples, either alone or in combination with other features described below, and may further include modifications and equivalents of the features and concepts described herein.
[0031] In the following description, various methods, processes, and procedures are detailed. Although specific steps may be described in a certain order, such order is primarily for convenience. Certain steps may be repeated more than once, may occur before or after other steps (even if those steps are otherwise described in a different order), or may occur in parallel with other steps. A second step is required to follow a first step only if the first step must be completed before the second step can begin. Such circumstances will be specifically pointed out if not clear from the context.
[0032] In this document, the terms "and," "or," and "and / or" are used. Such terms should be read as having an inclusive meaning. For example, "A and B" may mean at least: "both A and B," "at least both A and B." As another example, "A or B" may mean at least: "at least A," "at least B," "both A and B," "at least both A and B." As another example, "A and / or B" may mean at least: "A and B," "A or B." If an exclusive disjunction is intended, this will be specifically stated (e.g., "either one of A or B," "at most one of A and B").
[0033] 1 is a block diagram of a headphone device 100. (Note that this block diagram is not shown in a headphone form factor.) Headphone device 100 includes a body 102, a power component 104, a wireless component 106, a processor 108, a memory 110, a left speaker 112, and a right speaker 114. Headphone device 100 may include other components that are not shown (for the sake of brevity). Typically, a user wears headphone device 100 to listen to audio signals received wirelessly.
[0034] The body 102 generally provides structural support for the headphone device 100 and secures other components. Details of the body 102 may vary depending on the form factor. For a traditional headphone form factor, the body 102 includes a headband that connects the ear pads, which include the speakers 112 and 114. For an earbud-headphone form factor, the earbuds are a headphone pair (e.g., a left earbud and a right earbud), and the body 102 of each earbud includes one of the speakers 112 or 114, as well as other components (e.g., a processor, wireless components, etc.). As an exemplary implementation of the earbud form factor, one of the earbuds acts as a master and performs most of the processing; the other earbud acts as a slave and receives processed audio from the master through a limited near-field magnetic induction (NFMI) channel.
[0035] The power component 104 generally provides power to the other components and may include a battery, such as a rechargeable battery.
[0036] The wireless component 106 typically transmits and receives wireless signals. The wireless component 106 may implement the IEEE 802.15.1 standard (e.g., Bluetooth™). The wireless component 106 typically receives input audio signals and provides input audio signals to other components.
[0037] The processor 108 cooperates with the memory 110 to process the audio signal received from the wireless component 106. The processor 108 typically implements a machine learning process to perform blind detection of the binauralized audio, as described in further detail below. The memory 110 typically stores the machine learning parameters. The processor 108 also implements a binauralization process, as described in further detail below.
[0038] The left speaker 112 outputs a left channel output audio signal, and the right speaker 114 outputs a right channel output audio signal (collectively the output audio signals). If the processor 108 detects, according to a blind detection process, that the input audio signal is a binaural signal, the output audio signal corresponds to the input audio signal. If the processor 108 detects that the input audio signal is not a binaural signal (e.g., a stereo signal), the output audio signal corresponds to a binauralized audio signal generated by the processor 108. In this way, the output signal corresponds to a once-binauralized signal, and not to a second binauralization of an already binauralized input signal, thereby avoiding a negative user experience.
[0039] Figure 2 is a block diagram of a binauralization detector 200. In general, the binauralization detector 200 performs blind detection of binauralization and generates an appropriate output signal (e.g., not a twice-binauralized signal), as discussed above with respect to Figure 1. The binauralization detector 200 may be implemented by the processor 108 and memory 110 (see Figure 1), for example, by storing and executing one or more computer programs.
[0040] The binauralization detector 200 receives an input audio signal 220 and generates an output audio signal 230. The input audio signal 220 may be a two-channel audio signal, such as a two-channel stereo signal or a two-channel binaural signal. For example, the input audio signal 220 may include a left channel signal and a right channel signal, each of which is a pulse-code modulated (PCM) signal sampled at 44.1 or 48 kHz and having 16 or 24 bits per sample. (Note that the input audio signal 220 results from the radio component 106 of FIG. 1 performing decoding on a received radio signal, which may be in a format other than PCM.) The binauralization detector 200 operates on the input audio signal 220 frame by frame (e.g., 20 ms frame size), and may operate on multiple frames or windows (e.g., 48 frames or 1 second).
[0041] The binauralization detector 200 includes a feature extractor 202 , a classifier 204 , a smoother 206 , a virtualizer 208 , and a mixer 210 .
[0042] The feature extractor 202 generally extracts features 240 from the input audio signal 220. As mentioned above, the features 240 may include frame-level features, window-level features, and statistics (mean, standard deviation, etc.) of the frame-level features and window-level features. Further details of the feature extractor 202 are provided below with reference to FIG. 4.
[0043] The classifier 204 generally performs a classification on the features 240 extracted by the feature extractor 202 and generates a result 250 based on the classification. The result 250 may be in the form of a confidence score. As mentioned above, the classifier 204 may implement a machine learning process, as described in further detail below. The result 250 indicates the probability that the input audio signal 220 is a binaural signal versus a stereo signal. For example, the result 250 may be 95% that the input audio signal 220 is a binaural signal (or conversely, 5% that the input audio signal 220 is a stereo signal).
[0044] The smoother 206 generally smooths the results 250 from the classifier 204 to generate a smoothed result 252. If the classifier 204 performs classification based on frame-level features, it is possible that the classifier 204 may misclassify a frame as binaural (rather than stereo). In the absence of smoothing, this misclassification may introduce audio artifacts due to the binauralization detector 200 switching between passing through an already binauralized signal and generating a binaural signal. For example, if the binauralization detector 200 passes through an already binauralized signal for 100 frames, then misclassifies one frame as stereo and performs binauralization, then switches back to passing through the original already binauralized signal, which may result in audio artifacts. Thus, the smoother 206 operates to smooth the results 250, thereby reducing the effects of misclassification.
[0045] The smoother 206 may apply adaptive smoothing to prevent instability problems and reduce the delay for the transition between stereo and binaural. The smoothing may be achieved by a combination of a median filter and a one-pole filter. For a confidence score s(t) generated by the classifier 204, the smoothed score s′(t) is
number
[0046] The delay time D adaptively changes according to the stability of the original score. Specifically, a large smoothing delay is applied when the original score is unstable, and a small smoothing delay is adopted when the original score is stable. The delay time D may be preset for several modes (e.g., fast, medium, slow), which may be further adaptively selected in practical applications. For example, the delay time D may be set to 4 seconds for the fast mode, 6 seconds for the medium mode, and 10 seconds for the slow mode. The value of α may be adjusted as desired according to applications. A typical value for α is 0.89.
[0047] (Note that the smoother 206 may be omitted in embodiments, in which case the results 250 from the classifier 204 are provided to the virtualizer 208 or the mixer 210 without smoothing.)
[0048] The virtualizer 208 generally performs virtualization on the input audio signal 220 to generate the binaural audio signal 222. The virtualizer 208 may receive the results 250 (or smoothed results 252 smoothed by the smoother 206) from the classifier 204 and may use the results 250 (or smoothed results 252) in performing its virtualization. For example, if the results 250 (or smoothed results 252) consistently indicate a high probability that the input audio signal 220 is a binaural signal over a period of 10 seconds, the virtualizer 208 may deactivate its virtualization or otherwise reduce its processing on the input audio signal 220.
[0049] According to an alternative embodiment, the virtualizer 208 operates continuously and does not receive results 250 from the classifier 204 (or smoothed results 252 smoothed by the smoother 206).
[0050] The virtualizer 208 may implement one or more of a variety of binauralization processes according to design criteria or user preferences. Exemplary binauralization processes include the Dolby® Headphone binauralization process, the DTS HeadphoneX™ binauralization process, the MaxxSpace™ binauralization process, the Fraunhofer Singo® binauralization process, etc.
[0051] In other embodiments, the virtualizer 208 may operate without receiving the results 250 from the classifier 204 (or the smoothed results 252 from the smoother 206).
[0052] The mixer 210 generally mixes the input audio signal 220 and the binaural audio signal 222 according to the result 250 from the classifier 204 (or the smoothed result 252 from the smoother 206) to generate the output audio signal 230. (The mixer 210 may also perform other functions, such as time-aligning the input audio signal 220 by delaying it to match the delay involved in generating the binaural audio signal 222.) If the result 250 (or the smoothed result 252) indicates that the input audio signal 220 is a stereo signal, then the output audio signal 230 corresponds to the binaural audio signal 222, and if the result 250 (or the smoothed result 252) indicates that the input audio signal 220 is a binaural signal, then the output audio signal 230 corresponds to the input audio signal 220. For example, if the result 250 indicates that the input audio signal 220 is 95% binaural, then the mixer 210 mixes the 95% input audio signal 220 with the output audio signal 230 corresponding to a 5% binaural audio signal 222. Conversely, if the result 250 indicates that the input audio signal 220 is 5% binaural, then the mixer 210 mixes the 5% input audio signal 220 with the output audio signal 230 corresponding to a 95% binaural audio signal 222.
[0053] As another example, the mixer 210 uses the classification result 250 (or the smoothed result 252) to steer the on / off of a headphone virtualizer for two-channel audio binauralization. Let x and x represent the audio signal to which the headphone virtualizer is applied (e.g., the binaural audio signal 222) and the original signal (e.g., the input audio signal 220), respectively. vir (t) and x ori (t) is used. Then, binaural mixing can be achieved by the following mixing method:
number
[0054] 3 is a flow chart of a method 300 for detecting binauralization of an audio signal. The method 300 may be implemented, for example, by the headphone device 100 (see FIG. 1 ) as controlled by the processor 108 pursuant to execution of one or more computer programs.
[0055] An input audio signal is received at 302. For example, the wireless component 106 (see FIG. 1) may receive the input audio signal 220 (see FIG. 2).
[0056] A number of features are extracted from the input audio signal at 304. For example, the feature extractor 202 (see FIG. 2) may extract the features 240 from the input audio signal 220.
[0057] A classification of the features extracted by the feature extractor is performed at 306. For example, the classifier 204 (see FIG. 2) may perform classification of the features 240 extracted by the feature extractor 202.
[0058] At 308, a result is generated based on the classification. For example, the classifier 204 (see FIG. 2) may generate a result 250 based on the classification (see 306). The result indicates the probability that the input audio signal is a binaural signal versus a stereo signal.
[0059] At 310, the results from the classifier are smoothed. For example, smoother 206 (see FIG. 2) may smooth results 250 from classifier 204 to produce smoothed results 252. (Note that 310 is optional and may be omitted in embodiments that do not implement smoothing.)
[0060] At 312, the smoothed result is provided to a mixer. For example, smoother 206 (see FIG. 2) may provide smoothed result 252 to mixer 210. (Note that 312 is optional and may be omitted in embodiments that do not implement smoothing.)
[0061] At 314, virtualization is performed on the input audio signal to generate a binaural audio signal. For example, the virtualizer 208 (see FIG. 2) may perform virtualization on the input audio signal 220 to generate the binaural audio signal 222.
[0062] At 316, the input audio signal and the binaural audio signal are mixed according to the result to generate an output audio signal. For example, the mixer 210 (see FIG. 2) may mix the input audio signal 220 and the binaural audio signal 222 according to the result 250 from the classifier 204 to generate the output audio signal 230. In this way, when the result indicates that the input audio signal is a stereo signal, the output audio signal corresponds to a binaural audio signal, and when the result indicates that the input audio signal is a binaural signal, the output audio signal corresponds to the input audio signal.
[0063] In embodiments that include smoothing (e.g., 310 and 312), the input audio signal and the binaural audio signal are mixed according to the results of smoothing by the smoother. For example, the mixer 210 (see FIG. 2) may perform the mixing according to the smoothing result 252 from the smoother 206. In embodiments that do not include smoothing (e.g., when 310 and 312 are omitted), the input audio signal and the binaural audio signal are mixed according to the results from the classifier. For example, the mixer 210 (see FIG. 2) may perform the mixing according to the result 250 from the classifier 204 (e.g., without smoothing by the smoother 206).
[0064] 4 is a block diagram illustrating additional details of the feature extractor 202 (see FIG. 2). The feature extractor 202 includes a signal converter 402, a feature calculator 404, a parameter mask 406, a histogram analyzer 408, and a statistics calculator 410. These components may be implemented by the processor 108 and memory 110 (see FIG. 1), for example, by storing and executing one or more computer programs.
[0065] The signal converter 402 generally receives the input audio signal 220 and performs a transformation to generate the transformed domain information 420. Transformation generally refers to converting a signal from one signal domain to another. For example, the input audio signal 220 may be a time domain signal (e.g., a PCM signal) and the transformed domain information 420 may be frequency domain information, quadrature mirror filter (QMF) domain information, complex QMF (CQMF) domain information, hybrid CQMF (HCQMF) domain information, etc. Generally, the QMF domain information is generated by a filter whose magnitude response is a mirror image around π / 2 of the magnitude response of the other filter. These filters together are called a QMF pair. Generally, when the QMF filter coefficients include complex values, the CQMF domain information results. Generally, the HCQMF domain information corresponds to the CQMF domain information where the CQMF filter bank is extended into a hybrid structure to obtain an efficient non-uniform frequency resolution that matches the frequency resolution of the human auditory system. According to a specific HCQMF implementation, the HCQMF information is generated into 77 frequency bands, and the lower CQMF sub-bands are further divided to obtain higher frequency resolution for the lower frequencies. As will be described in more detail later, the signal converter 402 generates the HCQMF domain information as the transform domain information 420. According to a specific implementation, the input audio signal 220 is a 48 kHz sampled time domain signal in two channels, and the signal converter 402 converts each channel into 60 subdivided bands in the HCQMF domain to form the transform domain information 420. According to another specific implementation, the signal converter 402 converts each channel into 64 CQMF sub-bands, and further divides the lower three sub-bands into sub-sub-bands as follows: the first sub-band is divided into eight sub-sub-sub-bands, and the second and third sub-bands are each divided into four sub-sub-bands.
[0066] For an input audio signal 220 represented by an input signal pair, the signal transformer 402 performs a transform domain transformation to decompose the signal into several subband (frequency band) signals and form transform domain information 420, denoted x1(k) and x2(k). Feature extraction operates on the transform domain information (e.g., the frequency band representation).
[0067] The feature calculator 404 generally calculates one or more features 422 from the transform domain information 420. These features 422, also referred to as raw features, may include one or more of Inter-Channel Level Difference (ICLD), Inter-Channel Phase Difference (ICPD), Inter-Channel Coherence (ICC), and Inter-Channel Time Difference (ICTD). (Note that the ICTD feature may be omitted in transform domain processing such as HCQMF implementations.)
[0068] The ICLD ΔL(k) for complex-valued signals x1(k) and x2(k) is given by
number
[0069] The ICPD φ(k) for x1(k) and x2(k) is
number
[0070] The ICC c(k) for x1(k) and x2(k) is
number
number
[0071] Note that all raw features are functions of frequency band k. For simplicity of notation, we use r(k) to represent one or more of the above raw features.
[0072] The parameter mask 406 generally applies masking to the features 422 to generate modified features 424, where the masking is applied to a band of interest. The frequency bands {1, ..., K} are divided into several parameter bands {k b} b=1,…,B Note that the division depends on the sampling rate of the audio signal.
[0073] For each raw feature r(k) (which can be either ICLD, ICPD, ICC, etc.), a feature-specific parameter band masking M r (k) is applied to the corresponding raw features to obtain the modified features r'(k): r'(k)=M r (k)·r(k) (9) Here, masking M r (k)
number
[0074] The histogram analyzer 408 generally calculates a histogram 426 over parameter bands (also called subbands) for each of the modified features 424. Specifically, each parameter band b has n BarsPerHist The histogram has a number of bars. The histogram is a function of the features that belong to parameter band b, i.e., r'(k), k∈{k b} is generated based on
[0075] Considering the frequency band energy and the parameter band energy, two weighting factors are calculated for the modified features, namely, the frequency band energy weighting g F and parameter band energy weighting g P Take.
[0076] Frequency band energy weighting g F (k) is
number
[0077] The parameter band energy weighting is g P (k) is
number
[0078] Then, the histogram h(i) on the parameter band is
number
number
[0079] The statistics calculator 410 typically calculates window-level statistics for the modified features 424 and histograms 426 for N frames forming the window length. The statistics calculator 410 calculates statistics such as the mean and standard variation of the histograms (over N) as the final features. The statistics calculator 410 provides these statistics to the classifier 204 as features 240 (see FIG. 2).
[0080] Model Training
[0081] As discussed above, the classifier 204 (see FIG. 2) implements a machine learning process to perform classification. According to an embodiment, the machine learning model stored by the classifier 204 is a static model. Generally, a static model is trained offline (e.g., when the device is manufactured or initialized, e.g., during a software build of the firmware) and does not change during operation of the device (e.g., unless the device's firmware is updated). A static model may be contrasted with a dynamic model, which changes in response to changing inputs as the device is operated. Generally, the creation of a static model is performed on training data, and the static model - once generated - operates on operational data.
[0082] The training data may be selected based on categories of data similar to the categories of data on which the operational system is expected to operate. Exemplary categories include movie content (e.g., movies of various genres such as drama, comedy, action, etc.), broadcast content (e.g., programs of various genres such as sports, advertising, drama, comedy, news, etc.), music content (e.g., selected from various genres such as classical, pop, etc.), gaming content, etc. The length of content for training purposes may range from as little as 5 hours to as much as 20 hours for each general category, although it is understood that more diverse content will improve the robustness of the model.
[0083] The model may be trained using pure binaural data (e.g., audio captured using binaural microphones), using rendered binaural (e.g., non-binaurally captured audio rendered into a binaural format, e.g., using head-related transfer functions), or both. The model may be biased to avoid detecting binaural as stereo; when indecisive between binaural and stereo, the decision bias is toward binaural.
[0084] The following paragraphs describe various training processes that may be used to generate a static model. For brevity, these are described in the context of an operational system (e.g., Figures 1-4), with the understanding that for the static model to be accurate, the training system should resemble the operational system.
[0085] Option 1: Single feature
[0086] One option is to use a single feature, for example ICPD. Referring to Figure 4, the signal converter 402 is configured to convert the input audio signal 220 into information in 77 HCQMF bins (also called bands) corresponding to the transform domain information 420. The feature calculator 404 is configured to calculate ICPD (see equation (5)) from the information in the 77 HCQMF bins corresponding to the feature 422.
[0087] Analysis of the model training determined that bins 21-60 (out of 77 HCQMF bins) provided particularly robust classification results, and parameter mask 406 is therefore configured to apply masking such that bins 21-60 correspond to bins 21-60 from which modified features 424 are selected.
[0088] The histogram analyzer 408 is configured to compute a histogram with B bars on each bin of the modified features 424 and to compute the frequency band energies and parameter band energies (see equations (11)-(12)) to give the final frame-level features (corresponding to the histograms 426).
[0089] Finally, the statistics calculator 410 is configured to calculate the mean and standard deviation of the histograms 426 over a defined period, for example 1 second.
[0090] Option 2: Multiple Features
[0091] Another option is to use multiple features. In this option, the selected features are ICPD, ICLD, and ICC. Referring to FIG. 4, the signal converter 402 is configured to convert the input audio signal 220 into information in HCQMF bins (e.g., 77 HCQMF bins according to one embodiment) corresponding to the transform domain information 420. Furthermore, the signal converter 402 is configured to group the HCQMF bins into subbands. According to one embodiment, the 77 HCQMF bins are grouped into four subbands; an exemplary grouping is bins 1-10 into subband 1, bins 11-18 into subband 2, bins 19-30 into subband 3, and bins 31-77 into subband 4. The feature calculator 404, parameter mask 406, histogram analyzer 408, and statistics calculator 410 are configured to process the input information as follows:
[0092] The eight features of the 436 dimensions can be categorized as shown in Tables 1-3 (note that there is some overlap): [Table 1] [Table 2] [Table 3]
[0093] In Tables 1 to 3, ICPD, ICC, and ICLD are as above. In general, each 88-dimensional feature is calculated, and other features are derived from the calculated features. weightedICPD corresponds to the histogram of the product of ICPD and ICC. Feature rWICPD corresponds to the following equation:
number
[0094] The characteristic rICPD corresponds to the following formula:
number
[0095] The feature histICGD corresponds to the histogram of ICGD, where ICGD is φ(k) / f c (k), φ(k) is the ICPD defined in equation (5), and f c (k) is the center frequency of band k. The feature ratioICC is the fraction between the weighted ICC of the current subband and the overall weighted ICC, i.e.
number
[0096] During model testing, various feature selection permutations were evaluated under both the visible (e.g., using data generated by a known binauralizer) and unseen (e.g., using data generated by an unknown binauralizer) cases. Several conclusions were drawn from these experiments. First, if the same number of features are selected, grouping the features into three categories (as in Tables 1-3) achieves better performance than using two categories. Second, preserving ratioICC (6 dimensions) and histICGD (62 dimensions) usually improves the accuracy of the unseen case; these two features play an important role for the unseen case. Third, high-dimensional features (e.g., ICPD is 88 dimensions) have some impact on the visible case. Fourth, adding ICLD (88 dimensions) usually improves the accuracy for both cases.
[0097] Subbands are then used to reduce the 436 dimensions to 200. Specifically, ICPD is calculated for 44 dimensions using subbands 1 and 2 (subbands 3 and 4 are excluded); ICC is calculated for 44 dimensions using subbands 1 and 2 (subbands 3 and 4 are excluded); ICLD is calculated for 44 dimensions using subbands 3 and 4 (subbands 1 and 2 are excluded); histICD is saved for 62 dimensions; ratioICC is saved for 6 dimensions; weightedICPD, rWICPD and rICPD are discarded. This reduction results in remaining accuracy for the visible cases and slightly improved accuracy for the invisible cases.
[0098] Machine Learning Model Options
[0099] As discussed above, various machine learning models may be used to implement the classifier 204 (see FIG. 2) or to perform model training. Suitable machine learning models include AdaBoost (adaptive boosting) models, deep neural network (DNN) models, and sparse DNN models.
[0100] AdaBoost models generally generate a strong classifier from a set of weak classifiers. In one embodiment, each weak classifier is a naive Bayes classifier that makes a binary decision based on one feature. The first weak classifier is constructed by searching for the most discriminatory feature. When constructing the next weak classifier based on the classification result of this weak classifier, the weight of misclassified samples is increased. That is, the next weak classifier focuses more on the mistakes made by the previous weak classifier, and thus complementary features may be selected, thus increasing the overall accuracy of the strong classifier.
[0101] DNN models generally aggregate multiple stages of interconnected nodes. This "deep" aspect can be contrasted with "shallow" neural networks that have fewer stages of interconnected nodes. A DNN as used herein may be a multi-layer network that includes hidden layers. In one embodiment, a DNN with three hidden layers is used, each containing 200 nodes, applying a 50% dropout and using a sigmoid as the activation function.
[0102] A sparse DNN model generally refers to a DNN to which methods have been applied to regularize the structures (e.g., filters, node weights, etc.) in order to reduce the memory footprint of the model. In one embodiment, the weights of the trained model are quantized based on the following formula:
number
[0103] Similar techniques, such as sparse matrix storage, can be used to reduce the footprint of the model, while also reducing the computational complexity of the model, and while increasing the generalization ability of the model.
[0104] Implementation details
[0105] The embodiments may be implemented in hardware, executable modules stored on a computer-readable medium, or a combination of both (e.g., programmable logic arrays). Unless otherwise specified, steps performed by the embodiments need not inherently relate to a particular computer or other apparatus, although some embodiments may. In particular, various general-purpose machines may be used with programs written in accordance with the teachings herein, or it may be more convenient to construct a more specialized apparatus (e.g., an integrated circuit) to perform the required method steps. Thus, the embodiments may be implemented in one or more computer programs running on one or more programmable computer systems, each having at least one processor, at least one data storage system (including volatile and non-volatile memory and / or storage elements), at least one input device or port, and at least one output device or port. The program code is applied to the input data to perform the functions described herein and to generate output information. The output information is applied to one or more output devices in a known manner.
[0106] Each such computer program is preferably stored in or downloaded to a general-purpose or special-purpose programmable computer-readable storage medium or device (e.g., solid-state memory or medium, or magnetic or optical medium) to configure and operate a computer when the storage medium or device is read by a computer system to perform the procedures described herein. The system of the present invention may also be considered to be implemented as a computer-readable storage medium configured with a computer program, the storage medium so configured causing the computer system to operate in a specific, predetermined manner to perform the functions described herein. (Software per se and intangible or transitory signals are excluded insofar as they are non-patentable subject matter.)
[0107] The above description illustrates various embodiments of the present invention, along with examples of how aspects of the present invention may be implemented. The above examples and embodiments should not be considered as the only embodiments, but are presented to illustrate the flexibility and advantages of the present invention as defined by the claims. Based on the above disclosure and the following claims, other configurations, embodiments, implementations and equivalents will be apparent to those skilled in the art and can be used without departing from the spirit and scope of the present invention as defined by the claims.
[0108] Several aspects will be described. [Aspect 1] 1. An apparatus for detecting binauralization of an audio signal, the apparatus comprising: a feature extractor configured to receive an input audio signal and configured to extract a plurality of features from the input audio signal; a classifier configured to receive the features extracted by the feature extractor, configured to perform a classification of the features, and configured to generate a result based on the classification, the result indicating a probability that the input audio signal is a binaural signal rather than a stereo signal; and a virtualizer configured to receive the input audio signal and configured to perform virtualization on the input audio signal to generate a binaural audio signal; a mixer configured to receive the input audio signal, the binaural audio signal and the result, and configured to mix the input audio signal and the binaural audio signal in accordance with the result to generate an output audio signal; if the result indicates that the input audio signal is a stereo signal, the output audio signal corresponds to the binaural audio signal; if the result indicates that the input audio signal is a binaural audio signal, the output audio signal corresponds to the input audio signal; Device. [Aspect 2] a smoother configured to smooth the results from the classifier and configured to provide a smoothed result to the mixer; the mixer is configured to mix the input audio signal and the binaural audio signal according to the result smoothed by the smoother. 2. The apparatus of embodiment 1. [Aspect 3] 3. The apparatus of claim 2, wherein the smoothed result by the smoother is provided to the virtualizer, and the virtualizer is configured to perform virtualization based on the smoothed result. Aspect 4 4. The apparatus of any one of aspects 1-3, wherein the feature extractor is configured to transform the input audio signal into transform domain information. Aspect 5 5. The apparatus of any one of aspects 1 to 4, wherein the feature extractor is configured to extract features including at least one of an inter-channel time difference (ICTD) feature, an inter-channel phase difference (ICPD) feature, an inter-channel level difference (ICLD) feature, and an inter-channel coherence (ICC) feature. Aspect 6 6. The apparatus of any one of aspects 1 to 5, wherein the feature extractor is configured to transform the input audio signal into hybrid complex quadrature mirror filter (HCQMF) domain information. Aspect 7 6. The apparatus of any one of aspects 1 to 5, wherein the feature extractor is configured to convert the input audio signal into hybrid complex quadrature mirror filter (HCQMF) domain information, and the feature extractor is configured to extract features including inter-channel phase difference (ICPD) of a subset of bands of the HCQMF domain information. Aspect 8 The apparatus of claim 7, wherein the HCQMF domain information includes 77 bands, and the subset of bands includes bands 21 to 60. Aspect 9 6. The apparatus of any one of aspects 1 to 5, wherein the feature extractor is configured to convert the input audio signal into Hybrid Complex Quadrature Mirror Filter (HCQMF) domain information, the feature extractor is configured to group the HCQMF domain information into a plurality of subbands, and the feature extractor is configured to extract features including an Inter-Channel Phase Difference (ICPD) feature for a first subset of the plurality of subbands, an Inter-Channel Coherence (ICC) feature for the first subset of the plurality of subbands, and an Inter-Channel Level Difference (ICLD) feature for a second subset of the plurality of subbands. Aspect 10 The feature extractor: a signal converter configured to generate transform domain information from the input audio signal; a feature calculator configured to calculate a plurality of raw features from the transform domain information; a parameter mask configured to apply masking to the plurality of raw features to generate a plurality of modified features; a histogram analyzer configured to calculate a plurality of histograms over a plurality of parameter bands for each of the plurality of modified features; a statistics calculator configured to calculate a plurality of window level statistics from the plurality of modified features and the plurality of histograms, the plurality of window level statistics corresponding to the plurality of features extracted by the feature extractor. 10. An apparatus according to any one of embodiments 1 to 9. Aspect 11 11. The apparatus of any one of aspects 1-10, wherein the classifier is configured to implement a machine learning model to perform the classification of the plurality of features. Aspect 12 12. The apparatus of claim 11, wherein the machine learning model is one of an adaptive boosting model, a deep neural network model, and a sparse deep neural network model. Aspect 13 13. The apparatus of any one of aspects 1 to 12, further comprising a processor; and a memory, An apparatus, wherein the processor is configured to implement the feature extractor, the classifier, the virtualizer, and the mixer. Aspect 14 The apparatus of aspect 13, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the feature extractor, the classifier, the virtualizer, and the mixer. Aspect 15 The output audio signal comprises a left output component and a right output component, the apparatus further comprising: a left speaker configured to output the left output component; a right speaker configured to output the right output component. 15. An apparatus according to any one of embodiments 1 to 14. Aspect 16 15. The device of any one of aspects 1-14, further comprising a first earbud and a second earbud, the first earbud includes a first speaker, a first processor, and a first memory, the first processor configured to implement the feature extractor, the classifier, the virtualizer, and the mixer; the second earbud includes a second speaker, a second processor, and a second memory, the second processor configured to implement a second feature extractor, a second classifier, a second virtualizer, and a second mixer. Device. Aspect 17 1. A method for detecting binauralization of an audio signal, the method comprising: receiving an input audio signal; extracting, by a feature extractor, a plurality of features from the input audio signal; performing, by a classifier, classification of the plurality of features extracted by the feature extractor; generating, by the classifier, a result based on the classification, the result indicating a probability that the input audio signal is a binaural signal as opposed to a stereo signal; performing virtualization on the input audio signal by a virtualizer to generate a binaural audio signal; mixing the input audio signal and the binaural audio signal by a mixer according to the result to generate an output audio signal; when the result indicates that the input audio signal is a stereo signal, the output audio signal corresponds to the binaural audio signal; when the result indicates that the input audio signal is a binaural signal, the output audio signal corresponds to the input audio signal. method. Aspect 18 smoothing the results from the classifier with a smoother; and providing the result smoothed by the smoother to the mixer; the mixer mixes the input audio signal and the binaural audio signal according to the result smoothed by the smoother; The method according to embodiment 17. Aspect 19 The output audio signal comprises a left output component and a right output component, the method further comprising: outputting the left output component from a left speaker; outputting the right output component from a right speaker; 19. The method according to embodiment 17 or 18. Aspect 20 A non-transitory computer-readable medium storing a computer program which, when executed by a processor, controls an apparatus to perform processing including the method described in any one of aspects 17 to 19.
Claims
1. 1. An apparatus for detecting binauralization of an audio signal, the apparatus comprising: a feature extractor configured to receive an input audio signal and configured to extract a plurality of features from the input audio signal; a classifier configured to receive the features extracted by the feature extractor, configured to perform a classification of the features, and configured to generate a result based on the classification, the result indicating a probability that the input audio signal is a binaural signal; and a virtualizer configured to receive the input audio signal and configured to perform virtualization on the input audio signal to generate a binaural audio signal; a mixer configured to receive the input audio signal, the binaural audio signal and the result, and configured to generate an output audio signal according to the result; if the result indicates that the input audio signal is not the binaural signal, the output audio signal corresponds to the binaural audio signal; if the result indicates that the input audio signal is a binaural audio signal, the output audio signal corresponds to the input audio signal. Device.
2. a smoother configured to smooth the results from the classifier and configured to provide a smoothed result to the mixer; the mixer is configured to mix the input audio signal and the binaural audio signal according to the result smoothed by the smoother.
2. The apparatus of claim 1.
3. The apparatus of claim 2 , wherein the result smoothed by the smoother is provided to the virtualizer, the virtualizer being configured to perform virtualization based on the smoothed result.
4. The apparatus of claim 1 , wherein the feature extractor is configured to transform the input audio signal into transform domain information.
5. 2. The apparatus of claim 1, wherein the feature extractor is configured to extract features including at least one of an inter-channel time difference (ICTD) feature, an inter-channel phase difference (ICPD) feature, an inter-channel level difference (ICLD) feature, and an inter-channel coherence (ICC) feature.
6. The apparatus of claim 1 , wherein the feature extractor is configured to transform the input audio signal into Hybrid Complex Quadrature Mirror Filter (HCQMF) domain information.
7. 2. The apparatus of claim 1, wherein the feature extractor is configured to convert the input audio signal into Hybrid Complex Quadrature Mirror Filter (HCQMF) domain information, and the feature extractor is configured to extract features comprising Inter-Channel Phase Difference (ICPD) of a subset of bands of the HCQMF domain information.
8. The apparatus of claim 7 , wherein the HCQMF domain information includes 77 bands, and the subset of bands includes bands 21-60.
9. 2. The apparatus of claim 1, wherein the feature extractor is configured to convert the input audio signal into Hybrid Complex Quadrature Mirror Filter (HCQMF) domain information, the feature extractor is configured to group the HCQMF domain information into a plurality of subbands, and the feature extractor is configured to extract features including Inter-Channel Phase Difference (ICPD) features of a first subset of the plurality of subbands, Inter-Channel Coherence (ICC) features of the first subset of the plurality of subbands, and Inter-Channel Level Difference (ICLD) features of a second subset of the plurality of subbands.
10. The feature extractor: a signal converter configured to generate transform domain information from the input audio signal; a feature calculator configured to calculate a plurality of raw features from the transform domain information; a parameter mask configured to apply masking to the plurality of raw features to generate a plurality of modified features; a histogram analyzer configured to calculate a plurality of histograms over a plurality of parameter bands for each of the plurality of modified features; a statistics calculator configured to calculate a plurality of window level statistics from the plurality of modified features and the plurality of histograms, the plurality of window level statistics corresponding to the plurality of features extracted by the feature extractor.
2. The apparatus of claim 1.
11. The apparatus of claim 1 , wherein the classifier is configured to implement a machine learning model to perform the classification of the plurality of features.
12. 12. The apparatus of claim 11, wherein the machine learning model is one of an adaptive boosting model, a deep neural network model, and a sparse deep neural network model.
13. 10. The apparatus of claim 1 further comprising: a processor; and a memory, An apparatus, wherein the processor is configured to implement the feature extractor, the classifier, the virtualizer, and the mixer.
14. 14. The apparatus of claim 13, wherein the memory stores a computer program, and the processor is configured to execute the computer program to implement the feature extractor, the classifier, the virtualizer, and the mixer.
15. The output audio signal comprises a left output component and a right output component, the apparatus further comprising: a left speaker configured to output the left output component; a right speaker configured to output the right output component.
2. The apparatus of claim 1.
16. 10. The device of claim 1, further comprising a first earbud and a second earbud, the first earbud includes a first speaker, a first processor, and a first memory, the first processor configured to implement the feature extractor, the classifier, the virtualizer, and the mixer; the second earbud includes a second speaker, a second processor, and a second memory, the second processor configured to implement a second feature extractor, a second classifier, a second virtualizer, and a second mixer. Device.
17. 1. A method for detecting binauralization of an audio signal, the method comprising: receiving an input audio signal; extracting, by a feature extractor, a plurality of features from the input audio signal; performing, by a classifier, a classification of the plurality of features extracted by the feature extractor; generating, by the classifier, a result based on the classification, the result indicating a probability that the input audio signal is a binaural signal; performing virtualization on the input audio signal by a virtualizer to generate a binaural audio signal; and generating, by a mixer, an output audio signal according to the result; when the result indicates that the input audio signal is not the binaural signal, the output audio signal corresponds to the binaural audio signal; and when the result indicates that the input audio signal is a binaural signal, the output audio signal corresponds to the input audio signal. method.
18. A non-transitory computer readable medium storing a computer program which, when executed by a processor, controls an apparatus to perform processes including the method of claim 17.
19. the result indicates a probability that the input audio signal is the binaural signal rather than a stereo signal; when the result indicates that the input audio signal is a stereo signal, the output audio signal corresponds to the binaural audio signal.
2. The apparatus of claim 1.
20. The apparatus of claim 1 , wherein the mixer is configured to mix the input audio signal and the binaural audio signal according to the result.
Citation Information
Patent Citations
Sound source localization based on binaural signal
JP2005338086A
Simulation game system, and information processing method and program
JP2016067817A
Equalizer controller and control method
JP2016519493A
