WO2009000073A1 - Method and device for sound activity detection and sound signal classification - Google Patents

Method and device for sound activity detection and sound signal classification Download PDF

Info

Publication number
WO2009000073A1
WO2009000073A1 PCT/CA2008/001184 CA2008001184W WO2009000073A1 WO 2009000073 A1 WO2009000073 A1 WO 2009000073A1 CA 2008001184 W CA2008001184 W CA 2008001184W WO 2009000073 A1 WO2009000073 A1 WO 2009000073A1
Authority
WO
WIPO (PCT)
Prior art keywords
sound signal
signal
sound
noise
calculating
Prior art date
Application number
PCT/CA2008/001184
Other languages
French (fr)
Other versions
WO2009000073A8 (en
Inventor
Vladimir Malenovsky
Milan Jelinek
Tommy Vaillancourt
Redwan Salami
Original Assignee
Voiceage Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=40185136&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=WO2009000073(A1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Voiceage Corporation filed Critical Voiceage Corporation
Priority to JP2010512474A priority Critical patent/JP5395066B2/en
Priority to ES08783143.4T priority patent/ES2533358T3/en
Priority to EP08783143.4A priority patent/EP2162880B1/en
Priority to CA2690433A priority patent/CA2690433C/en
Priority to US12/664,934 priority patent/US8990073B2/en
Publication of WO2009000073A1 publication Critical patent/WO2009000073A1/en
Publication of WO2009000073A8 publication Critical patent/WO2009000073A8/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • G10L19/22Mode decision, i.e. based on audio signal content versus external parameters

Definitions

  • the present invention relates to sound activity detection, background noise estimation and sound signal classification where sound is understood as a useful signal.
  • the present invention also relates to corresponding sound activity detector, background noise estimator and sound signal classifier.
  • the sound activity detection is used to select frames to be encoded using techniques optimized for inactive frames.
  • the sound signal classifier is used to discriminate among different speech signal classes and music to allow for more efficient encoding of sound signals, i.e. optimized encoding of unvoiced speech signals, optimized encoding of stable voiced speech signals, and generic encoding of other sound signals.
  • An algorithm uses several relevant parameters and features to allow for a better choice of coding mode and more robust estimation of the background noise.
  • Tonality estimation is used to improve the performance of sound activity detection in the presence of music signals, and to better discriminate between unvoiced sounds and music.
  • the tonality estimation may be used in a super-wideband codec to decide the codec model to encode the signal above 7 kHz.
  • a sound encoder converts a sound signal (speech or audio) into a digital bit stream which is transmitted over a communication channel or stored in a storage medium.
  • the sound signal is digitized, that is, sampled and quantized with usually 16-bits per sample.
  • the sound encoder has the role of representing these digital samples with a smaller number of bits while maintaining a good subjective quality.
  • the sound decoder operates on the transmitted or stored bit stream and converts it back to a sound signal.
  • CELP Code-Excited Linear Prediction
  • This coding technique is a basis of several speech coding standards both in wireless and wireline applications.
  • the sampled speech signal is processed in successive blocks of L samples usually called frames, where L is a predetermined number corresponding typically to 10-30 ms.
  • a linear prediction (LP) filter is computed and transmitted every frame.
  • the L-sample frame is divided into smaller blocks called subframes.
  • an excitation signal is usually obtained from two components, the past excitation and the innovative, fixed- codebook excitation.
  • the component formed from the past excitation is often referred to as the adaptive codebook or pitch excitation.
  • the parameters characterizing the excitation signal are coded and transmitted to the decoder, where the reconstructed excitation signal is used as the input of the LP filter.
  • VBR variable bit rate
  • the codec uses a signal classification module and an optimized coding model is used for encoding each speech frame based on the nature of the speech frame (e.g. voiced, unvoiced, transient, background noise). Further, different bit rates can be used for each class.
  • the simplest form of source-controlled VBR coding is to use voice activity detection (VAD) and encode the inactive speech frames (background noise) at a very low bit rate.
  • VAD voice activity detection
  • DTX Discontinuous transmission
  • the decoder uses comfort noise generation (CNG) to generate the background noise characteristics.
  • VAD/DTX/CNG results in significant reduction in the average bit rate, and in packet-switched applications it reduces significantly the number of routed packets.
  • VAD algorithms work well with speech signals but may result in severe problems in case of music signals. Segments of music signals can be classified as unvoiced signals and consequently may be encoded with unvoiced-optimized model which severely affects the music quality. Moreover, some segments of stable music signals may be classified as stable background noise and this may trigger the update of background noise in the VAD algorithm which results in degradation in the performance of the algorithm. Therefore, it would be advantageous to extend the VAD algorithm to better discriminate music signals. In the present disclosure, this algorithm will be referred to as Sound Activity Detection (SAD) algorithm where sound could be speech or music or any useful signal. The present disclosure also describes a method for tonality detection used to improve the performance of the SAD algorithm in case of music signals.
  • SAD Sound Activity Detection
  • embedded coding also known as layered coding.
  • the signal is encoded in a first layer to produce a first bit stream, and then the error between the original signal and the encoded signal from the first layer is further encoded to produce a second bit stream.
  • the bit streams of all layers are concatenated for transmission.
  • the advantage of layered coding is that parts of the bit stream (corresponding to upper layers) can be dropped in the network (e.g. in case of congestion) while still being able to decode the signal at the receiver depending on the number of received layers.
  • Layered encoding is also useful in multicast applications where the encoder produces the bit stream of all layers and the network decides to send different bit rates to different end points depending on the available bit rate in each link.
  • Embedded or layered coding can be also useful to improve the quality of widely used existing codecs while still maintaining interoperability with these codecs. Adding more layers to the standard codec core layer can improve the quality and even increase the encoded audio signal bandwidth. Examples are the recently standardized ITU-T Recommendation G.729.1 where the core layer is interoperable with widely used G.729 narrowband standard at 8 kbit/s and upper layers produces bit rates up to 32 kbit/s (with wideband signal starting from 16 kbit/s). Current standardization work aims at adding more layers to produce a super-wideband codec (14 kHz bandwidth) and stereo extensions. Another example is ITU-T Recommendation G.718 for encoding wideband signals at 8, 12, 16, 24 and 32 kbit/s. The codec is also being extended to encode super-wideband and stereo signals at higher bit rates.
  • the requirements for embedded codecs usually ask for good quality in case of both speech and audio signals.
  • the first layer (or first two layers) is (or are) encoded using a speech specific technique and the error signal for the upper layers is encoded using a more generic audio encoding technique.
  • This delivers a good speech quality at low bit rates and good audio quality as the bit rate is increased.
  • the first two layers are based on ACELP (Algebraic Code- Excited Linear Prediction) technique which is suitable for encoding speech signals.
  • ACELP Algebraic Code- Excited Linear Prediction
  • transform-based encoding suitable for audio signals is used to encode the error signal (the difference between the original signal and the output from the first two layers).
  • the well known MDCT Modified Discrete Cosine Transform
  • the error signal is transformed in the frequency domain.
  • the signal above 7 kHz is encoded using a generic coding model or a tonal coding model.
  • the above mentioned tonality detection can also be used to select the proper coding model to be used.
  • a method for estimating a tonality of a sound signal comprises: calculating a current residual spectrum of the sound signal; detecting peaks in the current residual spectrum; calculating a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and calculating a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.
  • a device for estimating a tonality of a sound signal comprises: means for calculating a current residual spectrum of the sound signal; means for detecting peaks in the current residual spectrum; means for calculating a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and means for calculating a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.
  • a device for estimating a tonality of a sound signal comprises: a calculator of a current residual spectrum of the sound signal; a detector of peaks in the current residual spectrum; a calculator of a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and a calculator of a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.
  • Figure 1 is a schematic block diagram of a portion of an example of sound communication system including sound activity detection, background noise estimation update, and sound signal classification;
  • Figure 2 is a non- limitative illustration of windowing in spectral analysis
  • Figure 3 is a non-restrictive graphical illustration of the principle of spectral floor calculation and the residual spectrum
  • Figure 4 is a non-limitative illustration of calculation of spectral correlation map in a current frame
  • Figure 5 is an example of functional block diagram of a signal classification algorithm
  • Figure 6 is an example of decision tree for unvoiced speech discrimination.
  • sound activity detection is performed within a sound communication system to classify short-time frames of signals as sound or background noise/silence.
  • the sound activity detection is based on a frequency dependent signal-to-noise ratio
  • SNR background noise energy per critical band.
  • a decision on the update of the background noise estimator is based on several parameters including parameters discriminating between background noise/silence and music, thereby preventing the update of the background noise estimator on music signals.
  • the SAD corresponds to a first stage of the signal classification. This first stage is used to discriminate inactive frames for optimized encoding of inactive signal. In a second stage, unvoiced speech frames are discriminated for optimized encoding of unvoiced signal. At this second stage, music detection is added in order to prevent classifying music as unvoiced signal. Finally, in a third stage, voiced signals are discriminated through further examination of the frame parameters.
  • NB wideband
  • WB wideband
  • the encoder used in the non-restrictive, illustrative embodiment of the present invention is based on AMR-WB [AMR Wideband Speech Codec: Transcoding Functions, 3GPP Technical Specification TS 26.190 (http://www.3gpp.org)] and VMR-WB [Source-Controlled Variable-Rate Multimode Wideband Speech Codec (VMR-WB), Service Options 62 and 63 for Spread Spectrum Systems, 3GPP2 Technical Specification C.S0052-A vl.0, April 2005 (http://www.3gpp2.org)] codecs which use an internal sampling conversion to convert the signal sampling frequency to 12800 sample/s (operating in a 6.4 kHz bandwidth).
  • the sound activity detection technique in the non- restrictive, illustrative embodiment operates on either narrowband or wideband signals after sampling conversion to 12.8 kHz.
  • Figure 1 is a block diagram of a sound communication system 100 according to the non-restrictive illustrative embodiment of the invention, including sound activity detection.
  • the sound communication system 100 of Figure 1 comprises a pre-processor 101.
  • Preprocessing by module 101 can be performed as described in the following example (high-pass filtering, resampling and pre-emphasis).
  • the input sound signal Prior to the frequency conversion, the input sound signal is high-pass filtered.
  • the cut-off frequency of the high-pass filter is 25 Hz for WB and 100 Hz for NB.
  • the high-pass filter serves as a precaution against undesired low frequency components.
  • the following transfer function can be used:
  • the high-pass filtering can be alternatively carried out after resampling to 12.8 kHz.
  • the input sound signal is decimated from 16 kHz to 12.8 kHz.
  • the decimation is performed by an upsampler that upsamples the sound signal by 4.
  • the resulting output is then filtered through a low-pass FIR (Finite Impulse Response) filter with a cut off frequency at 6.4 kHz.
  • the low-pass filtered signal is downsampled by 5 by an appropriate downsampler.
  • the filtering delay is 15 samples at a 16 kHz sampling frequency.
  • the sound signal is upsampled from 8 kHz to 12.8 kHz.
  • an upsampler performs on the sound signal an upsampling by 8.
  • the resulting output is then filtered through a low-pass FIR filter with a cut off frequency at 6.4 kHz.
  • a downsampler then downsamples the low-pass filtered signal by 5.
  • the filtering delay is 16 samples at 8 kHz sampling frequency.
  • a pre-emphasis is applied to the sound signal prior to the encoding process.
  • a first order high-pass filter is used to emphasize higher frequencies.
  • This first order high-pass filter forms a pre- emphasizer and uses, for example, the following transfer function:
  • Pre-emphasis is used to improve the codec performance at high frequencies and improve perceptual weighting in the error minimization process used in the encoder.
  • the input sound signal is converted to 12.8 kHz sampling frequency and preprocessed, for example as described above.
  • the disclosed techniques can be equally applied to signals at other sampling frequencies such as 8 kHz or 16 kHz with different preprocessing or without preprocessing.
  • the encoder 109 ( Figure 1) using sound activity detection operates on 20 ms frames containing 256 samples at the 12.8 kHz sampling frequency. Also, the encoder 109 uses a 10 ms look ahead from the future frame to perform its analysis ( Figure 2). The sound activity detection follows the same framing structure.
  • spectral analysis is performed in spectral analyzer 102.
  • Sound activity detection (first stage of signal classification) is performed in the sound activity detector 103 using noise energy estimates calculated in the previous frame.
  • the output of the sound activity detector 103 is a binary variable which is further used by the encoder 109 and which determines whether the current frame is encoded as active or inactive.
  • Noise estimator 104 updates a noise estimation downwards (first level of noise estimation and update), i.e. if in a critical band the frame energy is lower than an estimated energy of the background noise, the energy of the noise estimation is updated in that critical band.
  • Noise reduction is optionally applied by an optional noise reducer 105 to the speech signal using for example a spectral subtraction method.
  • An example of such a noise reduction scheme is described in [M. Jelinek and R. Salami, "Noise Reduction Method for Wideband Speech Coding," in Proc. Eusipco, Vienna, Austria, September 2004].
  • Linear prediction (LP) analysis and open-loop pitch analysis are performed (usually as a part of the speech coding algorithm) by a LP analyzer and pitch tracker
  • LP analyzer and pitch tracker 106 are used in the decision to update the noise estimates in the critical bands as performed in module 107.
  • the sound activity detector 103 can also be used to take the noise update decision.
  • 106 can be an integral part of the sound encoding algorithm.
  • music detection Prior to updating the noise energy estimates in module 107, music detection is performed to prevent false updating on active music signals. Music detection uses spectral parameters calculated by the spectral analyzer 102.
  • module 107 (second level of noise estimation and update). This module 107 uses all available parameters calculated previously in modules 102 to 106 to decide about the update of the energies of the noise estimation.
  • signal classifier 108 the sound signal is further classified as unvoiced, stable voiced or generic. Several parameters are calculated to support this decision.
  • the mode of encoding the sound signal of the current frame is chosen to best represent the class of signal being encoded.
  • Sound encoder 109 performs encoding of the sound signal based on the encoding mode selected in the sound signal classifier 108.
  • the sound signal classifier 108 can be an automatic speech recognition system.
  • Spectral analysis The spectral analysis is performed by the spectral analyzer 102 of Figure 1.
  • the spectral analysis is done twice per frame using a 256-point
  • FFT Fast Fourier Transform
  • the analysis windows are placed so that all look ahead is exploited.
  • the beginning of the first window is at the beginning of the encoder current frame.
  • the second window is placed 128 samples further.
  • a square root Harming window (which is equivalent to a sine window) has been used to weight the input sound signal for the spectral analysis. This window is particularly well suited for overlap-add methods
  • L FFT 256 is the size of the FTT analysis.
  • L FFT I2 the size of the FTT analysis.
  • 5 '(0) is the first sample in the current frame.
  • the beginning of the first window is placed at the beginning of the current frame.
  • the second window is placed 128 samples further.
  • N L FFT .
  • X R (0) corresponds to the spectrum at 0 Hz (DC)
  • X R ( ⁇ 28) corresponds to the spectrum at 6400 Hz. The spectrum at these points is only real valued.
  • Critical bands ⁇ 100.0, 200.0, 300.0, 400.0, 510.0, 630.0, 770.0,
  • the 256-point FFT results in a frequency resolution of 50 Hz (6400/128).
  • M CB ⁇ 2, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 6, 6, 8, 9, 11, 14, 18, 21 ⁇ , respectively.
  • the average energy in a critical band is computed using the following relation:
  • the spectral analyzer 102 also computes the normalized energy per frequency bin, E B iuik), in the range 0-6400 Hz, using the following relation:
  • the spectral analyzer 102 computes the average total energy for both the first and second spectral analyses in a 20 ms frame by adding the average critical band energies E CB - That is, the spectrum energy for a certain spectral analysis is computed using the following relation:
  • the total frame energy is computed as the average of spectrum energies of both the first and second spectral analyses in a frame. That is
  • E, l0 ⁇ og(0.5(E fiame (0) + E frame ( ⁇ )) , dB. (6)
  • the output parameters of the spectral analyzer 102 that is the average energy per critical band, the energy per frequency bin and the total energy, are used in the sound activity detector 103 and in the rate selection.
  • the average log-energy spectrum is used in the music detection.
  • the sound activity detection is performed by the SNR-based sound activity detector 103 of Figure 1.
  • Equation (2) The average energy per critical band for the whole frame and part of the previous frame is computed using the following relation:
  • SNR signal-to-noise ratio
  • N CB (i) is the estimated noise energy per critical band as will be explained below.
  • the average SNR per frame is then computed as
  • the sound activity is detected by comparing the average SNR per frame to a certain threshold which is a function of the long-term SNR.
  • the long-term SNR is given by the following relation:
  • E 1 and N f are computed using equations (13) and (14), respectively, which will be described later.
  • the initial value of E 1 is 45 dB.
  • the threshold is a piece-wise linear function of the long-term SNR. Two functions are used, one optimized for clean speech and one optimized for noisy speech.
  • a hysteresis in the SAD decision is added to prevent frequent switching at the end of an active sound period.
  • the hysteresis strategy is different for wideband and narrowband signals and comes into effect only if the signal is noisy.
  • the hangover period starts in the first inactive sound frame after three (3) consecutive active sound frames. Its function consists of forcing every inactive frame during the hangover period as an active frame. The SAD decision will be explained later.
  • the hysteresis strategy consists of decreasing the SAD decision threshold as follows:
  • the threshold becomes lower to give preference to active signal decision. There is no hangover for narrowband signals.
  • the sound activity detector 103 has two outputs - a SAD flag and a local SAD flag. Both flags are set to one if active signal is detected and set to zero otherwise. Moreover, the SAD flag is set to one in hangover period.
  • the SAD decision is done by comparing the average SNR per frame with the SAD decision threshold (via a comparator for example), that is: if SNR av > th SAD
  • a noise estimator 104 as illustrated in Figure 1 calculates the total noise energy, relative frame energy, update of long-term average noise energy and long- term average frame energy, average energy per critical band, and a noise correction factor. Further, the noise estimator 104 performs noise energy initialization and update downwards.
  • the total noise energy per frame is calculated using the following relation:
  • N 101 101ogf
  • N CB (i) is the estimated noise energy per critical band.
  • the relative energy of the frame is given by the difference between the frame energy in dB and the long-term average energy.
  • the relative frame energy is calculated using the following relation:
  • the long-term average noise energy or the long-term average frame energy is updated in every frame.
  • the long-term average frame energy is updated using the relation:
  • N f 0.99N f + 0.0 ⁇ N lol (14)
  • N f The initial value of N f is set equal to N lot for the first 4 frames. Also, in the first four (4) frames, the value of E f is bounded by E f ⁇ N 101 +10.
  • the frame energy per critical band for the whole frame is computed by averaging the energies from both the first and second spectral analyses in the frame using the following relation:
  • the noise energy per critical band N CB (i) is initialized to 0.03. At this stage, only noise energy update downward is performed for the critical bands whereby the energy is less than the background noise energy.
  • the temporary updated noise energy is computed using the following relation:
  • K tmp 0) 0.9JV c ⁇ (i) + 0. l( ⁇ .25£S (0 + 0-75 ⁇ C ⁇ ( ⁇ ) 08)
  • E ⁇ (i) denotes the energy per critical band corresponding to the second spectral analysis from the previous frame.
  • N CB (/) N tmp (i) .
  • the parametric sound activity detection and noise estimation update module 107 updates the noise energy estimates per critical band to be used in the sound activity detector 103 in the next frame.
  • the update is performed during inactive signal periods.
  • the SAD decision performed above which is based on the SNR per critical band, is not used for determining whether the noise energy estimates are updated.
  • Another decision is performed based on other parameters rather independent of the SNR per critical band.
  • the parameters used for the update of the noise energy estimates are: pitch stability, signal non-stationarity, voicing, and ratio between the 2 nd order and 16 th order LP residual error energies and have generally low sensitivity to the noise level variations.
  • the decision for the update of the noise energy estimates is optimized for speech signals.
  • an open-loop pitch analysis is performed in a LP analyzer and pitch tracker module 106 in Figure 1) to compute three open-loop pitch estimates per frame: d 0 , d ⁇ and d 2 corresponding to the first half-frame, second half-frame, and the lookahead, respectively.
  • This procedure is well known to those of ordinary skill in the art and will not be further described in the present disclosure (e.g.
  • VMR-WB Source- Controlled Variable-Rate Multimode Wideband Speech Codec (VMR-WB), Service Options 62 and 63 for Spread Spectrum Systems, 3GPP2 Technical Specification C.S0052-A vl.0, April 2005 (http://www.3gpp2.org)]).
  • the LP analyzer and pitch tracker module 106 calculates a pitch stability counter using the following relation:
  • d_ ⁇ is the lag of the second half-frame of the previous frame.
  • the value of pc in equation (19) is multiplied by 3/2 to compensate for the missing third term in the equation.
  • C norm (d) is the normalized raw correlation and r e is an optional correction added to the normalized correlation in order to compensate for the decrease of normalized correlation in the presence of background noise.
  • the voicing threshold thc pc 0.52 for WB, and thc pc - 0.65 for NB.
  • the correction factor can be calculated using the following relation:
  • M ot is the total noise energy per frame computed according to Equation (1 1).
  • the normalized raw correlation can be computed based on the decimated weighted sound signal s wd ⁇ n) using the following equation: r f )
  • the weighted signal s w jj ⁇ ) is the one used in open-loop pitch analysis and given by filtering the pre-processed input sound signal from pre-processor 101 through a weighting filter of the form A ⁇ zl ⁇ )l( ⁇ - ⁇ z ⁇ x ) .
  • the weighted signal s w jj ⁇ ) is decimated by 2 and the summation limits are given according to:
  • the parametric sound activity detection and noise estimation update module 107 performs a signal non-stationarity estimation based on the product of the ratios between the energy per critical band and the average long term energy per critical band.
  • the average long term energy per critical band is updated using the following relation:
  • Equation 15 E CB (i) is the frame energy per critical band defined in Equation (15).
  • the update factor a e is a linear function of the total frame energy, defined in Equation (6), and it is given as follows:
  • Equation (6) The frame non-stationarity is given by the product of the ratios between the frame energy and average long term energy per critical band. More specifically:
  • the parametric sound activity detection and noise estimation update module 107 further produces a voicing factor for noise update using the following relation:
  • E ⁇ 2) and E(16) are the LP residual energies after 2 nd order and 16 th order LP analysis as computed in the LP analyzer and pitch tracker module 106 using a Levinson-Durbin recursion which is a procedure well known to those of ordinary skill in the art.
  • This ratio reflects the fact that to represent a signal spectral envelope, a higher order of LP is generally needed for speech signal than for noise. In other words, the difference between E(2) and E(16) is supposed to be lower for noise than for active speech.
  • variable noise jupdate The value of the variable noise jupdate is updated in each frame as follows:
  • noise jupdate noise jupdate + 2
  • noise jipdate noise jupdate - 1
  • noise _update 0
  • N CB (i) N lmp (i)
  • N tmp ( ⁇ ) is the temporary updated noise energy already computed in Equation (18).
  • the parametric sound activity detection and noise estimation update module 107 uses other parameters or techniques in conjunction with the existing ones. These other parameters or techniques comprise, as described hereinabove, spectral diversity, complementary non-stationarity, noise character and tonal stability, which are calculated by a spectral diversity calculator, a complementary non-stationarity calculator, a noise character calculator and a tonality estimator, respectively. They will be described in detail herein below.
  • Spectral diversity gives information about significant changes of the signal in frequency domain.
  • the changes are tracked in critical bands by comparing energies in the first spectral analysis of the current frame and the second spectral analysis two frames ago.
  • the energy in a critical band i of the first spectral analysis in the current frame is denoted as (/) .
  • the parametric sound activity detection and noise estimation update module 107 calculates a spectral diversity parameter as a normalized weighted sum of the ratios with the weight itself being the maximum energy E max (z) .
  • This spectral diversity parameter is given by the following relation:
  • the spec_div parameter is used in the final decision about music activity and noise energy update.
  • the spec_div parameter is also used as an auxiliary parameter for the calculation of a complementary non-stationarity parameter which is described bellow.
  • Equation (26) closely resembles equation (21) with the only difference being the update factor ⁇ e which is given as follows:
  • the complementary non-stationarity parameter, nonstat2 may fail a few frames right after an energy attack, but should not fail during the passages characterized by a slowly-decreasing energy. Since the nonstat parameter works well on energy attacks and few frames after, a logical disjunction of nonstat and nonstat2 therefore solves the problem of inactive signal detection on certain musical signals. However, the disjunction is applied only in passages which are "likely to be active".
  • the coefficient k a is set to 0.99.
  • the parameter act_pred_LT which is in the range ⁇ 0:l> may be interpreted as a predictor of activity. When it is close to 1, the signal is likely to be active, and when it is close to 0, it is likely to be inactive.
  • the act_pred_LT parameter is initialized to one.
  • tonal ⁇ stability is a binary parameter which is used to detect stable tonal signal. This tonal _stability parameter will be described in the following description.
  • the nonstat2 parameter is taken into consideration (in disjunction with nonstat) in the update of noise energy only if actj ⁇ red_LT is higher than certain threshold, which has been set to 0.8.
  • the logic of noise energy update is explained in detail at the end of the present section.
  • Noise character is another parameter which is used in the detection of certain noise-like music signals such as cymbals or low-frequency drums. This parameter is calculated using the following relation:
  • the noise char parameter is calculated only for the frames whose spectral content has at least a minimal energy, which is fulfilled when both the numerator and the denominator of Equation (28) are larger than 100.
  • the noise_char parameter is upper limited by 10 and its long-term value is updated using the following relation:
  • noise_char JLT The initial value of noise _char JLT is 0 and a n is set equal to 0.9. This noise_char_LT parameter is used in the decision about noise energy update which is explained at the end of the present section.
  • Detection of tonal stability proceeds in three stages. Furthermore, detection of tonal stability uses a calculator of a current residual spectrum, a detector of peaks in the current residual spectrum and a calculator of a correlation map and a long-term correlation map, which will be described hereinabelow.
  • the indexes of local minima of the spectrum are searched (by a spectrum minima locator for example), in a loop described by the following formula and stored in a buffer i mn that can be expressed as follows:
  • E d ⁇ if denotes the average log-energy spectrum calculated through Equation (4).
  • the first index in / m ⁇ n is 0, if E dB (0) ⁇ E dB (1) . Consequently, the last index in / mn is NSP EC -1 , if E dB (N SPEC - 1) ⁇ E dB (N sp ⁇ c - 2) .
  • N mm Let us denote the number of minima found as N mm .
  • the second stage consists of calculating a spectral floor (through a spectral floor estimator for example) and subtracting it from the spectrum (via a suitable subtractor for example).
  • the spectral floor is a piece-wise linear function which runs through the detected local minima. Every linear piece between two consecutive minima i min (x) and i mm (x + 1) can be described as:
  • a correlation map and a long-term correlation map are calculated from the residual spectrum of the current and the previous frame. This is again a piece-wise operation.
  • the correlation map is calculated on a peak-by- peak basis since the minima delimit the peaks.
  • the residual spectrum of the previous frame E dg ⁇ l es (j) .
  • a normalized correlation is calculated with the shape in the previous residual spectrum corresponding to the position of this peak. If the signal was stable, the peaks should not move significantly from frame to frame and their positions and shapes should be approximately the same.
  • the leading bins of cor map up to z ' min (0) and the terminating bins corjnap from / min (N mm -Y) are set to zero.
  • the correlation map is shown in Figure 4.
  • the correlation map of the current frame is used to update its long term value which is described by:
  • cor_map_sum ⁇ corjnap_LT ⁇ j) .
  • cor_map_sum an adaptive threshold, thrjonal.
  • the adaptive threshold thrjonal is upper limited by 60 and lower limited by 49. Thus, the adaptive threshold thrjonal decreases when the correlation is relatively good indicating an active signal segment and increases otherwise. When the threshold is lower, more frames are likely to be classified as active, especially at the end of active periods. Therefore, the adaptive threshold may be viewed as a hangover.
  • the tonal _stability parameter is set to one whenever corjnap_sum is higher than thrjonal or when cor strong flag is set to one. More specifically:
  • All music detection parameters are incorporated in the final decision made in the parametric sound activity detection and noise estimation update (Up) module 107 about update of the noise energy estimates.
  • the signal is active and the noise update parameter is increased. Otherwise, the signal is inactive and the parameter is decreased. When it reaches 0, the noise energy is updated with the current signal energy.
  • the tonal _stability parameter is also used in the classification algorithm of unvoiced sound signal. Specifically, the parameter is used to improve the robustness of unvoiced signal classification on music as will be described in the following section.
  • the general philosophy under the sound signal classifier 108 (Figure 1) is depicted in Figure 5.
  • the approach can be described as follows.
  • the sound signal classification is done in three steps in logic modules 501, 502, and 503, each of them discriminating a specific signal class.
  • a signal activity detector (SAD) 501 discriminates between active and inactive signal frames.
  • This signal activity detector 501 is the same as that referred to as signal activity detector 103 in Figure 1.
  • the signal activity detector has already been described in the foregoing description.
  • the signal activity detector 501 detects an inactive frame (background noise signal), then the classification chain ends and, if Discontinuous Transmission
  • an encoding module 541 that can be incorporated in the encoder 109 ( Figure 1) encodes the frame with comfort noise generation (CNG). If DTX is not supported, the frame continues into the active signal classification, and is most often classified as unvoiced speech frame.
  • CNG comfort noise generation
  • an active signal frame is detected by the sound activity detector 501, the frame is subjected to a second classifier 502 dedicated to discriminate unvoiced speech frames. If the classifier 502 classifies the frame as unvoiced speech signal, the classification chain ends, an encoding module 542 that can be incorporated in the encoder 109 ( Figure 1) encodes the frame with an encoding method optimized for unvoiced speech signals.
  • the signal frame is processed through to a "stable voiced" classifier 503. If the frame is classified as a stable voiced frame by the classifier 503, then an encoding module 543 that can be incorporated in the encoder 109 ( Figure 1) encodes the frame using a coding method optimized for stable voiced or quasi periodic signals.
  • the frame is likely to contain a non-stationary signal segment such as a voiced speech onset or rapidly evolving voiced speech or music signal.
  • These frames typically require a general purpose encoding module 544 that can be incorporated in the encoder 109 ( Figure 1) to encode the frame at high bit rate for sustaining good subjective quality.
  • the unvoiced parts of the speech signal are characterized by missing the periodic component and can be further divided into unstable frames, where the energy and the spectrum changes rapidly, and stable frames where these characteristics remain relatively stable.
  • the non-restrictive illustrative embodiment of the present invention proposes a method for the classification of unvoiced frames using the following parameters:
  • the normalized correlation used to determine the voicing measure, is computed as part of the open-loop pitch analysis made in the LP analyzer and pitch tracker module 106 of Figure 1.
  • the LP analyzer and pitch tracker module 106 usually outputs an open-loop pitch estimate every 10 ms (twice per frame).
  • the LP analyzer and pitch tracker module 106 is also used to produce and output the normalized correlation measures.
  • These normalized correlations are computed on a weighted signal and a past weighted signal at the open-loop pitch delay.
  • the weighted speech signal s w (n) is computed using a perceptual weighting filter.
  • a perceptual weighting filter with fixed denominator, suited for wideband signals can be used.
  • An example of a transfer function for the perceptual weighting filter is given by the following relation: ⁇ l
  • A(z) is the transfer function of a linear prediction (LP) filter computed in the LP analyzer and pitch tracker module 106, which is given by the following relation:
  • the voicing measure is given by the average correlation C nom which is defined as:
  • C norm (do), C norm ⁇ d ⁇ ) and C norn idi) are respectively the normalized correlation of the first half of the current frame, the normalized correlation of the second half of the current frame, and the normalized correlation of the lookahead (the beginning of the next frame).
  • the arguments to the correlations are the above mentioned open- loop pitch lags calculated in the LP analyzer and pitch tracker module 106 of Figure 1.
  • a lookahead of 10 ms can be used, for example.
  • a correction factor r e is added to the average correlation in order to compensate for the background noise (in the presence of background noise the correlation value decreases).
  • the correction factor is calculated using the following relation:
  • Nt ot is the total noise energy per frame computed according to Equation (1 1).
  • the spectral tilt parameter contains information about frequency distribution of energy.
  • the spectral tilt can be estimated in the frequency domain as a ratio between the energy concentrated in low frequencies and the energy concentrated in high frequencies. However, it can be also estimated using other methods such as a ratio between the two first autocorrelation coefficients of the signal.
  • the spectral analyzer 102 in Figure 1 is used to perform two spectral analyses per frame as described in the foregoing description.
  • the energy in high frequencies and in low frequencies is computed following the perceptual critical bands [M. Jelinek and R. Salami, "Noise Reduction Method for Wideband Speech Coding," in Proc. Eusipco, Vienna, Austria, September 2004], repeated here for convenience
  • Critical bands ⁇ 100.0, 200.0, 300.0, 400.0, 510.0, 630.0, 770.0, 920.0, 1080.0, 1270.0, 1480.0, 1720.0, 2000.0, 2320.0, 2700.0, 3150.0, 3700.0, 4400.0, 5300.0, 6350.0 ⁇ Hz.
  • the energy in high frequencies is computed as the average of the energies of the last two critical bands using the following relations:
  • the energy in low frequencies is computed as the average of the energies in the first 10 critical bands (for NB signals, the very first band is not included), using the following relation:
  • a priori unvoiced sound signals must fulfill the following condition:
  • the energy in low frequencies is computed bin-wise and only frequency bins sufficiently close to the harmonics are taken into account into the summation. More specifically, the following relation is used:
  • w / ,(/) is set to 1 if the distance between the nearest harmonics is not larger than a certain frequency threshold (for example 50 Hz) and is set to 0 otherwise; therefore only bins closer than 50 Hz to the nearest harmonics are taken into account.
  • the counter cnt is equal to the number of non-zero terms in the summation.
  • the structure is harmonic in low frequencies, only high energy terms will be included in the sum.
  • the structure is not harmonic, the selection of the terms will be random and the sum will be smaller. Thus even unvoiced sound signals with high energy content in low frequencies can be detected.
  • N h and N 1 are the averaged noise energies in the last two (2) critical bands and the first 10 critical bands (or the first 9 critical bands for NB), respectively, computed in the same way as E h and E 1 in Equations (39) and (40).
  • the estimated noise energies have been included in the tilt computation to account for the presence of background noise.
  • the missing bands are compensated by multiplying e, by 6.
  • the spectral tilt computation is performed twice per frame to obtain e t (0) and e ( (l) corresponding to both the first and second spectral analyses per frame.
  • the average spectral tilt used in unvoiced frame classification is given by
  • inactive frames are usually coded with a coding mode designed for unvoiced speech in the absence of DTX operation.
  • a coding mode designed for unvoiced speech in the absence of DTX operation.
  • Unvoiced signal classification The classification of unvoiced signal frames is based on the parameters described above, namely: the voicing measure C 11017n , the average spectral tilt ⁇ e t , the maximum short-time energy increase at low level dEQ and the measure of background noise spectrum flatness, flH e ⁇ at .
  • the classification is further supported by the tonal stability parameter and the relative frame energy calculated during the noise energy update phase (module 107 in Figure 1).
  • the relative frame energy is calculated using the following relation:
  • E t is the total frame energy (in dB) calculated in Equation (6)
  • E f is the long-term average frame energy, updated in each active frame using the following relation:
  • the updating takes place only when SAD flag is set (variable SAD equal to 1).
  • the first line of the condition is related to low-energy signals and signals with low correlation concentrating their energy in high frequencies.
  • the second line covers voiced offsets, the third line covers explosive segments of a signal and the fourth line is for the voiced onsets.
  • the fifth line ensures flat spectrum in case of noisy inactive frames.
  • the last line discriminates music signals that would be otherwise declared as unvoiced.
  • the unvoiced classification condition takes the following form:
  • a frame is not classified as inactive frame or as unvoiced frame then it is tested if it is a stable voiced frame.
  • the decision rule is based on the normalized correlation in each subframe (with 1/4 subsample resolution), the average spectral tilt and open-loop pitch estimates in all subframes (with 1/4 subsample resolution).
  • the open-loop pitch estimation procedure is made by the LP analyzer and pitch tracker module 106 of Figure 1. In Equation (19), three open-loop pitch estimates are used: do, d ⁇ and c? 2 , corresponding to the first half-frame, the second half-frame and the look ahead. In order to obtain precise pitch information in all four subframes, 1/4 sample resolution fractional pitch refinement is calculated.
  • This refinement is calculated on the weighted sound signal s w d ⁇ ).
  • the weighted signal s w dn) is not decimated for open-loop pitch estimation refinement.
  • a short correlation analysis 64 samples at 12.8 kHz sampling frequency
  • resolution of 1 sample is done in the interval (-7,+7) using the following delays: cfo for the first and second subframes and d] for the third and fourth subframes.
  • the correlations are then interpolated around their maxima at the fractional positions d max - 3/4, J max - 1/2, d ma ⁇ - 1/4, d ms ⁇ , dmax + 1/4, cf max + 1/2, G? max + 3/4.
  • the value yielding the maximum correlation is chosen as the refined pitch lag.
  • the condition says that the normalized correlation is sufficiently high in all subframes, the pitch estimates do not diverge throughout the frame and the energy is concentrated in low frequencies. If this condition is fulfilled the classification ends by selecting voiced signal coding mode, otherwise the signal is encoded by a generic signal coding mode. The condition applies to both WB and NB signals.
  • a specific coding mode is used for sound signals with tonal structure.
  • the frequency range which is of interest is mostly 7000 - 14000 Hz but can also be different.
  • the objective is to detect frames having strong tonal content in the range of interest so that the tonal-specific coding mode may be used efficiently. This is done using the tonal stability analysis described earlier in the present disclosure. However, there are some aberrations which are described in this section.
  • the spectral floor which is subtracted from the log-energy spectrum is calculated in the following way.
  • MA moving- average
  • the filtered spectrum is given by:
  • spjloor(j) spjloorij - 1) + — [E dB (j + L MA )- E dB (j - L MA - 1)] , l L MA + l -
  • the spectral floor is then subtracted from the log-energy spectrum in the same way as described earlier in the present disclosure.
  • E res dB (j) > is then smoothed over 3 samples as follows using a short-time moving-average filter:
  • the decision about signal tonality in the super-wideband content is also the same as described earlier in the present disclosure, i.e. based on an adaptive threshold. However, in this case a different fixed threshold and step are used.
  • the adaptive threshold thrjonal is upper limited by 140 and lower limited by 120.
  • the fixed threshold has been set with respect to the frequency range 7000 - 14000 Hz. For a different range, it will have to be adjusted. As a general rule of thumb, the following relationship may be applied
  • the last difference to the method described earlier in the present disclosure is that the detection of strong tones is not used in the super wideband content. This is motivated by the fact that strong tones are perceptually not suitable for the purpose of encoding the tonal signal in the super wideband content.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

A device and method for estimating a tonality of a sound signal comprise: calculating a current residual spectrum of the sound signal; detecting peaks in the current residual spectrum; calculating a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and calculating a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.

Description

METHOD AND DEVICE FOR SOUND ACTIVITY DETECTION AND SOUND SIGNAL CLASSIFICATION
Field of the Invention
The present invention relates to sound activity detection, background noise estimation and sound signal classification where sound is understood as a useful signal. The present invention also relates to corresponding sound activity detector, background noise estimator and sound signal classifier.
In particular but not exclusively:
- The sound activity detection is used to select frames to be encoded using techniques optimized for inactive frames.
The sound signal classifier is used to discriminate among different speech signal classes and music to allow for more efficient encoding of sound signals, i.e. optimized encoding of unvoiced speech signals, optimized encoding of stable voiced speech signals, and generic encoding of other sound signals.
An algorithm is provided and uses several relevant parameters and features to allow for a better choice of coding mode and more robust estimation of the background noise.
Tonality estimation is used to improve the performance of sound activity detection in the presence of music signals, and to better discriminate between unvoiced sounds and music. For example, the tonality estimation may be used in a super-wideband codec to decide the codec model to encode the signal above 7 kHz. Background of the Invention
Demand for efficient digital narrowband and wideband speech coding techniques with a good trade-off between the subjective quality and bit rate is increasing in various application areas such as teleconferencing, multimedia, and wireless communications. Until recently, telephone bandwidth constrained into a range of 200-3400 Hz has mainly been used in speech coding applications (signal sampled at 8 kHz). However, wideband speech applications provide increased intelligibility and naturalness in communication compared to the conventional telephone bandwidth. In wideband services the input signal is sampled at 16 kHz and the encoded bandwidth is in the range 50-7000 Hz. This bandwidth has been found sufficient for delivering a good quality giving an impression of nearly face-to-face communication. Further quality improvement is achieved with so-called super- wideband, in which the signal is sampled at 32 kHz and the encoded bandwidth is in the range 50-15000 Hz. For speech signals this provides a face-to-face quality since almost all energy in human speech is below 14000 Hz. This bandwidth also gives significant quality improvement with general audio signals including music (wideband is equivalent to AM radio and super- wideband is equivalent to FM radio). Higher bandwidth has been used for general audio signals with the full-band 20- 20000 Hz (CD quality sampled at 44.1 kHz or 48 kHz).
A sound encoder converts a sound signal (speech or audio) into a digital bit stream which is transmitted over a communication channel or stored in a storage medium. The sound signal is digitized, that is, sampled and quantized with usually 16-bits per sample. The sound encoder has the role of representing these digital samples with a smaller number of bits while maintaining a good subjective quality. The sound decoder operates on the transmitted or stored bit stream and converts it back to a sound signal.
Code-Excited Linear Prediction (CELP) coding is one of the best prior techniques for achieving a good compromise between the subjective quality and bit rate. This coding technique is a basis of several speech coding standards both in wireless and wireline applications. In CELP coding, the sampled speech signal is processed in successive blocks of L samples usually called frames, where L is a predetermined number corresponding typically to 10-30 ms. A linear prediction (LP) filter is computed and transmitted every frame. The L-sample frame is divided into smaller blocks called subframes. In each subframe, an excitation signal is usually obtained from two components, the past excitation and the innovative, fixed- codebook excitation. The component formed from the past excitation is often referred to as the adaptive codebook or pitch excitation. The parameters characterizing the excitation signal are coded and transmitted to the decoder, where the reconstructed excitation signal is used as the input of the LP filter.
The use of source-controlled variable bit rate (VBR) speech coding significantly improves the system capacity. In source-controlled VBR coding, the codec uses a signal classification module and an optimized coding model is used for encoding each speech frame based on the nature of the speech frame (e.g. voiced, unvoiced, transient, background noise). Further, different bit rates can be used for each class. The simplest form of source-controlled VBR coding is to use voice activity detection (VAD) and encode the inactive speech frames (background noise) at a very low bit rate. Discontinuous transmission (DTX) can further be used where no data is transmitted in the case of stable background noise. The decoder uses comfort noise generation (CNG) to generate the background noise characteristics. VAD/DTX/CNG results in significant reduction in the average bit rate, and in packet-switched applications it reduces significantly the number of routed packets. VAD algorithms work well with speech signals but may result in severe problems in case of music signals. Segments of music signals can be classified as unvoiced signals and consequently may be encoded with unvoiced-optimized model which severely affects the music quality. Moreover, some segments of stable music signals may be classified as stable background noise and this may trigger the update of background noise in the VAD algorithm which results in degradation in the performance of the algorithm. Therefore, it would be advantageous to extend the VAD algorithm to better discriminate music signals. In the present disclosure, this algorithm will be referred to as Sound Activity Detection (SAD) algorithm where sound could be speech or music or any useful signal. The present disclosure also describes a method for tonality detection used to improve the performance of the SAD algorithm in case of music signals.
Another aspect in speech and audio coding is the concept of embedded coding, also known as layered coding. In embedded coding, the signal is encoded in a first layer to produce a first bit stream, and then the error between the original signal and the encoded signal from the first layer is further encoded to produce a second bit stream. This can be repeated for more layers by encoding the error between the original signal and the coded signal from all preceding layers. The bit streams of all layers are concatenated for transmission. The advantage of layered coding is that parts of the bit stream (corresponding to upper layers) can be dropped in the network (e.g. in case of congestion) while still being able to decode the signal at the receiver depending on the number of received layers. Layered encoding is also useful in multicast applications where the encoder produces the bit stream of all layers and the network decides to send different bit rates to different end points depending on the available bit rate in each link.
Embedded or layered coding can be also useful to improve the quality of widely used existing codecs while still maintaining interoperability with these codecs. Adding more layers to the standard codec core layer can improve the quality and even increase the encoded audio signal bandwidth. Examples are the recently standardized ITU-T Recommendation G.729.1 where the core layer is interoperable with widely used G.729 narrowband standard at 8 kbit/s and upper layers produces bit rates up to 32 kbit/s (with wideband signal starting from 16 kbit/s). Current standardization work aims at adding more layers to produce a super-wideband codec (14 kHz bandwidth) and stereo extensions. Another example is ITU-T Recommendation G.718 for encoding wideband signals at 8, 12, 16, 24 and 32 kbit/s. The codec is also being extended to encode super-wideband and stereo signals at higher bit rates.
The requirements for embedded codecs usually ask for good quality in case of both speech and audio signals. Since speech can be encoded at relatively low bit rate using a model based approach, the first layer (or first two layers) is (or are) encoded using a speech specific technique and the error signal for the upper layers is encoded using a more generic audio encoding technique. This delivers a good speech quality at low bit rates and good audio quality as the bit rate is increased. In G.718 and G.729.1, the first two layers are based on ACELP (Algebraic Code- Excited Linear Prediction) technique which is suitable for encoding speech signals. In the upper layers, transform-based encoding suitable for audio signals is used to encode the error signal (the difference between the original signal and the output from the first two layers). The well known MDCT (Modified Discrete Cosine Transform) transform is used, where the error signal is transformed in the frequency domain. In the super-wideband layers, the signal above 7 kHz is encoded using a generic coding model or a tonal coding model. The above mentioned tonality detection can also be used to select the proper coding model to be used.
Summary of the Invention
According to a first aspect of the present invention, there is provided a method for estimating a tonality of a sound signal. The method comprises: calculating a current residual spectrum of the sound signal; detecting peaks in the current residual spectrum; calculating a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and calculating a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.
According to a second aspect of the present invention, there is provided a device for estimating a tonality of a sound signal. The device comprises: means for calculating a current residual spectrum of the sound signal; means for detecting peaks in the current residual spectrum; means for calculating a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and means for calculating a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.
According to a third aspect of the present invention, there is provided a device for estimating a tonality of a sound signal. The device comprises: a calculator of a current residual spectrum of the sound signal; a detector of peaks in the current residual spectrum; a calculator of a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and a calculator of a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.
The foregoing and other objects, advantages and features of the present invention will become more apparent upon reading of the following non restrictive description of an illustrative embodiment thereof, given by way of example only with reference to the accompanying drawings.
Brief Description of the Drawings
In the appended drawings:
Figure 1 is a schematic block diagram of a portion of an example of sound communication system including sound activity detection, background noise estimation update, and sound signal classification;
Figure 2 is a non- limitative illustration of windowing in spectral analysis; Figure 3 is a non-restrictive graphical illustration of the principle of spectral floor calculation and the residual spectrum;
Figure 4 is a non-limitative illustration of calculation of spectral correlation map in a current frame;
Figure 5 is an example of functional block diagram of a signal classification algorithm; and
Figure 6 is an example of decision tree for unvoiced speech discrimination.
Detailed description
In the non-restrictive, illustrative embodiment of the present invention, sound activity detection (SAD) is performed within a sound communication system to classify short-time frames of signals as sound or background noise/silence. The sound activity detection is based on a frequency dependent signal-to-noise ratio
(SNR) and uses an estimated background noise energy per critical band. A decision on the update of the background noise estimator is based on several parameters including parameters discriminating between background noise/silence and music, thereby preventing the update of the background noise estimator on music signals.
The SAD corresponds to a first stage of the signal classification. This first stage is used to discriminate inactive frames for optimized encoding of inactive signal. In a second stage, unvoiced speech frames are discriminated for optimized encoding of unvoiced signal. At this second stage, music detection is added in order to prevent classifying music as unvoiced signal. Finally, in a third stage, voiced signals are discriminated through further examination of the frame parameters.
The herein disclosed techniques can be deployed with either narrowband
(NB) sound signals sampled at 8000 sample/s or wideband (WB) sound signals sampled at 16000 sample/s, or at any other sampling frequency. The encoder used in the non-restrictive, illustrative embodiment of the present invention is based on AMR-WB [AMR Wideband Speech Codec: Transcoding Functions, 3GPP Technical Specification TS 26.190 (http://www.3gpp.org)] and VMR-WB [Source-Controlled Variable-Rate Multimode Wideband Speech Codec (VMR-WB), Service Options 62 and 63 for Spread Spectrum Systems, 3GPP2 Technical Specification C.S0052-A vl.0, April 2005 (http://www.3gpp2.org)] codecs which use an internal sampling conversion to convert the signal sampling frequency to 12800 sample/s (operating in a 6.4 kHz bandwidth). Thus the sound activity detection technique in the non- restrictive, illustrative embodiment operates on either narrowband or wideband signals after sampling conversion to 12.8 kHz.
Figure 1 is a block diagram of a sound communication system 100 according to the non-restrictive illustrative embodiment of the invention, including sound activity detection.
The sound communication system 100 of Figure 1 comprises a pre-processor 101. Preprocessing by module 101 can be performed as described in the following example (high-pass filtering, resampling and pre-emphasis).
Prior to the frequency conversion, the input sound signal is high-pass filtered.
In this non-restrictive, illustrative embodiment, the cut-off frequency of the high-pass filter is 25 Hz for WB and 100 Hz for NB. The high-pass filter serves as a precaution against undesired low frequency components. For example, the following transfer function can be used:
Figure imgf000009_0001
where, for WB, b0 = 0.9930820, b\ = -1.98616407, b2 = 0.9930820, ax = -1.9861162, at = 0.98621 19292 and, for NB, bQ = 0.945976856, b\ = -1.891953712, b2 = 0.945976856, a\ = -1.889033079, α2 = 0.894874345. Obviously, the high-pass filtering can be alternatively carried out after resampling to 12.8 kHz.
In the case of WB, the input sound signal is decimated from 16 kHz to 12.8 kHz. The decimation is performed by an upsampler that upsamples the sound signal by 4. The resulting output is then filtered through a low-pass FIR (Finite Impulse Response) filter with a cut off frequency at 6.4 kHz. Then, the low-pass filtered signal is downsampled by 5 by an appropriate downsampler. The filtering delay is 15 samples at a 16 kHz sampling frequency.
In the case of NB, the sound signal is upsampled from 8 kHz to 12.8 kHz. For that purpose, an upsampler performs on the sound signal an upsampling by 8. The resulting output is then filtered through a low-pass FIR filter with a cut off frequency at 6.4 kHz. A downsampler then downsamples the low-pass filtered signal by 5. The filtering delay is 16 samples at 8 kHz sampling frequency.
After the sampling conversion, a pre-emphasis is applied to the sound signal prior to the encoding process. In the pre-emphasis, a first order high-pass filter is used to emphasize higher frequencies. This first order high-pass filter forms a pre- emphasizer and uses, for example, the following transfer function:
tfpre-emph(z) = l -0-68z-
Pre-emphasis is used to improve the codec performance at high frequencies and improve perceptual weighting in the error minimization process used in the encoder.
As described hereinabove, the input sound signal is converted to 12.8 kHz sampling frequency and preprocessed, for example as described above. However, the disclosed techniques can be equally applied to signals at other sampling frequencies such as 8 kHz or 16 kHz with different preprocessing or without preprocessing.
In the non-restrictive illustrative embodiment of the present invention, the encoder 109 (Figure 1) using sound activity detection operates on 20 ms frames containing 256 samples at the 12.8 kHz sampling frequency. Also, the encoder 109 uses a 10 ms look ahead from the future frame to perform its analysis (Figure 2). The sound activity detection follows the same framing structure.
Referring to Figure 1, spectral analysis is performed in spectral analyzer 102.
Two analyses are performed in each frame using 20 ms windows with 50% overlap. The windowing principle is illustrated in Figure 2. The signal energy is computed for frequency bins and for critical bands [J. D. Johnston, "Transform coding of audio signal using perceptual noise criteria," /EEE J. Select. Areas Commun., vol. 6, pp. 314-323, February 1988].
Sound activity detection (first stage of signal classification) is performed in the sound activity detector 103 using noise energy estimates calculated in the previous frame. The output of the sound activity detector 103 is a binary variable which is further used by the encoder 109 and which determines whether the current frame is encoded as active or inactive.
Noise estimator 104 updates a noise estimation downwards (first level of noise estimation and update), i.e. if in a critical band the frame energy is lower than an estimated energy of the background noise, the energy of the noise estimation is updated in that critical band.
Noise reduction is optionally applied by an optional noise reducer 105 to the speech signal using for example a spectral subtraction method. An example of such a noise reduction scheme is described in [M. Jelinek and R. Salami, "Noise Reduction Method for Wideband Speech Coding," in Proc. Eusipco, Vienna, Austria, September 2004].
Linear prediction (LP) analysis and open-loop pitch analysis are performed (usually as a part of the speech coding algorithm) by a LP analyzer and pitch tracker
106. In this non-restrictive illustrative embodiment, the parameters resulting from the
LP analyzer and pitch tracker 106 are used in the decision to update the noise estimates in the critical bands as performed in module 107. Alternatively, the sound activity detector 103 can also be used to take the noise update decision. According to a further alternative, the functions implemented by the LP analyzer and pitch tracker
106 can be an integral part of the sound encoding algorithm.
Prior to updating the noise energy estimates in module 107, music detection is performed to prevent false updating on active music signals. Music detection uses spectral parameters calculated by the spectral analyzer 102.
Finally, the noise energy estimates are updated in module 107 (second level of noise estimation and update). This module 107 uses all available parameters calculated previously in modules 102 to 106 to decide about the update of the energies of the noise estimation.
In signal classifier 108, the sound signal is further classified as unvoiced, stable voiced or generic. Several parameters are calculated to support this decision. In this signal classifier, the mode of encoding the sound signal of the current frame is chosen to best represent the class of signal being encoded.
Sound encoder 109 performs encoding of the sound signal based on the encoding mode selected in the sound signal classifier 108. In other applications, the sound signal classifier 108 can be an automatic speech recognition system.
Spectral analysis The spectral analysis is performed by the spectral analyzer 102 of Figure 1.
Fourier Transform is used to perform the spectral analysis and spectrum energy estimation. The spectral analysis is done twice per frame using a 256-point
Fast Fourier Transform (FFT) with a 50 percent overlap (as illustrated in Figure 2).
The analysis windows are placed so that all look ahead is exploited. The beginning of the first window is at the beginning of the encoder current frame. The second window is placed 128 samples further. A square root Harming window (which is equivalent to a sine window) has been used to weight the input sound signal for the spectral analysis. This window is particularly well suited for overlap-add methods
(thus this particular spectral analysis is used in the noise suppression based on spectral subtraction and overlap-add analysis/synthesis). The square root Harming window is given by:
>W«) =
Figure imgf000013_0001
where LFFT=256 is the size of the FTT analysis. Here, only half the window is computed and stored since this window is symmetric (from 0 to LFFTI2).
The windowed signals for both spectral analyses (first and second spectral analyses) are obtained using the two following relations:
*l"(«) = wFFT(n)s '(n), n = 0,...,LFFT -1
*12)(«) =
Figure imgf000013_0002
0,...,LFFT -1
where 5 '(0) is the first sample in the current frame. In the non-restrictive, illustrative embodiment of the present invention, the beginning of the first window is placed at the beginning of the current frame. The second window is placed 128 samples further.
FFT is performed on both windowed signals to obtain following two sets of spectral parameters per frame:
Xm(k) k = 0,...,LFFr -l
Figure imgf000014_0001
N-i -,lπ—
^(2)W = ∑42>(Φ \ k = 0,...,LFFT -\ n=0
where N= LFFT.
The FFT provides the real and imaginary parts of the spectrum denoted by XR (k) , k=0 to 128, and X , {k) , &=1 to 127. XR(0) corresponds to the spectrum at 0 Hz (DC) and XR (\28) corresponds to the spectrum at 6400 Hz. The spectrum at these points is only real valued.
After FFT analysis, the resulting spectrum is divided into critical bands using the intervals having the following upper limits [M. Jelinek and R. Salami, "Noise Reduction Method for Wideband Speech Coding," in Proc. Eusipco, Vienna, Austria, September 2004] (20 bands in the frequency range 0-6400 Hz):
Critical bands = {100.0, 200.0, 300.0, 400.0, 510.0, 630.0, 770.0,
920.0, 1080.0, 1270.0, 1480.0, 1720.0, 2000.0, 2320.0, 2700.0, 3150.0,
3700.0, 4400.0, 5300.0, 6350.0} Hz.
The 256-point FFT results in a frequency resolution of 50 Hz (6400/128). Thus after ignoring the DC component of the spectrum, the number of frequency bins per critical band is MCB = {2, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 6, 6, 8, 9, 11, 14, 18, 21 }, respectively. The average energy in a critical band is computed using the following relation:
Figure imgf000015_0001
(2)
where A" s (k) and Z7 (&) are, respectively, the real and imaginary parts of the kth frequency bin and J1 is the index of the first bin in the Ith critical band given by J1 ={1, 3, 5, 7, 9, 1 1, 13, 16, 19, 22, 26, 30, 35, 41, 47, 55, 64, 75, 89, 107}.
The spectral analyzer 102 also computes the normalized energy per frequency bin, EBiuik), in the range 0-6400 Hz, using the following relation:
EBB/(k) = -^(xK 2(k) + XJ(k))t * = 1 127 (3)
^FFT
Furthermore, the energy spectra per frequency bin in both analyses are combined together to obtain the average log-energy spectrum (in decibels), i.e.
E,β(£) = ioiog UEZW+E∞ W) k = \,...,m , (4)
where the superscripts (1) and (2) are used to denote the first and the second spectral analysis, respectively.
Finally, the spectral analyzer 102 computes the average total energy for both the first and second spectral analyses in a 20 ms frame by adding the average critical band energies ECB- That is, the spectrum energy for a certain spectral analysis is computed using the following relation:
b frame ~ / , E CB (0 (5) ι=0
and the total frame energy is computed as the average of spectrum energies of both the first and second spectral analyses in a frame. That is
E, = l0\og(0.5(Efiame(0) + Eframe(\)) , dB. (6)
The output parameters of the spectral analyzer 102, that is the average energy per critical band, the energy per frequency bin and the total energy, are used in the sound activity detector 103 and in the rate selection. The average log-energy spectrum is used in the music detection.
In narrowband input signals sampled at 8000 sample/s, after sampling conversion to 12800 sample/s, there is no content at both ends of the spectrum, thus the first lower frequency critical band as well as the last three high frequency bands are not considered in the computation of relevant parameters (only bands from i=l to 16 are considered). However, equations (3) and (4) are not affected.
Sound activity detection (SAD)
The sound activity detection is performed by the SNR-based sound activity detector 103 of Figure 1.
The spectral analysis described above is performed twice per frame by the analyzer 102. Let E^s (0 and E^ (i) as computed in Equation (2) denote the energy per critical band information in the first and second spectral analyses, respectively. The average energy per critical band for the whole frame and part of the previous frame is computed using the following relation:
Eav (0 = 0.24? (0 + 0.442 (0 + 0.442 (0 (7)
where 42(0 denotes the energy per critical band information from the second spectral analysis of the previous frame. The signal-to-noise ratio (SNR) per critical band is then computed using the following relation:
SNRCB (0 = Em (i) I NCB (0 bounded by SNRCB > 1. (8)
where NCB(i) is the estimated noise energy per critical band as will be explained below. The average SNR per frame is then computed as
SNR09 (9)
Figure imgf000017_0001
where bmm=0 and έw=19 in the case of wideband signals, and bmm=l and bmax=\6 in case of narrowband signals.
The sound activity is detected by comparing the average SNR per frame to a certain threshold which is a function of the long-term SNR. The long-term SNR is given by the following relation:
SNRLr = Ef - Nf (10)
where E1 and Nf are computed using equations (13) and (14), respectively, which will be described later. The initial value of E1 is 45 dB. The threshold is a piece-wise linear function of the long-term SNR. Two functions are used, one optimized for clean speech and one optimized for noisy speech.
For wideband signals, If SNR LT < 35 (noisy speech) then the threshold is equal to: thSAD = 0.41287 SNRLT +13.259625
else (clean speech):
thSAD = 1.0333 SNRLT - 18
For narrowband signals, If SNRLT < 20 (noisy speech) then the threshold is equal to: thSAD = 0.1071 SNRLT +16.5
else (clean speech):
thSAD = 0.4773 SNRLT -6.1364
Furthermore, a hysteresis in the SAD decision is added to prevent frequent switching at the end of an active sound period. The hysteresis strategy is different for wideband and narrowband signals and comes into effect only if the signal is noisy.
For wideband signals, the hysteresis strategy is applied in the case the frame is in a "hangover period" the length of which varies according to the long-term SNR as follows: hang = 0 if SNRLT ≥ 35 hang = 1 if 15 ≤ SNRLT < 35 . hang = 2 if SNRLT < \5
The hangover period starts in the first inactive sound frame after three (3) consecutive active sound frames. Its function consists of forcing every inactive frame during the hangover period as an active frame. The SAD decision will be explained later.
For narrowband signals, the hysteresis strategy consists of decreasing the SAD decision threshold as follows:
thSAD = thSAD -5.2 if SNRLr < \9 thSAD = thSAD -2 ή \9 < SNRLT < τ>5 thsAD = thSAD if 35 ≤ SNRLT
Thus, for noisy signals with low SNR, the threshold becomes lower to give preference to active signal decision. There is no hangover for narrowband signals.
Finally, the sound activity detector 103 has two outputs - a SAD flag and a local SAD flag. Both flags are set to one if active signal is detected and set to zero otherwise. Moreover, the SAD flag is set to one in hangover period. The SAD decision is done by comparing the average SNR per frame with the SAD decision threshold (via a comparator for example), that is: if SNRav > thSAD
SADlocal = 1
SAD = X else
SADlocal = Q if in hangover period SAD = I else
SAD = O end end.
First level of noise estimation and update
A noise estimator 104 as illustrated in Figure 1 calculates the total noise energy, relative frame energy, update of long-term average noise energy and long- term average frame energy, average energy per critical band, and a noise correction factor. Further, the noise estimator 104 performs noise energy initialization and update downwards.
The total noise energy per frame is calculated using the following relation:
N101 = 101ogf|χfl(θl (11)
where NCB (i) is the estimated noise energy per critical band.
The relative energy of the frame is given by the difference between the frame energy in dB and the long-term average energy. The relative frame energy is calculated using the following relation:
Erel = E, - Ef (12) where E1 is given in Equation (6).
The long-term average noise energy or the long-term average frame energy is updated in every frame. In case of active signal frames (SAD flag = 1), the long-term average frame energy is updated using the relation:
Ef = 0.99E\. + 0.01E, (13)
with initial value E f - 45dB .
In case of inactive speech frames (SAD flag = 0), the long-term average noise energy is updated as follows:
Nf = 0.99Nf + 0.0\Nlol (14)
The initial value of N f is set equal to Nlot for the first 4 frames. Also, in the first four (4) frames, the value of Ef is bounded by Ef ≥ N101 +10.
The frame energy per critical band for the whole frame is computed by averaging the energies from both the first and second spectral analyses in the frame using the following relation:
ECB (0 = o.5E<!> (0 + 0.5ES (0 05)
The noise energy per critical band NCB(i) is initialized to 0.03. At this stage, only noise energy update downward is performed for the critical bands whereby the energy is less than the background noise energy. First, the temporary updated noise energy is computed using the following relation:
Ktmp 0) = 0.9JV (i) + 0. l(θ.25£S (0 + 0-75^ (θ) 08)
where E^ (i) denotes the energy per critical band corresponding to the second spectral analysis from the previous frame.
Then for /=0 to 19, if Ntmp (/) < NCB (/) then NCB (/) = Ntmp (i) .
A second level of noise estimation and update is performed later by setting Nee (0 = Ntmp(i) if the frame is declared as an inactive frame.
Second level of noise estimation and update
The parametric sound activity detection and noise estimation update module 107 updates the noise energy estimates per critical band to be used in the sound activity detector 103 in the next frame. The update is performed during inactive signal periods. However, the SAD decision performed above, which is based on the SNR per critical band, is not used for determining whether the noise energy estimates are updated. Another decision is performed based on other parameters rather independent of the SNR per critical band. The parameters used for the update of the noise energy estimates are: pitch stability, signal non-stationarity, voicing, and ratio between the 2nd order and 16th order LP residual error energies and have generally low sensitivity to the noise level variations. The decision for the update of the noise energy estimates is optimized for speech signals. To improve the detection of active music signals, the following other parameters are used: spectral diversity, complementary non-stationarity, noise character and tonal stability. Music detection will be explained in detail in the following description. The reason for not using the SAD decision for the update of the noise energy estimates is to make the noise estimation robust to rapidly changing noise levels. If the SAD decision was used for the update of the noise energy estimates, a sudden increase in noise level would cause an increase of SNR even for inactive signal frames, preventing the noise energy estimates to update, which in turn would maintain the SNR high in the following frames, and so on. Consequently, the update would be blocked and some other logic would be needed to resume the noise adaptation.
In the non-restrictive illustrative embodiment of the present invention, an open-loop pitch analysis is performed in a LP analyzer and pitch tracker module 106 in Figure 1) to compute three open-loop pitch estimates per frame: d0, d{ and d2 corresponding to the first half-frame, second half-frame, and the lookahead, respectively. This procedure is well known to those of ordinary skill in the art and will not be further described in the present disclosure (e.g. VMR-WB [Source- Controlled Variable-Rate Multimode Wideband Speech Codec (VMR-WB), Service Options 62 and 63 for Spread Spectrum Systems, 3GPP2 Technical Specification C.S0052-A vl.0, April 2005 (http://www.3gpp2.org)]). The LP analyzer and pitch tracker module 106 calculates a pitch stability counter using the following relation:
pc =\ dϋ - d_, \ + \ dx - dϋ \ + \ d2 - d] I (19)
where d_λ is the lag of the second half-frame of the previous frame. For pitch lags larger than 122, the LP analyzer and pitch tracker module 106 sets d2 = dx . Thus, for such lags the value of pc in equation (19) is multiplied by 3/2 to compensate for the missing third term in the equation. The pitch stability is true if the value of pc is less than 14. Further, for frames with low voicing, pc is set to 14 to indicate pitch instability. More specifically: If (CnorJd0) + Cnorm (</,) + Cnorm(d2)) / 3 + re < thCpc then pc = \4 , (20)
where Cnorm(d) is the normalized raw correlation and re is an optional correction added to the normalized correlation in order to compensate for the decrease of normalized correlation in the presence of background noise. The voicing threshold thcpc = 0.52 for WB, and thcpc - 0.65 for NB. The correction factor can be calculated using the following relation:
re = 0.00024492 e0 1596("<»<-14) -0.022
where Mot is the total noise energy per frame computed according to Equation (1 1).
The normalized raw correlation can be computed based on the decimated weighted sound signal swd{n) using the following equation: rf)
Figure imgf000024_0001
where the summation limit depends on the delay itself. The weighted signal swjjι) is the one used in open-loop pitch analysis and given by filtering the pre-processed input sound signal from pre-processor 101 through a weighting filter of the form A{zl γ)l(\ - μz~x ) . The weighted signal swjjι) is decimated by 2 and the summation limits are given according to:
= 40 for J = IO, ...,16
= 40 for d = \l, ...,31
= 62 for d = 32, ...,61 sec = 115 for d = 62, ...,115 These lengths assure that the correlated vector length comprises at least one pitch period which helps to obtain a robust open-loop pitch detection. The instants tstart are related to the current frame beginning and are given by:
tsiart = 0 for first half-frame tslarl = \2S for second half-frame tstart ~ 256 f°r look-ahead
at 12.8 kHz sampling rate.
The parametric sound activity detection and noise estimation update module 107 performs a signal non-stationarity estimation based on the product of the ratios between the energy per critical band and the average long term energy per critical band.
The average long term energy per critical band is updated using the following relation:
EcB.Lτ(0 = aeECBtLT (i) + (l - ae)ECB (i) , for
Figure imgf000025_0001
to bmax, (21)
where bmιn=§ and bma^\9 in the case of wideband signals, and bmn=\ and bmax-\6 in case of narrowband signals, and ECB(i) is the frame energy per critical band defined in Equation (15). The update factor ae is a linear function of the total frame energy, defined in Equation (6), and it is given as follows:
For wideband signals: ae - 0.0245£, - 0.235 bounded by 0.5 < ae < 0.99.
For narrowband signals: ae = 0.00091E, + 0.3185 bounded by 0.5 < ae < 0.999 .
E1 is given by Equation (6). The frame non-stationarity is given by the product of the ratios between the frame energy and average long term energy per critical band. More specifically:
max(ECB(i),ECB Lr(i)) nonstαt = 1 \ 1 \ . — (22)
Λi min(£(0,£cs ,r(0)
The parametric sound activity detection and noise estimation update module 107 further produces a voicing factor for noise update using the following relation:
voicing = (Cnorm (d0 ) + Cnorm (J1 )) / 2 + r, (23)
Finally, the parametric sound activity detection and noise estimation update mod luull«e 107 calculates a ratio between the LP residual energy after the 2nd order and 16th order LP analysis using the relation:
resid _ ratio = E(2) I E(I 6) (24)
where E{2) and E(16) are the LP residual energies after 2nd order and 16th order LP analysis as computed in the LP analyzer and pitch tracker module 106 using a Levinson-Durbin recursion which is a procedure well known to those of ordinary skill in the art. This ratio reflects the fact that to represent a signal spectral envelope, a higher order of LP is generally needed for speech signal than for noise. In other words, the difference between E(2) and E(16) is supposed to be lower for noise than for active speech.
The update decision made by the parametric sound activity detection and noise estimation update module 107 is determined based on a variable noise jupdate which is initially set to 6 and is decreased by 1 if an inactive frame is detected and incremented by 2 if an active frame is detected. Also, the variable noise_update is bounded between 0 and 6. The noise energy estimates are updated only when noise jupdate=0.
The value of the variable noise jupdate is updated in each frame as follows:
If (nonstat > thstat) OR (pc < 14) OR (voicing > thCnorm) OR (residj-atio > thresid) noise jupdate = noise jupdate + 2 Else noise jipdate = noise jupdate - 1
where for wideband signals, thstat = thcnorm = 0.85 and thresιd = \ &, and for narrowband signals, thstar 500000, thcnom
Figure imgf000027_0001
10.4.
In other words, frames are declared inactive for noise update when
{nonstat < thstat) AND (pc > \4) AND (voicing < thCnorm) AND (residjatio < thresid)
and a hangover of 6 frames is used before noise update takes place.
Thus, if noise _update=0 then
for i=0 to 19 NCB (i) = Nlmp(i)
where Ntmp (ϊ) is the temporary updated noise energy already computed in Equation (18).
Improvement of noise detection for music signals The noise estimation described above has its limitations for certain music signals, such as piano concerts or instrumental rock and pop, because it was developed and optimized mainly for speech detection. To improve the detection of music signals in general, the parametric sound activity detection and noise estimation update module 107 uses other parameters or techniques in conjunction with the existing ones. These other parameters or techniques comprise, as described hereinabove, spectral diversity, complementary non-stationarity, noise character and tonal stability, which are calculated by a spectral diversity calculator, a complementary non-stationarity calculator, a noise character calculator and a tonality estimator, respectively. They will be described in detail herein below.
Spectral diversity
Spectral diversity gives information about significant changes of the signal in frequency domain. The changes are tracked in critical bands by comparing energies in the first spectral analysis of the current frame and the second spectral analysis two frames ago. The energy in a critical band i of the first spectral analysis in the current frame is denoted as
Figure imgf000028_0001
(/) . Let the energy in the same critical band calculated in the second spectral analysis two frames ago be denoted as E^ (/) . Both of these energies are initialized to 0.0001. Then, for all critical bands higher than 9, the maximum and the minimum of the two energies are calculated as follows:
, for 1=10,.. Anax.
Figure imgf000028_0002
Subsequently, a ratio between the maximum and the minimum energy in a specific critical band is calculated as
(0
^(O = -"1* for i=10,..,bn
Emmii) Finally, the parametric sound activity detection and noise estimation update module 107 calculates a spectral diversity parameter as a normalized weighted sum of the ratios with the weight itself being the maximum energy Emax (z) . This spectral diversity parameter is given by the following relation:
Figure imgf000029_0001
The spec_div parameter is used in the final decision about music activity and noise energy update. The spec_div parameter is also used as an auxiliary parameter for the calculation of a complementary non-stationarity parameter which is described bellow.
Complementary non-stationarity
The inclusion of a complementary non-stationarity parameter is motivated by the fact that the non-stationarity parameter, defined in Equation (22), fails when a sharp energy attack in a music signal is followed by a slow energy decrease. In this case the average long term energy per critical band, ECB LT (i) , defined in Equation (21), slowly increases during the attack whereas the frame energy per critical band, defined in Equation (15), slowly decreases. In a certain frame after the attack these two energy values meet and the nonstat parameter results in a small value indicating an absence of active signal. This leads to a false noise update and subsequently a false SAD decision.
To overcome this problem an alternative average long term energy per critical band is calculated using the following relation: E2cB.LT (0 = PeE2CB,LT (0 + G " A )ECB (0 ' fθr i=*»ώ» *W (26)
The variable E2CB LT(Ϊ) is initialized to 0.03 for all i. Equation (26) closely resembles equation (21) with the only difference being the update factor βe which is given as follows:
if '(spec _div > thspecjiv) βe = 0 else βe = ae end,
where thspec div - 5. Thus, when an energy attack is detected (specjdiv > 5) the alternative average long term energy is immediately set to the average frame energy, i.e. E2CB LT (Ϊ) = ECB(Ϊ) . Otherwise this alternative average long term energy is updated in the same way as the conventional non-stationarity, i.e. using the exponential filter with the update factor ae. The complementary non-stationarity parameter is calculated in the same way as nonstat, but using E2CB LT(Ϊ) , i.e.
bsΑ. max(ErB (z), E2rR , τ (i)) nonstat 2 = ft _rii W' — CB-Lτ K }) (27)
}blxmn(ECB(i),E2CB,LT(i))
The complementary non-stationarity parameter, nonstat2, may fail a few frames right after an energy attack, but should not fail during the passages characterized by a slowly-decreasing energy. Since the nonstat parameter works well on energy attacks and few frames after, a logical disjunction of nonstat and nonstat2 therefore solves the problem of inactive signal detection on certain musical signals. However, the disjunction is applied only in passages which are "likely to be active". The likelihood is calculated as follows:
Figure imgf000031_0001
> thstat) OR (tonal _stability = I)) act_pred_LT = ka act_pred_LT + (1- ka).1 else act_pred_LT = ka act_pred_LT + (1 - ka).O end.
The coefficient ka is set to 0.99. The parameter act_pred_LT which is in the range <0:l> may be interpreted as a predictor of activity. When it is close to 1, the signal is likely to be active, and when it is close to 0, it is likely to be inactive. The act_pred_LT parameter is initialized to one. In the condition above, tonal ^stability is a binary parameter which is used to detect stable tonal signal. This tonal _stability parameter will be described in the following description.
The nonstat2 parameter is taken into consideration (in disjunction with nonstat) in the update of noise energy only if actjρred_LT is higher than certain threshold, which has been set to 0.8. The logic of noise energy update is explained in detail at the end of the present section.
Noise character
Noise character is another parameter which is used in the detection of certain noise-like music signals such as cymbals or low-frequency drums. This parameter is calculated using the following relation:
∑ECB{i) noise_char = ^ψ (28)
∑ ECB{i) ι=bmn The noise char parameter is calculated only for the frames whose spectral content has at least a minimal energy, which is fulfilled when both the numerator and the denominator of Equation (28) are larger than 100. The noise_char parameter is upper limited by 10 and its long-term value is updated using the following relation:
noise _char_L T - (Xn noise char L T + (\ -an )noise char (29)
The initial value of noise _char JLT is 0 and an is set equal to 0.9. This noise_char_LT parameter is used in the decision about noise energy update which is explained at the end of the present section.
Tonal stability
Tonal stability is the last parameter used to prevent false update of the noise energy estimates. Tonal stability is also used to prevent declaring some music segments as unvoiced frames. Tonal stability is further used in an embedded super- wideband codec to decide which coding model will be used for encoding the sound signal above 7 kHz. Detection of tonal stability exploits the tonal nature of music signals. In a typical music signal there are tones which are stable over several consecutive frames. To exploit this feature, it is necessary to track the positions and shapes of strong spectral peaks since these may correspond to the tones. The tonal stability detection is based on a correlation analysis between the spectral peaks in the current frame and those of the past frame. The input is the average log-energy spectrum defined in Equation (4). The number of spectral bins is denoted as NSPEC (bin 0 is the DC component and NSPEC=LFFTJ2). In the following disclosure, the term "spectrum" will refer to the average log-energy spectrum, as defined by Equation (4).
Detection of tonal stability proceeds in three stages. Furthermore, detection of tonal stability uses a calculator of a current residual spectrum, a detector of peaks in the current residual spectrum and a calculator of a correlation map and a long-term correlation map, which will be described hereinabelow. In the first stage, the indexes of local minima of the spectrum are searched (by a spectrum minima locator for example), in a loop described by the following formula and stored in a buffer imn that can be expressed as follows:
im = (Vi : (E dB (i - 1) > EdB (i)) Λ (E dB (i) < EdB (i + 1)) / = 1, ... , NSPEC - 2 (30) where the symbol Λ means logical AND.
In Equation (30), Edβif) denotes the average log-energy spectrum calculated through Equation (4). The first index in /mιn is 0, if EdB (0) < EdB (1) . Consequently, the last index in /mn is NSPEC-1 , if EdB (NSPEC - 1) < EdB (Nspεc - 2) . Let us denote the number of minima found as Nmm.
The second stage consists of calculating a spectral floor (through a spectral floor estimator for example) and subtracting it from the spectrum (via a suitable subtractor for example). The spectral floor is a piece-wise linear function which runs through the detected local minima. Every linear piece between two consecutive minima imin (x) and imm (x + 1) can be described as:
β(j) = k.(j - imn (X)) + q J = imn (x), ..., imn (x + 1) ,
where k is the slope of the line and q = EdB (imn (x)) . The slope k can be calculated using the following relation:
k ^ EdB ('mm (* + !)) ~ EdB O'mm (*))
L(^ + 1I-LW
Thus, the spectral floor is a logical connection of all pieces: spjloor(j) = EdB (J) j = 0,..., ima (0) - 1 spjloor{j) = fl{j) J = imni0),... ,iaa{Nm -l) -\ . (31) spJloor{j) = EdB{j) J = LΛNmm -\),... , NSPEC -\
The leading bins up to *min (0) and the terminating bins from imn(Nmn -1) of the spectral floor are set to the spectrum itself. Finally, the spectral floor is subtracted from the spectrum using the following relation:
E dB,res (J) = E dβ O) - spjϊoor(j) j = 0,..., N SPEC - 1 (32)
and the result is called the residual spectrum. The calculation of the spectral floor is illustrated in Figure 3.
In the third stage, a correlation map and a long-term correlation map are calculated from the residual spectrum of the current and the previous frame. This is again a piece-wise operation. Thus, the correlation map is calculated on a peak-by- peak basis since the minima delimit the peaks. In the following disclosure, the term
"peak" will be used to denote a piece between two minima in the residual spectrum
&db,res.
Let us denote the residual spectrum of the previous frame as Edg ~ les (j) . For every peak in the current residual spectrum a normalized correlation is calculated with the shape in the previous residual spectrum corresponding to the position of this peak. If the signal was stable, the peaks should not move significantly from frame to frame and their positions and shapes should be approximately the same. Thus, the correlation operation takes into account all indexes (bins) of a specific peak, which is delimited by two consecutive minima. More specifically, the normalized correlation is calculated using the following relation: cor_map(imm (x) : imm (x + 1)) =
Figure imgf000035_0001
χ = o,..., Nmin - 2 (33)
The leading bins of cor map up to z' min (0) and the terminating bins corjnap from /min (N mm -Y) are set to zero. The correlation map is shown in Figure 4.
The correlation map of the current frame is used to update its long term value which is described by:
cor_mapjLT(k) = amap corjnap_LT(K) + (1 - amap )cor_map(k) , k = 0,...,NSPEC -\ , (34)
where amap = 0.9. The cor _map_LT is initialized to zero for all k.
Finally, all values of the corjnap LT are summed together (through an adder for example) as follows:
cor_map_sum = ∑ corjnap_LT{j) . (35)
7=0
If any value of the cor_map_LT(j),j=0,...JVsPEC-\, exceeds a threshold of 0.95, a flag cor strong (which can be viewed as a detector) is set to one, otherwise it is set to zero.
The decision about tonal stability is calculated by subjecting cor_map_sum to an adaptive threshold, thrjonal. This threshold is initialized to 56 and is updated in every frame as follows: if {corjnap_sum > 56) thrjonal = thrjonal - 0.2 else thrjonal = thrjonal + 0.2 end.
The adaptive threshold thrjonal is upper limited by 60 and lower limited by 49. Thus, the adaptive threshold thrjonal decreases when the correlation is relatively good indicating an active signal segment and increases otherwise. When the threshold is lower, more frames are likely to be classified as active, especially at the end of active periods. Therefore, the adaptive threshold may be viewed as a hangover.
The tonal _stability parameter is set to one whenever corjnap_sum is higher than thrjonal or when cor strong flag is set to one. More specifically:
if {{cor map sum > thrjonal) OR {cor_strong = 1)) tonal _stability = 1 else tonal _stability = 0 end.
Use of the music detection parameters in noise energy update
All music detection parameters are incorporated in the final decision made in the parametric sound activity detection and noise estimation update (Up) module 107 about update of the noise energy estimates. The noise energy estimates are updated as long as the value of noise update is zero. Initially, it is set to 6 and updated in each frame as follows: if {nonstat > thstat) OR (pc < 14) OR {voicing > thCnorm) OR {resid_ratio > thresid) OR {tonal ^stability = 1) OR {noise_char_LT > 0.3) OR ( {act_predJLT> 0.8) AND {nonstat2 > thstal) ) noise update = noise update + 2 else noisejupdate = noisejupdate - 1 end.
If the combined condition has a positive result, the signal is active and the noise update parameter is increased. Otherwise, the signal is inactive and the parameter is decreased. When it reaches 0, the noise energy is updated with the current signal energy.
In addition to the noise energy update, the tonal _stability parameter is also used in the classification algorithm of unvoiced sound signal. Specifically, the parameter is used to improve the robustness of unvoiced signal classification on music as will be described in the following section.
Sound signal classification (Sound signal classifier 108)
The general philosophy under the sound signal classifier 108 (Figure 1) is depicted in Figure 5. The approach can be described as follows. The sound signal classification is done in three steps in logic modules 501, 502, and 503, each of them discriminating a specific signal class. First, a signal activity detector (SAD) 501 discriminates between active and inactive signal frames. This signal activity detector 501 is the same as that referred to as signal activity detector 103 in Figure 1. The signal activity detector has already been described in the foregoing description.
If the signal activity detector 501 detects an inactive frame (background noise signal), then the classification chain ends and, if Discontinuous Transmission
(DTX) is supported, an encoding module 541 that can be incorporated in the encoder 109 (Figure 1) encodes the frame with comfort noise generation (CNG). If DTX is not supported, the frame continues into the active signal classification, and is most often classified as unvoiced speech frame.
If an active signal frame is detected by the sound activity detector 501, the frame is subjected to a second classifier 502 dedicated to discriminate unvoiced speech frames. If the classifier 502 classifies the frame as unvoiced speech signal, the classification chain ends, an encoding module 542 that can be incorporated in the encoder 109 (Figure 1) encodes the frame with an encoding method optimized for unvoiced speech signals.
Otherwise, the signal frame is processed through to a "stable voiced" classifier 503. If the frame is classified as a stable voiced frame by the classifier 503, then an encoding module 543 that can be incorporated in the encoder 109 (Figure 1) encodes the frame using a coding method optimized for stable voiced or quasi periodic signals.
Otherwise, the frame is likely to contain a non-stationary signal segment such as a voiced speech onset or rapidly evolving voiced speech or music signal. These frames typically require a general purpose encoding module 544 that can be incorporated in the encoder 109 (Figure 1) to encode the frame at high bit rate for sustaining good subjective quality.
In the following, the classification of unvoiced and voiced signal frames will be disclosed. The SAD detector 501 (or 103 in Figure 1) used to discriminate inactive frames has been already described in the foregoing description.
The unvoiced parts of the speech signal are characterized by missing the periodic component and can be further divided into unstable frames, where the energy and the spectrum changes rapidly, and stable frames where these characteristics remain relatively stable. The non-restrictive illustrative embodiment of the present invention proposes a method for the classification of unvoiced frames using the following parameters:
• voicing measure, computed as an averaged normalized correlation (7x ); • average spectral tilt measure Ce1 );
• maximum short-time energy increase from low level (^EO) designed to efficiently detect speech plosives in a signal;
• tonal stability to discriminate music from unvoiced signal (described in the foregoing description); and • relative frame energy (Ere\) to detect very low-energy signals.
Voicing measure
The normalized correlation, used to determine the voicing measure, is computed as part of the open-loop pitch analysis made in the LP analyzer and pitch tracker module 106 of Figure 1. Frames of 20 ms, for example, can be used. The LP analyzer and pitch tracker module 106 usually outputs an open-loop pitch estimate every 10 ms (twice per frame). Here, the LP analyzer and pitch tracker module 106 is also used to produce and output the normalized correlation measures. These normalized correlations are computed on a weighted signal and a past weighted signal at the open-loop pitch delay. The weighted speech signal sw(n) is computed using a perceptual weighting filter. For example, a perceptual weighting filter with fixed denominator, suited for wideband signals, can be used. An example of a transfer function for the perceptual weighting filter is given by the following relation: < l
Figure imgf000039_0001
where A(z) is the transfer function of a linear prediction (LP) filter computed in the LP analyzer and pitch tracker module 106, which is given by the following relation:
Figure imgf000040_0001
The details of the LP analysis and open-loop pitch analysis will not be further described in the present specification since they are believed to be well known to those of ordinary skill in the art.
The voicing measure is given by the average correlation Cnom which is defined as:
Cmm = ^(Cnorm{d0) + Cnorm(dι) + Cnϋrm(d2)) + re (36)
where Cnorm(do), Cnorm{d\) and Cnornidi) are respectively the normalized correlation of the first half of the current frame, the normalized correlation of the second half of the current frame, and the normalized correlation of the lookahead (the beginning of the next frame). The arguments to the correlations are the above mentioned open- loop pitch lags calculated in the LP analyzer and pitch tracker module 106 of Figure 1. A lookahead of 10 ms can be used, for example. A correction factor re is added to the average correlation in order to compensate for the background noise (in the presence of background noise the correlation value decreases). The correction factor is calculated using the following relation:
re = 0.00024492 e0 1596(^'-'4) -0.022 (37)
where Ntot is the total noise energy per frame computed according to Equation (1 1).
Spectral tilt
The spectral tilt parameter contains information about frequency distribution of energy. The spectral tilt can be estimated in the frequency domain as a ratio between the energy concentrated in low frequencies and the energy concentrated in high frequencies. However, it can be also estimated using other methods such as a ratio between the two first autocorrelation coefficients of the signal.
The spectral analyzer 102 in Figure 1 is used to perform two spectral analyses per frame as described in the foregoing description. The energy in high frequencies and in low frequencies is computed following the perceptual critical bands [M. Jelinek and R. Salami, "Noise Reduction Method for Wideband Speech Coding," in Proc. Eusipco, Vienna, Austria, September 2004], repeated here for convenience
Critical bands = {100.0, 200.0, 300.0, 400.0, 510.0, 630.0, 770.0, 920.0, 1080.0, 1270.0, 1480.0, 1720.0, 2000.0, 2320.0, 2700.0, 3150.0, 3700.0, 4400.0, 5300.0, 6350.0} Hz.
The energy in high frequencies is computed as the average of the energies of the last two critical bands using the following relations:
Eh = 0.5[ECB{bmax -\) + Ece(bmax)] (39)
where the critical band energies ECBO) are calculated according to Equation (2). The computation is performed twice for both spectral analyses.
The energy in low frequencies is computed as the average of the energies in the first 10 critical bands (for NB signals, the very first band is not included), using the following relation:
Ei =7Tl— ∑ ECB(i) . (40) The middle critical bands have been excluded from the computation to improve the discrimination between frames with high energy concentration in low frequencies (generally voiced) and with high energy concentration in high frequencies (generally unvoiced). In between, the energy content is not characteristic for any of the classes and increases the decision confusion.
However, the energy in low frequencies is computed differently for harmonic unvoiced signals with high energy content in low frequencies. This is due to the fact that for voiced female speech segments, the harmonic structure of the spectrum can be exploited to increase the voiced-unvoiced discrimination. The affected signals are either those whose pitch period is shorter than 128 or those which are not considered as a priori unvoiced. A priori unvoiced sound signals must fulfill the following condition:
+ Cnorm(d, )) + re < 0.6 . (41)
Figure imgf000042_0001
Thus, for the signals discriminated by the above condition, the energy in low frequencies is computed bin-wise and only frequency bins sufficiently close to the harmonics are taken into account into the summation. More specifically, the following relation is used:
. (42)
Figure imgf000042_0002
where Kmιn is the first bin (Kmm=\ for WB and Kmιn=3 for NB) and EBINQΪ) are the bin energies, as defined in Equation (3), in the first 25 frequency bins (the DC component is omitted). These 25 bins correspond to the first 10 critical bands. In the summation above, only terms close to the pitch harmonics are considered; w/,(/) is set to 1 if the distance between the nearest harmonics is not larger than a certain frequency threshold (for example 50 Hz) and is set to 0 otherwise; therefore only bins closer than 50 Hz to the nearest harmonics are taken into account. The counter cnt is equal to the number of non-zero terms in the summation. Hence, if the structure is harmonic in low frequencies, only high energy terms will be included in the sum. On the other hand, if the structure is not harmonic, the selection of the terms will be random and the sum will be smaller. Thus even unvoiced sound signals with high energy content in low frequencies can be detected.
The spectral tilt is given by the following relation:
Figure imgf000043_0001
where Nh and N1 are the averaged noise energies in the last two (2) critical bands and the first 10 critical bands (or the first 9 critical bands for NB), respectively, computed in the same way as Eh and E1 in Equations (39) and (40). The estimated noise energies have been included in the tilt computation to account for the presence of background noise. For NB signals, the missing bands are compensated by multiplying e, by 6. The spectral tilt computation is performed twice per frame to obtain et(0) and e((l) corresponding to both the first and second spectral analyses per frame. The average spectral tilt used in unvoiced frame classification is given by
e, =jOw +«,(0) + e,(l)), (44)
where eoid is the tilt in the second half of the previous frame.
Maximum short-time energy increase at low level
The maximum short-time energy increase at low level dEO is evaluated on the sound signal s(n), where «=0 corresponds to the beginning of the current frame. For example, 20 ms speech frames are used and every frame is divided into 4 subframes for speech encoding purposes. The signal energy is evaluated twice per subframe, i.e. 8 times per frame, based on short-time segments of a length of 32 samples (at a 12.8 kHz sampling rate). Further, the short-term energies of the last 32 samples from the previous frame are also computed. The short-time energies are computed using the following relation:
E^(j) = max(s2(i + 32j)) , j=-\,..J, (45)
where j=-\ andy=0,...,7 correspond to the end of the previous frame and the current frame, respectively. Another set of 9 maximum energies is computed by shifting the signal indices in Equation (45) by 16 samples. That is
42)O) = max(520- + 32y +16)) , y=-l,..,7. (46)
For those energies that are sufficiently low, i.e. which fulfill the condition 101Og(E5, (j)) < 37 , the following ratio is calculated:
Figure imgf000044_0001
for the first set of indices and the same calculation is repeated for E™ (j) to obtain two sets of ratios ratm (J) and rat(2) (j). The only maximum in these two sets is searched as follows:
dE0 = max (ratm(j),mtm(j)) (48)
which is the maximum short-time energy increase at low level. Measure on background noise spectrum flatness
In this example, inactive frames are usually coded with a coding mode designed for unvoiced speech in the absence of DTX operation. However, in the case of a quasi-periodic background noise, like some car noises, more faithful noise rendering is achieved if generic coding is instead used for WB.
To detect this type of background noise, a measure of background noise spectrum flatness is computed and averaged over time. First, average noise energy is computed for first and last four critical bands as follows:
Figure imgf000045_0001
^ ι=15
The flatness measure is then computed using the following relation:
fnoιSe_βal = (Nu -Nh4) / Nl4 + 0.5[NCB(\) + NCB(2)} / NCB(0)
and averaged over time using the following relation:
7[0] _ o no 7[-i] + (] ()] f
J noise flat υ κ z> y J noise flat ~ ^ -^ 1 J noise _ flat
where /J0J] flm is the averaged flatness measure of the past frame and /n [ 0°(]e βat is the updated value of the averaged flatness measure of the current frame.
Unvoiced signal classification The classification of unvoiced signal frames is based on the parameters described above, namely: the voicing measure C11017n , the average spectral tilt ~et , the maximum short-time energy increase at low level dEQ and the measure of background noise spectrum flatness, flHe βat . The classification is further supported by the tonal stability parameter and the relative frame energy calculated during the noise energy update phase (module 107 in Figure 1). The relative frame energy is calculated using the following relation:
E1I = E1 -E, (50)
where Et is the total frame energy (in dB) calculated in Equation (6) and Ef is the long-term average frame energy, updated in each active frame using the following relation:
Ef = Q.99Ef-Q>.0\Et .
The updating takes place only when SAD flag is set (variable SAD equal to 1).
The rules for unvoiced classification of WB signals are summarized below:
[(( Cnorm < 0.695 ) AND ( et < 4.0)) OR (£rel < -14)] AND
[last frame INACTIVE OR UNVOICED OR ((eold < 2.4) AND
(Cnorm{dθ)+re < 0.66))] AND
[dEO < 250] AND [ef(l) < 2.7] AND [(local SAD flag = 1) OR ( fill m < 1.45) OR ( Nf < 20)] AND
NOT [(tonal stability AND ((( Cnorm > 0.52) AND (I1 > 0.5 )) OR (et > 0.85 )) AND (Ere] > -14) AND SAD flag set to 1] The first line of the condition is related to low-energy signals and signals with low correlation concentrating their energy in high frequencies. The second line covers voiced offsets, the third line covers explosive segments of a signal and the fourth line is for the voiced onsets. The fifth line ensures flat spectrum in case of noisy inactive frames. The last line discriminates music signals that would be otherwise declared as unvoiced.
For NB signals the unvoiced classification condition takes the following form:
[local SAD flag set to 0 OR (Erei< -25) OR
(( C no™ < 0.61 ) AND ( e, < 7.0 ) AND (last frame INACTIVE OR UNVOICED OR ((eold < 7.0) AND (Cnorm(d0)+re < 0.52))))] AND [dEO < 250] AND [e; < 390 ] AND
NOT [{tonal_stability AND ((( Cnom > 0.52) AND (e, > 0.5 )) OR (e, > 0.75 )) AND (Erei > -10) AND SAD flag set to 1 ]
The decision trees for the WB case and NB case are shown in Figure 6. If the combined conditions are fulfilled the classification ends by selecting unvoiced coding mode.
Voiced signal classification
If a frame is not classified as inactive frame or as unvoiced frame then it is tested if it is a stable voiced frame. The decision rule is based on the normalized correlation in each subframe (with 1/4 subsample resolution), the average spectral tilt and open-loop pitch estimates in all subframes (with 1/4 subsample resolution). The open-loop pitch estimation procedure is made by the LP analyzer and pitch tracker module 106 of Figure 1. In Equation (19), three open-loop pitch estimates are used: do, d\ and c?2, corresponding to the first half-frame, the second half-frame and the look ahead. In order to obtain precise pitch information in all four subframes, 1/4 sample resolution fractional pitch refinement is calculated. This refinement is calculated on the weighted sound signal swdή). In this exemplary embodiment, the weighted signal swdn) is not decimated for open-loop pitch estimation refinement. At the beginning of each subframe a short correlation analysis (64 samples at 12.8 kHz sampling frequency) with resolution of 1 sample is done in the interval (-7,+7) using the following delays: cfo for the first and second subframes and d] for the third and fourth subframes. The correlations are then interpolated around their maxima at the fractional positions dmax - 3/4, Jmax - 1/2, dmaκ - 1/4, dmsΑ , dmax + 1/4, cfmax + 1/2, G?max + 3/4. The value yielding the maximum correlation is chosen as the refined pitch lag.
Let the refined open-loop pitch lags in all four subframes be denoted as T(O), T(I), 7(2) and 71(3) and their corresponding normalized correlations as C(O), C(I), C(2) and C(3). Then, the voiced signal classification condition is given by:
[C(O) > 0.605] AND [C(I) > 0.605] AND [C(I) > 0.605] AND [C(3) > 0.605] AND [et > 4] AND [ I T(I) - T(O)I < 3] AND [\T(2) - T(\)\ < 3] AND [\T(3) - T(2)\ < 3]
The condition says that the normalized correlation is sufficiently high in all subframes, the pitch estimates do not diverge throughout the frame and the energy is concentrated in low frequencies. If this condition is fulfilled the classification ends by selecting voiced signal coding mode, otherwise the signal is encoded by a generic signal coding mode. The condition applies to both WB and NB signals.
Estimation of tonality in the super wideband content
In the encoding of super wideband signals, a specific coding mode is used for sound signals with tonal structure. The frequency range which is of interest is mostly 7000 - 14000 Hz but can also be different. The objective is to detect frames having strong tonal content in the range of interest so that the tonal-specific coding mode may be used efficiently. This is done using the tonal stability analysis described earlier in the present disclosure. However, there are some aberrations which are described in this section.
First, the spectral floor which is subtracted from the log-energy spectrum is calculated in the following way. The log-energy spectrum is filtered using a moving- average (MA) filter, or FIR filter, the length of which is LΛ/Λ=15 samples. The filtered spectrum is given by:
spjloor(j) -
Figure imgf000049_0001
To save computational complexity, the filtering operation is done only for J=LMA and for the other lags, it is calculated as:
spjloor(j) = spjloorij - 1) + — [E dB (j + LMA)- EdB (j - LMA - 1)] , lLMA + l
Figure imgf000049_0002
-
For the lags 0,.., LMA-1 and NSPEC-LMA,- ■ -JVSPEC-1 , the spectral floor is calculated by means of extrapolation. More specifically, the following relation is used: spjloor(j) = 0.9spjloor(j + \) + 0ΛEdB(j) , foτj=LMA-\,...,0, spjloor(j) = 0.9spjloor(j -\) + 0AEdB(j) ,
Figure imgf000050_0001
- -MPEC-1 -
In the first equation above the updating proceeds from LΛ/Λ-1 downwards to 0.
The spectral floor is then subtracted from the log-energy spectrum in the same way as described earlier in the present disclosure.
The residual spectrum, denoted as Eres dB(j) > is then smoothed over 3 samples as follows using a short-time moving-average filter:
Kes,dBU) = 0.33[Eres (lBU-l) + Eres dBU) + E^dB(j + \)'] , forj=\,... ^SPEC-I.
The search of spectral minima and their indexes, the calculation of correlation map and the long term correlation map are the same as in the method described earlier in the present disclosure, using the smoothed spectrum Er'es dB(j) .
The decision about signal tonality in the super-wideband content is also the same as described earlier in the present disclosure, i.e. based on an adaptive threshold. However, in this case a different fixed threshold and step are used. The threshold thrjonal is initialized to 130 and is updated in every frame as follows:
Figure imgf000050_0002
thrjonal = thrjonal - 1.0 else thrjonal = thrjonal + 1.0 end.
The adaptive threshold thrjonal is upper limited by 140 and lower limited by 120. The fixed threshold has been set with respect to the frequency range 7000 - 14000 Hz. For a different range, it will have to be adjusted. As a general rule of thumb, the following relationship may be applied
Figure imgf000051_0001
The last difference to the method described earlier in the present disclosure is that the detection of strong tones is not used in the super wideband content. This is motivated by the fact that strong tones are perceptually not suitable for the purpose of encoding the tonal signal in the super wideband content.
Although the present invention has been described in the foregoing disclosure by way of a non-restrictive, illustrative embodiment thereof, this embodiment can be modified at will, within the scope of the appended claims without departing from the spirit and nature of the subject invention.

Claims

WHAT IS CLAIMED IS:
1. A method for estimating a tonality of a sound signal the method comprising: calculating a current residual spectrum of the sound signal; detecting peaks in the current residual spectrum; calculating a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and calculating a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.
2. A method as defined in claim 1 , wherein calculating the current residual spectrum comprises: searching for minima in the spectrum of the sound signal in a current frame; estimating a spectral floor by connecting the minima with each other; and subtracting the estimated spectral floor from the spectrum of the sound signal in the current frame so as to produce the current residual spectrum.
3. A method as defined in claim 1, wherein detecting the peaks in the current residual spectrum comprises locating a maximum between each pair of two consecutive minima.
4. A method as defined in claim 1, wherein calculating the correlation map comprises: for each detected peak in the current residual spectrum, calculating a normalized correlation value with the previous residual spectrum, over frequency bins between two consecutive minima in the current residual spectrum that delimit the peak; and assigning a score to each detected peak, the score corresponding to the normalized correlation value; and for each detected peak, assigning the normalized correlation value of the peak over the frequency bins between the two consecutive minima that delimit the peak so as to form the correlation map.
5. A method as defined in claim 1, wherein calculating the long-term correlation map comprises: filtering the correlation map through an one-pole filter on a frequency bin by frequency bin basis; and summing the filtered correlation map over the frequency bins so as to produce a summed long-term correlation map.
6. A method as defined in claim 1 , further comprising detecting strong tones in the sound signal.
7. A method as defined in claim 6, wherein detecting the strong tones in the sound signal comprises searching in the correlation map for frequency bins having a magnitude that exceeds a given fixed threshold.
8. A method as defined in claim 6, wherein detecting the strong tones in the sound signal comprises comparing the summed long-term correlation map with an adaptive threshold indicative of sound activity in the sound signal.
9. A method as defined in claim 1, further comprising verification of a presence of strong tones.
10. A method for detecting sound activity in a sound signal, wherein the sound signal is classified as one of an inactive sound signal and an active sound signal according to the detected sound activity in the sound signal, the method comprising: estimating a parameter related to a tonality of the sound signal used for distinguishing a music signal from a background noise signal; wherein the tonality estimation is performed according to any one of claims 1 to 9.
11. A method as defined in claim 10, further comprising preventing update of noise energy estimates when a tonal sound signal is detected.
12. A method as defined in claim 10, wherein detecting the sound activity in the sound signal further comprises using a signal-to-noise ratio (SNR)-based sound activity detection.
13. A method as defined in claim 12, wherein using the signal-to-noise ratio (SNR)-based sound activity detection comprises detecting the sound signal based on a frequency dependent signal-to-noise ratio (SNR).
14. A method as defined in claim 12, wherein using the signal-to-noise ratio
(SNR)-based sound activity detection comprises comparing an average signal-to noise-ratio (SNRav) to a threshold calculated as a function of a long-term signal-to noise-ratio (SNRLT)-
15. A method as defined in claim 14, wherein using the signal-to-noise ratio
(SNR)-based sound activity detection in the sound signal further comprises using noise energy estimates calculated in a previous frame in a SNR calculation.
16. A method as defined in claim 15, wherein using the signal-to-noise ratio (SNR)-based sound activity detection further comprises updating the noise estimates for a next frame.
17. A method as defined in claim 16, wherein updating the noise energy estimates for a next frame comprises calculating an update decision based on at least one of a pitch stability, a voicing, a non-stationarity parameter of the sound signal and a ratio between a second order and a sixteenth order of linear prediction residual error energies.
18. A method as defined in claim 14, comprising classifying the sound signal as one of an inactive sound signal and active sound signal, which comprises determining an inactive sound signal when the average signal-to-noise ratio (SNRav) is inferior to the calculated threshold.
19. A method as defined in claim 14, comprising classifying the sound signal as one of an inactive sound signal and active sound signal, which comprises determining an active sound signal when the average signal-to-noise ratio (SNRav) is larger than the calculated threshold.
20. A method as defined in claim 10, wherein estimating the parameter related to the tonality of the sound signal prevents updating of noise energy estimates when a music signal is detected.
21. A method as defined in claim 10, further comprising calculating a complementary non-stationarity parameter and a noise character parameter in order to distinguish a music signal from a background noise signal and prevent update of noise energy estimates on the music signal.
22. A method as defined in claim 21, wherein calculating the complementary non-stationarity parameter comprises calculating a parameter similar to a conventional non-stationarity with resetting a long-term energy when a spectral attack is detected.
23. A method as defined in claim 22, wherein resetting the long-term energy comprises setting the long-term energy to a current frame energy.
24. A method as defined in claim 22, wherein detecting the spectral attack and resetting the long-term energy comprises calculating a spectral diversity parameter.
25. A method as defined in claim 24, wherein calculating the spectral diversity parameter comprises: calculating a ratio between an energy of the sound signal in a current frame and an energy of the sound signal in a previous frame, for frequency bands higher than a given number; and calculating the spectral diversity as a weighted sum of the computed ratio over all the frequency bands higher than the given number.
26. A method as defined in claim 22, wherein calculating the complementary non-stationarity parameter further comprises calculating an activity prediction parameter indicative of an activity of the sound signal.
27. A method as defined in claim 26, wherein calculating the activity prediction parameter comprises: calculating a long-term value of a binary decision obtained from estimating the parameter related to the tonality of the sound signal and the conventional non- stationarity parameter.
28. A method as defined in claim 21, wherein the update of the noise energy estimates is prevented in response to having simultaneously the activity prediction parameter larger than a first given fixed threshold and the complementary non- stationarity parameter larger than a second given fixed threshold
29. A method as defined in claim 21, wherein calculating the noise character parameter comprises: dividing a plurality of frequency bands into a first group of a certain number of first frequency bands and a second group of a rest of the frequency bands; calculating a first energy value for the first group of frequency bands and a second energy value of the second group of frequency bands; calculating a ratio between the first and second energy values so as to produce the noise character parameter; and calculating a long-term value of the noise character parameter based on the calculated noise character parameter.
30. A method as defined in claim 29, wherein the update of the noise energy estimates is prevented in response to having the noise character parameter inferior than a given fixed threshold.
31. A method for classifying a sound signal in order to optimize encoding of the sound signal using the classification of the sound signal, the method comprising: detecting a sound activity in the sound signal; classifying the sound signal as one of an inactive sound signal and an active sound signal according to the detected sound activity in the sound signal; and in response to the classification of the sound signal as an active sound signal, further classifying the active sound signal as one of an unvoiced speech signal and a non-unvoiced speech signal; wherein classifying the active sound signal as an unvoiced speech signal comprises estimating a tonality of the sound signal in order to prevent classifying music signals as unvoiced speech signals, wherein the tonality estimation is performed according to any one of claims 1 to 9.
32. A method as defined in claim 31, further comprising encoding the sound signal according to the classification of the sound signal.
33. A method as defined in claim 32, wherein encoding the sound signal according to the classification of the sound signal comprises encoding the inactive sound signal using comfort noise generation.
34. A method as defined in claim 31, wherein classifying the active sound signal as an unvoiced speech signal comprises calculating a decision rule based on at least one of a voicing measure, an average spectral tilt measure, a maximum short- time energy increase at low level, a tonal stability and a relative frame energy.
35. A method as defined in claim 31, further comprising classifying the non- unvoiced speech signal as one of a stable voiced speech signal and another type of signal different from the stable voiced speech signal.
36. A method as defined in claim 35, wherein classifying the non-unvoiced speech signal as the stable voiced speech signal comprises calculating a decision rule based on at least one of a normalized correlation, an average spectral tilt and an open-loop pitch estimates of the sound signal.
37. A method for encoding a higher band of a sound signal using a classification of the sound signal, the method comprising: classifying the sound signal as one of a tonal sound signal and a non-tonal sound signal; wherein classifying the sound signal as a tonal signal comprises estimating a tonality of the sound signal according to any one of claims 1 to 9.
38. A method as defined in claim 37, wherein estimating the parameter related to the tonality of the sound signal according to one of claims 1 to 9 further comprises using an alternative method for calculating a spectral floor.
39. A method as defined in claim 38, wherein using the alternative method for calculating the spectral floor comprises filtering a log-energy spectrum of the sound signal in a current frame using a moving-average filter.
40. A method as defined in claim 37, wherein estimating the tonality of the sound signal according to any one of claims 1 to 9 further comprises smoothing the residual spectrum by means of a short-time moving-average filter
41. A method as defined in claim 37, further comprising encoding the higher band of the sound signal according to the classification of said sound signal.
42. A method as defined in claim 41, wherein encoding the higher band of the sound signal according to the classification of said sound signal comprises encoding the tonal sound signals using a model optimized for such signals.
43. A method as defined in claim 37, wherein the higher band of the sound signal comprises a frequency range above 7 kHz.
44. A device for estimating a tonality of a sound signal, the device comprising: means for calculating a current residual spectrum of the sound signal; means for detecting peaks in the current residual spectrum; means for calculating a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and means for calculating a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.
45. A device for estimating a tonality of a sound signal, the device comprising: a calculator of a current residual spectrum of the sound signal; a detector of peaks in the current residual spectrum; a calculator of a correlation map between the current residual spectrum and a previous residual spectrum for each detected peak; and a calculator of a long-term correlation map based on the calculated correlation map, the long-term correlation map being indicative of a tonality in the sound signal.
46. A device as defined in claim 45, wherein the calculator of the current residual spectrum comprises: a locator of minima in the spectrum of the sound signal in a current frame; an estimator of a spectral floor which connects the minima with each other; and a subtractor of the estimated spectral floor from the spectrum so as to produce the current residual spectrum.
47. A device as defined in claim 45, wherein the calculator of the long-term correlation map comprises: a filter for filtering the correlation map on a frequency bin by frequency bin basis; and an adder for summing the filtered correlation map over the frequency bins so as to produce a summed long-term correlation map.
48. A device as defined in claim 45, further comprising a detector of strong tones in the sound signal.
49. A device for detecting sound activity in a sound signal, wherein the sound signal is classified as one of an inactive sound signal and an active sound signal according to the detected sound activity in the sound signal, the device comprising: means for estimating a parameter related to a tonality of the sound signal used for distinguishing a music signal from a background noise signal; wherein the tonality parameter estimation means comprises a device according to claim 44.
50. A device for detecting sound activity in a sound signal, wherein the sound signal is classified as one of an inactive sound signal and an active sound signal according to the detected sound activity in the sound signal, the device comprising: a tonality estimator of the sound signal, used for distinguishing a music signal from a background noise signal; wherein the tonality estimator comprises a device according to any one of claims 45 to 48.
51. A device as defined in claim 50, further comprising a signal-to-noise ratio (SNR)-based sound activity detector.
52. A device as defined in claim 51, wherein the (SNR)-based sound activity detector comprises a comparator of an average signal to noise ratio (SNRav) with a threshold which is a function of a long-term signal to noise ratio (SNRLT)-
53. A device as defined in claim 50, further comprising a noise estimator for updating noise energy estimates in a calculation of a signal-to-noise ratio (SNR) in the SNR-based sound activity detector.
54. A device as defined in claim 50, further comprising a calculator of a complementary non-stationarity parameter and a calculator of a noise character of the sound signal for distinguishing a music signal from a background noise signal and preventing update of noise energy estimates.
55. A device as defined in claim 50, further comprising a calculator of a spectral parameter used for detecting spectral changes and spectral attacks in the sound signal.
56. A device for classifying a sound signal in order to optimize encoding of the sound signal using the classification of the sound signal, the device comprising: means for detecting a sound activity in the sound signal; means for classifying the sound signal as one of an inactive sound signal and active sound signal according to the detected sound activity in the sound signal; and in response to the classification of the sound signal as an active sound signal, means for further classifying the active sound signal as one of an unvoiced speech signal and a non-unvoiced speech signal; wherein the means for further classifying the sound signal as an unvoiced speech signal comprises means for estimating a parameter related to a tonality of the sound signal in order to prevent classifying music signals as unvoiced speech signals wherein the means for estimating the tonality related parameter comprises a device according to any one of claims 45 to 48.
57. A device for classifying a sound signal in order to optimize encoding of the sound signal using the classification of the sound signal, the device comprising: a detector of sound activity in the sound signal; a first sound signal classifier for classifying the sound signal as one of an inactive sound signal and an active sound signal according to the detected sound activity in the sound signal; and a second sound signal classifier in connection with the first sound signal classifier for classifying the active sound signal as one of an unvoiced speech signal and a non-unvoiced speech signal; wherein the sound activity detector comprises a tonality estimator for estimating a tonality of the sound signal in order to prevent classifying music signals as unvoiced speech signals, wherein the tonality estimator comprises a device according to any one of claims 45 to 48.
58. A device as defined in claim 57, further comprising a sound encoder for encoding the sound signal according to the classification of the sound signal.
59. A device as defined in claim 58, wherein the sound encoder comprises a noise encoder for encoding inactive sound signals.
60. A device as defined in claim 58, wherein the sound encoder comprises an unvoiced speech optimized coder.
61. A device as defined in claim 58, wherein the sound encoder comprises a voiced speech optimized coder for coding stable voiced signals.
62. A device as defined in claim 58, wherein the sound encoder comprises a generic sound signal coder for coding fast evolving voiced signals.
63. A device for encoding a higher band of a sound signal using a classification of the sound signal, the device comprising: means for classifying the sound signal as one of a tonal sound signal and a non-tonal sound signal; and means for encoding the higher band of the classified sound signal; wherein the means for classifying the sound signal as a tonal signal comprises a device for estimating a tonality of the sound signal according to any one of claims 45 to 48.
64. A device for encoding a higher band of a sound signal using a classification of the sound signal, the device comprising: a sound signal classifier to classify the sound signal as one of a tonal sound signal and a non-tonal sound signal; and a sound encoder for encoding the higher band of the classified sound signal; wherein the sound signal classifier comprises device for estimating a tonality of the sound signal according to any one of claims 45 to 48.
65. A device as defined in claim 64, further comprising a moving-average filter for calculating a spectral floor derived from the sound signal, wherein the spectral floor is used in estimating the tonality of the sound signal.
66. A device as defined in claim 64, further comprising a short-time moving- average filter for smoothing a residual spectrum of the sound signal, wherein the residual spectrum is used in estimating the tonality of the sound signal.
PCT/CA2008/001184 2007-06-22 2008-06-20 Method and device for sound activity detection and sound signal classification WO2009000073A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2010512474A JP5395066B2 (en) 2007-06-22 2008-06-20 Method and apparatus for speech segment detection and speech signal classification
ES08783143.4T ES2533358T3 (en) 2007-06-22 2008-06-20 Procedure and device to estimate the tone of a sound signal
EP08783143.4A EP2162880B1 (en) 2007-06-22 2008-06-20 Method and device for estimating the tonality of a sound signal
CA2690433A CA2690433C (en) 2007-06-22 2008-06-20 Method and device for sound activity detection and sound signal classification
US12/664,934 US8990073B2 (en) 2007-06-22 2008-06-20 Method and device for sound activity detection and sound signal classification

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US92933607P 2007-06-22 2007-06-22
US60/929,336 2007-06-22

Publications (2)

Publication Number Publication Date
WO2009000073A1 true WO2009000073A1 (en) 2008-12-31
WO2009000073A8 WO2009000073A8 (en) 2009-03-26

Family

ID=40185136

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CA2008/001184 WO2009000073A1 (en) 2007-06-22 2008-06-20 Method and device for sound activity detection and sound signal classification

Country Status (7)

Country Link
US (1) US8990073B2 (en)
EP (1) EP2162880B1 (en)
JP (1) JP5395066B2 (en)
CA (1) CA2690433C (en)
ES (1) ES2533358T3 (en)
RU (1) RU2441286C2 (en)
WO (1) WO2009000073A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011086923A1 (en) * 2010-01-14 2011-07-21 パナソニック株式会社 Encoding device, decoding device, spectrum fluctuation calculation method, and spectrum amplitude adjustment method
US20110301946A1 (en) * 2009-02-27 2011-12-08 Panasonic Corporation Tone determination device and tone determination method
EP2413313A1 (en) * 2009-03-27 2012-02-01 Huawei Technologies Co., Ltd. Method and device for audio signal classifacation
EP2491548A1 (en) * 2009-10-19 2012-08-29 Telefonaktiebolaget LM Ericsson (publ) Method and voice activity detector for a speech encoder
WO2012153165A1 (en) * 2011-05-06 2012-11-15 Nokia Corporation A pitch estimator
JP2013508772A (en) * 2009-10-19 2013-03-07 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Method and background estimator for speech activity detection
WO2014035328A1 (en) 2012-08-31 2014-03-06 Telefonaktiebolaget L M Ericsson (Publ) Method and device for voice activity detection
WO2015171061A1 (en) * 2014-05-08 2015-11-12 Telefonaktiebolaget L M Ericsson (Publ) Audio signal discriminator and coder
EP3005364A4 (en) * 2013-09-09 2016-06-01 Huawei Tech Co Ltd Unvoiced/voiced decision for speech processing
EP4254409A1 (en) * 2022-03-29 2023-10-04 Harman International Industries, Incorporated Voice detection method

Families Citing this family (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8949120B1 (en) 2006-05-25 2015-02-03 Audience, Inc. Adaptive noise cancelation
CN101246688B (en) * 2007-02-14 2011-01-12 华为技术有限公司 Method, system and device for coding and decoding ambient noise signal
US8521530B1 (en) * 2008-06-30 2013-08-27 Audience, Inc. System and method for enhancing a monaural audio signal
TWI384423B (en) * 2008-11-26 2013-02-01 Ind Tech Res Inst Alarm method and system based on voice events, and building method on behavior trajectory thereof
WO2011015237A1 (en) * 2009-08-04 2011-02-10 Nokia Corporation Method and apparatus for audio signal classification
US8571231B2 (en) * 2009-10-01 2013-10-29 Qualcomm Incorporated Suppressing noise in an audio signal
CN102792760B (en) * 2010-02-25 2015-08-12 瑞典爱立信有限公司 For music closes DTX
US8886523B2 (en) * 2010-04-14 2014-11-11 Huawei Technologies Co., Ltd. Audio decoding based on audio class with control code for post-processing modes
JP5714002B2 (en) * 2010-04-19 2015-05-07 パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America Encoding device, decoding device, encoding method, and decoding method
US8798290B1 (en) 2010-04-21 2014-08-05 Audience, Inc. Systems and methods for adaptive signal equalization
US8907929B2 (en) * 2010-06-29 2014-12-09 Qualcomm Incorporated Touchless sensing and gesture recognition using continuous wave ultrasound signals
KR20130036304A (en) * 2010-07-01 2013-04-11 엘지전자 주식회사 Method and device for processing audio signal
US9082416B2 (en) * 2010-09-16 2015-07-14 Qualcomm Incorporated Estimating a pitch lag
US8521541B2 (en) * 2010-11-02 2013-08-27 Google Inc. Adaptive audio transcoding
EP3252771B1 (en) 2010-12-24 2019-05-01 Huawei Technologies Co., Ltd. A method and an apparatus for performing a voice activity detection
WO2012083555A1 (en) * 2010-12-24 2012-06-28 Huawei Technologies Co., Ltd. Method and apparatus for adaptively detecting voice activity in input audio signal
WO2012127278A1 (en) * 2011-03-18 2012-09-27 Nokia Corporation Apparatus for audio signal processing
US8990074B2 (en) * 2011-05-24 2015-03-24 Qualcomm Incorporated Noise-robust speech coding mode classification
US8527264B2 (en) * 2012-01-09 2013-09-03 Dolby Laboratories Licensing Corporation Method and system for encoding audio data with adaptive low frequency compensation
US9099098B2 (en) 2012-01-20 2015-08-04 Qualcomm Incorporated Voice activity detection in presence of background noise
TWI591620B (en) * 2012-03-21 2017-07-11 三星電子股份有限公司 Method of generating high frequency noise
EP2828854B1 (en) * 2012-03-23 2016-03-16 Dolby Laboratories Licensing Corporation Hierarchical active voice detection
KR101398189B1 (en) * 2012-03-27 2014-05-22 광주과학기술원 Speech receiving apparatus, and speech receiving method
KR102123770B1 (en) 2012-03-29 2020-06-16 텔레폰악티에볼라겟엘엠에릭슨(펍) Transform Encoding/Decoding of Harmonic Audio Signals
US20130317821A1 (en) * 2012-05-24 2013-11-28 Qualcomm Incorporated Sparse signal detection with mismatched models
US9640194B1 (en) 2012-10-04 2017-05-02 Knowles Electronics, Llc Noise suppression for speech processing based on machine-learning mask estimation
RU2656681C1 (en) * 2012-11-13 2018-06-06 Самсунг Электроникс Ко., Лтд. Method and device for determining the coding mode, the method and device for coding of audio signals and the method and device for decoding of audio signals
BR112015014217B1 (en) * 2012-12-21 2021-11-03 Fraunhofer-Gesellschaft Zur Forderung Der Angewandten Forschung E.V ADDING COMFORT NOISE TO MODELING BACKGROUND NOISE AT LOW BIT RATES
EP3011556B1 (en) 2013-06-21 2017-05-03 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Method and apparatus for obtaining spectrum coefficients for a replacement frame of an audio signal, audio decoder, audio receiver and system for transmitting audio signals
CN108364657B (en) 2013-07-16 2020-10-30 超清编解码有限公司 Method and decoder for processing lost frame
US9536540B2 (en) 2013-07-19 2017-01-03 Knowles Electronics, Llc Speech signal separation and synthesis based on auditory scene analysis and speech modeling
CN106409313B (en) * 2013-08-06 2021-04-20 华为技术有限公司 Audio signal classification method and device
CN104424956B9 (en) * 2013-08-30 2022-11-25 中兴通讯股份有限公司 Activation tone detection method and device
US9769550B2 (en) 2013-11-06 2017-09-19 Nvidia Corporation Efficient digital microphone receiver process and system
US9454975B2 (en) * 2013-11-07 2016-09-27 Nvidia Corporation Voice trigger
JP2015099266A (en) * 2013-11-19 2015-05-28 ソニー株式会社 Signal processing apparatus, signal processing method, and program
CN110265058B (en) * 2013-12-19 2023-01-17 瑞典爱立信有限公司 Estimating background noise in an audio signal
WO2015111772A1 (en) 2014-01-24 2015-07-30 숭실대학교산학협력단 Method for determining alcohol consumption, and recording medium and terminal for carrying out same
US9934793B2 (en) 2014-01-24 2018-04-03 Foundation Of Soongsil University-Industry Cooperation Method for determining alcohol consumption, and recording medium and terminal for carrying out same
KR101621766B1 (en) * 2014-01-28 2016-06-01 숭실대학교산학협력단 Alcohol Analyzing Method, Recording Medium and Apparatus For Using the Same
KR101621797B1 (en) 2014-03-28 2016-05-17 숭실대학교산학협력단 Method for judgment of drinking using differential energy in time domain, recording medium and device for performing the method
KR101569343B1 (en) 2014-03-28 2015-11-30 숭실대학교산학협력단 Mmethod for judgment of drinking using differential high-frequency energy, recording medium and device for performing the method
KR101621780B1 (en) 2014-03-28 2016-05-17 숭실대학교산학협력단 Method fomethod for judgment of drinking using differential frequency energy, recording medium and device for performing the method
CN111710342B (en) 2014-03-31 2024-04-16 弗朗霍弗应用研究促进协会 Encoding device, decoding device, encoding method, decoding method, and program
FR3020732A1 (en) * 2014-04-30 2015-11-06 Orange PERFECTED FRAME LOSS CORRECTION WITH VOICE INFORMATION
CN106683681B (en) * 2014-06-25 2020-09-25 华为技术有限公司 Method and device for processing lost frame
ES2758517T3 (en) 2014-07-29 2020-05-05 Ericsson Telefon Ab L M Background noise estimation in audio signals
US9799330B2 (en) 2014-08-28 2017-10-24 Knowles Electronics, Llc Multi-sourced noise suppression
US10163453B2 (en) * 2014-10-24 2018-12-25 Staton Techiya, Llc Robust voice activity detector system for use with an earphone
US10049684B2 (en) 2015-04-05 2018-08-14 Qualcomm Incorporated Audio bandwidth selection
US9401158B1 (en) * 2015-09-14 2016-07-26 Knowles Electronics, Llc Microphone signal fusion
KR102446392B1 (en) * 2015-09-23 2022-09-23 삼성전자주식회사 Electronic device and method for recognizing voice of speech
CN106910494B (en) 2016-06-28 2020-11-13 创新先进技术有限公司 Audio identification method and device
US9978392B2 (en) * 2016-09-09 2018-05-22 Tata Consultancy Services Limited Noisy signal identification from non-stationary audio signals
CN109360585A (en) * 2018-12-19 2019-02-19 晶晨半导体(上海)股份有限公司 A kind of voice-activation detecting method
KR20200133525A (en) 2019-05-20 2020-11-30 삼성전자주식회사 Apparatus and method for determining validity of bio-information estimation model
CN112908352B (en) * 2021-03-01 2024-04-16 百果园技术(新加坡)有限公司 Audio denoising method and device, electronic equipment and storage medium
US11545159B1 (en) 2021-06-10 2023-01-03 Nice Ltd. Computerized monitoring of digital audio signals

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5040217A (en) * 1989-10-18 1991-08-13 At&T Bell Laboratories Perceptual coding of audio signals
US5406635A (en) * 1992-02-14 1995-04-11 Nokia Mobile Phones, Ltd. Noise attenuation system
US5712953A (en) * 1995-06-28 1998-01-27 Electronic Data Systems Corporation System and method for classification of audio or audio/video signals based on musical content
US6101464A (en) * 1997-03-26 2000-08-08 Nec Corporation Coding and decoding system for speech and musical sound
US20040181393A1 (en) * 2003-03-14 2004-09-16 Agere Systems, Inc. Tonal analysis for perceptual audio coding using a compressed spectral representation
US20050256705A1 (en) * 2004-03-30 2005-11-17 Yamaha Corporation Noise spectrum estimation method and apparatus
US20060130637A1 (en) * 2003-01-30 2006-06-22 Jean-Luc Crebouw Method for differentiated digital voice and music processing, noise filtering, creation of special effects and device for carrying out said method

Family Cites Families (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05335967A (en) * 1992-05-29 1993-12-17 Takeo Miyazawa Sound information compression method and sound information reproduction device
ES2141824T3 (en) * 1993-03-25 2000-04-01 British Telecomm VOICE RECOGNITION WITH PAUSE DETECTION.
JP3321933B2 (en) * 1993-10-19 2002-09-09 ソニー株式会社 Pitch detection method
JPH07334190A (en) * 1994-06-14 1995-12-22 Matsushita Electric Ind Co Ltd Device for quantizing higher harmonic amplitude value
US6330533B2 (en) * 1998-08-24 2001-12-11 Conexant Systems, Inc. Speech encoder adaptively applying pitch preprocessing with warping of target signal
US6424938B1 (en) 1998-11-23 2002-07-23 Telefonaktiebolaget L M Ericsson Complex signal activity detection for improved speech/noise classification of an audio signal
US6160199A (en) 1998-12-21 2000-12-12 The Procter & Gamble Company Absorbent articles comprising biodegradable PHA copolymers
US6959274B1 (en) * 1999-09-22 2005-10-25 Mindspeed Technologies, Inc. Fixed rate speech compression system and method
US6510407B1 (en) * 1999-10-19 2003-01-21 Atmel Corporation Method and apparatus for variable rate coding of speech
JP2002169579A (en) * 2000-12-01 2002-06-14 Takayuki Arai Device for embedding additional data in audio signal and device for reproducing additional data from audio signal
DE10109648C2 (en) 2001-02-28 2003-01-30 Fraunhofer Ges Forschung Method and device for characterizing a signal and method and device for generating an indexed signal
DE10134471C2 (en) 2001-02-28 2003-05-22 Fraunhofer Ges Forschung Method and device for characterizing a signal and method and device for generating an indexed signal
GB2375028B (en) * 2001-04-24 2003-05-28 Motorola Inc Processing speech signals
EP1280138A1 (en) * 2001-07-24 2003-01-29 Empire Interactive Europe Ltd. Method for audio signals analysis
US7124075B2 (en) * 2001-10-26 2006-10-17 Dmitry Edward Terez Methods and apparatus for pitch determination
US6988064B2 (en) * 2003-03-31 2006-01-17 Motorola, Inc. System and method for combined frequency-domain and time-domain pitch extraction for speech signals
SG119199A1 (en) * 2003-09-30 2006-02-28 Stmicroelectronics Asia Pacfic Voice activity detector
CA2454296A1 (en) * 2003-12-29 2005-06-29 Nokia Corporation Method and device for speech enhancement in the presence of background noise
ATE429698T1 (en) * 2004-09-17 2009-05-15 Harman Becker Automotive Sys BANDWIDTH EXTENSION OF BAND-LIMITED AUDIO SIGNALS
US7983904B2 (en) * 2004-11-05 2011-07-19 Panasonic Corporation Scalable decoding apparatus and scalable encoding apparatus
KR100657948B1 (en) * 2005-02-03 2006-12-14 삼성전자주식회사 Speech enhancement apparatus and method
US20060224381A1 (en) * 2005-04-04 2006-10-05 Nokia Corporation Detecting speech frames belonging to a low energy sequence
JP2007025290A (en) 2005-07-15 2007-02-01 Matsushita Electric Ind Co Ltd Device controlling reverberation of multichannel audio codec
KR101116363B1 (en) * 2005-08-11 2012-03-09 삼성전자주식회사 Method and apparatus for classifying speech signal, and method and apparatus using the same
JP4736632B2 (en) * 2005-08-31 2011-07-27 株式会社国際電気通信基礎技術研究所 Vocal fly detection device and computer program
US7953605B2 (en) * 2005-10-07 2011-05-31 Deepen Sinha Method and apparatus for audio encoding and decoding using wideband psychoacoustic modeling and bandwidth extension
JP2007114417A (en) * 2005-10-19 2007-05-10 Fujitsu Ltd Voice data processing method and device
JP4971351B2 (en) * 2005-12-05 2012-07-11 クゥアルコム・インコーポレイテッド System, method and apparatus for detection of tone components
KR100653643B1 (en) * 2006-01-26 2006-12-05 삼성전자주식회사 Method and apparatus for detecting pitch by subharmonic-to-harmonic ratio
SG136836A1 (en) * 2006-04-28 2007-11-29 St Microelectronics Asia Adaptive rate control algorithm for low complexity aac encoding
JP4236675B2 (en) * 2006-07-28 2009-03-11 富士通株式会社 Speech code conversion method and apparatus
US8015000B2 (en) * 2006-08-03 2011-09-06 Broadcom Corporation Classification-based frame loss concealment for audio signals
US8428957B2 (en) * 2007-08-24 2013-04-23 Qualcomm Incorporated Spectral noise shaping in audio coding based on spectral dynamics in frequency sub-bands

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5040217A (en) * 1989-10-18 1991-08-13 At&T Bell Laboratories Perceptual coding of audio signals
US5406635A (en) * 1992-02-14 1995-04-11 Nokia Mobile Phones, Ltd. Noise attenuation system
US5712953A (en) * 1995-06-28 1998-01-27 Electronic Data Systems Corporation System and method for classification of audio or audio/video signals based on musical content
US6101464A (en) * 1997-03-26 2000-08-08 Nec Corporation Coding and decoding system for speech and musical sound
US20060130637A1 (en) * 2003-01-30 2006-06-22 Jean-Luc Crebouw Method for differentiated digital voice and music processing, noise filtering, creation of special effects and device for carrying out said method
US20040181393A1 (en) * 2003-03-14 2004-09-16 Agere Systems, Inc. Tonal analysis for perceptual audio coding using a compressed spectral representation
US20050256705A1 (en) * 2004-03-30 2005-11-17 Yamaha Corporation Noise spectrum estimation method and apparatus

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"3GPP TS 26.404 version 'Enhanced aacPlus General Audio Codec; Encoder specification; Spectral Band Replication (SBR) part' (Release 6)", TECHNICAL SPECIFICATION GROUP SERVICES AND SYSTEM ASPECTS MEETING #25, PALM SPRINGS, USA, 13 September 2004 (2004-09-13) - 16 September 2004 (2004-09-16), XP008125534, Retrieved from the Internet <URL:http://www.3gpp.org/ftp/tsg_sa/TSG_SA/TSGS_25/Docs/PDF/SP-040636.pdf> *
DERICHE ET AL.: "A new approach to low bitrate audio coding using a combined harmonic-multiband-wavelet representation", IEEE FIFTH INTERNATIONAL SYMPOSIUM ON SIGNAL PROCESSING AND ITS APPLICATIONS (ISSPA'99), BRISBANE, AUSTRALIA, 22 August 1999 (1999-08-22) - 25 August 1999 (1999-08-25), pages 603 - 606, XP008125535 *
JELINEK ET AL.: "Noise reduction method for wideband speech coding", EUROPEAN SIGNAL PROCESSING CONFERENCE EUSIPCO 2004, VIENNA, AUSTRIA, 6 September 2004 (2004-09-06) - 10 September 2004 (2004-09-10), XP008125538 *
See also references of EP2162880A4 *

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102334156A (en) * 2009-02-27 2012-01-25 松下电器产业株式会社 Tone determination device and tone determination method
US20110301946A1 (en) * 2009-02-27 2011-12-08 Panasonic Corporation Tone determination device and tone determination method
US8682664B2 (en) 2009-03-27 2014-03-25 Huawei Technologies Co., Ltd. Method and device for audio signal classification using tonal characteristic parameters and spectral tilt characteristic parameters
EP2413313A1 (en) * 2009-03-27 2012-02-01 Huawei Technologies Co., Ltd. Method and device for audio signal classifacation
EP2413313A4 (en) * 2009-03-27 2012-02-29 Huawei Tech Co Ltd Method and device for audio signal classifacation
US9401160B2 (en) 2009-10-19 2016-07-26 Telefonaktiebolaget Lm Ericsson (Publ) Methods and voice activity detectors for speech encoders
JP2013508773A (en) * 2009-10-19 2013-03-07 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Speech encoder method and voice activity detector
JP2013508772A (en) * 2009-10-19 2013-03-07 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Method and background estimator for speech activity detection
EP2491548A4 (en) * 2009-10-19 2013-10-30 Ericsson Telefon Ab L M Method and voice activity detector for a speech encoder
EP2491548A1 (en) * 2009-10-19 2012-08-29 Telefonaktiebolaget LM Ericsson (publ) Method and voice activity detector for a speech encoder
US9418681B2 (en) 2009-10-19 2016-08-16 Telefonaktiebolaget Lm Ericsson (Publ) Method and background estimator for voice activity detection
US9202476B2 (en) 2009-10-19 2015-12-01 Telefonaktiebolaget L M Ericsson (Publ) Method and background estimator for voice activity detection
CN102714040A (en) * 2010-01-14 2012-10-03 松下电器产业株式会社 Encoding device, decoding device, spectrum fluctuation calculation method, and spectrum amplitude adjustment method
WO2011086923A1 (en) * 2010-01-14 2011-07-21 パナソニック株式会社 Encoding device, decoding device, spectrum fluctuation calculation method, and spectrum amplitude adjustment method
JP5602769B2 (en) * 2010-01-14 2014-10-08 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ Encoding device, decoding device, encoding method, and decoding method
US8892428B2 (en) 2010-01-14 2014-11-18 Panasonic Intellectual Property Corporation Of America Encoding apparatus, decoding apparatus, encoding method, and decoding method for adjusting a spectrum amplitude
WO2012153165A1 (en) * 2011-05-06 2012-11-15 Nokia Corporation A pitch estimator
US20140114653A1 (en) * 2011-05-06 2014-04-24 Nokia Corporation Pitch estimator
EP3301676A1 (en) 2012-08-31 2018-04-04 Telefonaktiebolaget LM Ericsson (publ) Method and device for voice activity detection
EP3113184A1 (en) 2012-08-31 2017-01-04 Telefonaktiebolaget LM Ericsson (publ) Method and device for voice activity detection
WO2014035328A1 (en) 2012-08-31 2014-03-06 Telefonaktiebolaget L M Ericsson (Publ) Method and device for voice activity detection
US9570093B2 (en) 2013-09-09 2017-02-14 Huawei Technologies Co., Ltd. Unvoiced/voiced decision for speech processing
US10043539B2 (en) 2013-09-09 2018-08-07 Huawei Technologies Co., Ltd. Unvoiced/voiced decision for speech processing
EP3005364A4 (en) * 2013-09-09 2016-06-01 Huawei Tech Co Ltd Unvoiced/voiced decision for speech processing
US11328739B2 (en) 2013-09-09 2022-05-10 Huawei Technologies Co., Ltd. Unvoiced voiced decision for speech processing cross reference to related applications
US10347275B2 (en) 2013-09-09 2019-07-09 Huawei Technologies Co., Ltd. Unvoiced/voiced decision for speech processing
US10242687B2 (en) 2014-05-08 2019-03-26 Telefonaktiebolaget Lm Ericsson (Publ) Audio signal discriminator and coder
US20160086615A1 (en) * 2014-05-08 2016-03-24 Telefonaktiebolaget L M Ericsson (Publ) Audio Signal Discriminator and Coder
US20170178660A1 (en) * 2014-05-08 2017-06-22 Telefonaktiebolaget Lm Ericsson (Publ) Audio Signal Discriminator and Coder
EP3379535A1 (en) * 2014-05-08 2018-09-26 Telefonaktiebolaget LM Ericsson (publ) Audio signal classifier
WO2015171061A1 (en) * 2014-05-08 2015-11-12 Telefonaktiebolaget L M Ericsson (Publ) Audio signal discriminator and coder
US20190198032A1 (en) * 2014-05-08 2019-06-27 Telefonaktiebolaget Lm Ericsson (Publ) Audio Signal Discriminator and Coder
US9620138B2 (en) 2014-05-08 2017-04-11 Telefonaktiebolaget Lm Ericsson (Publ) Audio signal discriminator and coder
CN106463141B (en) * 2014-05-08 2019-11-01 瑞典爱立信有限公司 Audio signal circuit sectionalizer and encoder
EP3594948A1 (en) * 2014-05-08 2020-01-15 Telefonaktiebolaget LM Ericsson (publ) Audio signal classifier
US10984812B2 (en) 2014-05-08 2021-04-20 Telefonaktiebolaget Lm Ericsson (Publ) Audio signal discriminator and coder
CN106463141A (en) * 2014-05-08 2017-02-22 瑞典爱立信有限公司 Audio signal discriminator and coder
EP4254409A1 (en) * 2022-03-29 2023-10-04 Harman International Industries, Incorporated Voice detection method

Also Published As

Publication number Publication date
ES2533358T3 (en) 2015-04-09
RU2441286C2 (en) 2012-01-27
EP2162880A4 (en) 2013-12-25
CA2690433C (en) 2016-01-19
EP2162880B1 (en) 2014-12-24
WO2009000073A8 (en) 2009-03-26
US20110035213A1 (en) 2011-02-10
RU2010101881A (en) 2011-07-27
JP2010530989A (en) 2010-09-16
JP5395066B2 (en) 2014-01-22
EP2162880A1 (en) 2010-03-17
CA2690433A1 (en) 2008-12-31
US8990073B2 (en) 2015-03-24

Similar Documents

Publication Publication Date Title
EP2162880B1 (en) Method and device for estimating the tonality of a sound signal
US7693710B2 (en) Method and device for efficient frame erasure concealment in linear predictive based speech codecs
KR100711280B1 (en) Methods and devices for source controlled variable bit-rate wideband speech coding
US8396707B2 (en) Method and device for efficient quantization of transform information in an embedded speech and audio codec
US20050177364A1 (en) Methods and devices for source controlled variable bit-rate wideband speech coding
US8620645B2 (en) Non-causal postfilter
EP2102860A1 (en) Method, medium, and apparatus to classify for audio signal, and method, medium and apparatus to encode and/or decode for audio signal using the same
EP2774145A1 (en) Improving non-speech content for low rate celp decoder
AU2008312198A1 (en) A method and an apparatus for processing a signal
US8571852B2 (en) Postfilter for layered codecs
Jelinek et al. Advances in source-controlled variable bit rate wideband speech coding

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08783143

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2690433

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 2008783143

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2010512474

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 123/DELNP/2010

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2010101881

Country of ref document: RU

WWE Wipo information: entry into national phase

Ref document number: 12664934

Country of ref document: US