WO2015104447A1 - Multi-channel audio signal classifier - Google Patents

Multi-channel audio signal classifier Download PDF

Info

Publication number
WO2015104447A1
WO2015104447A1 PCT/FI2014/050019 FI2014050019W WO2015104447A1 WO 2015104447 A1 WO2015104447 A1 WO 2015104447A1 FI 2014050019 W FI2014050019 W FI 2014050019W WO 2015104447 A1 WO2015104447 A1 WO 2015104447A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio signal
channel
audio
value
entropy
Prior art date
Application number
PCT/FI2014/050019
Other languages
French (fr)
Inventor
Adriana Vasilache
Lasse Juhani Laaksonen
Anssi Sakari RÄMÖ
Original Assignee
Nokia Technologies Oy
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
Application filed by Nokia Technologies Oy filed Critical Nokia Technologies Oy
Priority to RU2016131192A priority Critical patent/RU2648632C2/en
Priority to CN201480077074.3A priority patent/CN106104684A/en
Priority to US15/110,356 priority patent/US9911423B2/en
Priority to PCT/FI2014/050019 priority patent/WO2015104447A1/en
Priority to EP14877980.4A priority patent/EP3095117B1/en
Priority to JP2016546482A priority patent/JP6235725B2/en
Priority to KR1020167022075A priority patent/KR101841380B1/en
Publication of WO2015104447A1 publication Critical patent/WO2015104447A1/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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/008Multichannel audio signal coding or decoding using interchannel correlation to reduce redundancy, e.g. joint-stereo, intensity-coding or matrixing
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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/02Speech 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 spectral analysis, e.g. transform vocoders or subband vocoders
    • G10L19/0204Speech 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 spectral analysis, e.g. transform vocoders or subband vocoders using subband decomposition
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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/02Speech 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 spectral analysis, e.g. transform vocoders or subband vocoders
    • G10L19/032Quantisation or dequantisation of spectral components
    • G10L19/035Scalar quantisation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters
    • G10L25/18Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters the extracted parameters being spectral information of each sub-band
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/11Transducers incorporated or for use in hand-held devices, e.g. mobile phones, PDA's, camera's
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S1/00Two-channel systems
    • H04S1/007Two-channel systems in which the audio signals are in digital form
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S2420/00Techniques used stereophonic systems covered by H04S but not provided for in its groups
    • H04S2420/01Enhancing the perception of the sound image or of the spatial distribution using head related transfer functions [HRTF's] or equivalents thereof, e.g. interaural time difference [ITD] or interaural level difference [ILD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S2420/00Techniques used stereophonic systems covered by H04S but not provided for in its groups
    • H04S2420/07Synergistic effects of band splitting and sub-band processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04SSTEREOPHONIC SYSTEMS 
    • H04S3/00Systems employing more than two channels, e.g. quadraphonic
    • H04S3/008Systems employing more than two channels, e.g. quadraphonic in which the audio signals are in digital form, i.e. employing more than two discrete digital channels

Definitions

  • the present application relates to the classification of a multichannel or stereo audio signal for an audio encoder, and in particular, but not exclusively to a multichannel or stereo audio signal encoder for use in portable apparatus.
  • Audio signals like speech or music, are encoded for example to enable efficient transmission or storage of the audio signals.
  • Audio encoders and decoders are used to represent audio based signals, such as music and ambient sounds (which in speech coding terms can be called background noise).
  • An audio codec can also be configured to operate with varying bit rates. At lower bit rates, such an audio codec may be optimized to work with speech signals at a coding rate equivalent to a pure speech codec. At higher bit rates, the audio codec may code any signal including music, background noise and speech, with higher quality and performance.
  • a variable-rate audio codec can also implement an embedded scalable coding structure and bitstream, where additional bits (a specific amount of bits is often referred to as a layer) improve the coding upon lower rates, and where the bitstream of a higher rate may be truncated to obtain the bitstream of a lower rate coding. Such an audio codec may utilize a codec designed purely for speech signals as the core layer or lowest bit rate coding.
  • An audio codec is designed to maintain high (perceptual) quality while improving the compression ratio.
  • the audio codec it is common for the audio codec to adopt a multimode approach for encoding the input audio signal, in which a particular mode of coding is selected according to the channel configuration of the input audio signal.
  • An audio codec can be configured to operate with a multiple channel input audio signal, and in particular a bi-channel input audio signal.
  • a bi-channel configuration may be a stereo audio signal comprising two similar audio signals each having a different phase and sound pressure level. These differences may be attributed to the stereo signal being acquired by two omnidirectional microphones separated a reasonable distance apart.
  • Another bi-channel configuration can be a binaural signal which is distinguished from the stereo signal by being acquired by two omnidirectional microphones with a relatively short separation. Typically the distance of separation when acquiring a binaural signal is of the order of a few centimetres to be commensurate with the distance between the right and left ears of the typical human head.
  • a method comprising estimating a value of entropy for a multi-channel audio signal; determining a channel configuration of the multi-channel audio signal from the value of entropy; and encoding the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
  • the multi-channel audio signal comprises at least a first audio channel signal and a second audio channel signal
  • estimating the value of entropy for the multi-channel audio signal may comprise: transforming the first audio channel signal and the second audio channel signal each into a frequency domain audio signal comprising a plurality of frequency bands; determining a relative audio signal level by determining an audio signal level in a frequency band of the first audio channel signal relative to an audio signal level in a frequency band of the second audio channel signal; and determining the value of entropy from the relative audio signal level.
  • Determining the channel configuration of the multi-channel audio signal may comprise: comparing the value of entropy against a threshold value; classifying the channel configuration as a first type of channel configuration when the value of entropy is below or equal to the threshold value; and classifying the channel configuration as a second type of channel configuration when the value of entropy is above the threshold value.
  • Determining the value of entropy from the relative audio signal level may comprise: determining the probability of the relative audio signal level by determining a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal.
  • determining the value of entropy from the relative audio signal level may comprise: estimating the average number of relative audio signal level values between a coincidence of two relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
  • the multi-channel audio signal may comprise a bi-channel audio signal, and wherein the first type of channel configuration may be a binaural audio channel, and the second type of channel configuration may be a stereo audio channel.
  • the audio signal level may comprise the magnitude of the audio signal in the frequency band.
  • the relative audio signal level may be an interaural level difference.
  • an apparatus configured to: estimate a value of entropy for a multi-channel audio signal; determine a channel configuration of the multi-channel audio signal from the value of entropy; and encode the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
  • the multi-channel audio signal may comprise at least a first audio channel signal and a second audio channel signal
  • the apparatus configured to estimate the value of entropy for the multi-channel audio signal may be further configured to: transform the first audio channel signal and the second audio channel signal each into a frequency domain audio signal comprising a plurality of frequency bands; determine a relative audio signal level by the apparatus being configured to determine an audio signal level in a frequency band of the first audio channel signal relative to an audio signal level in a frequency band of the second audio channel signal; and determine the value of entropy from the relative audio signal level.
  • the apparatus configured to determine the channel configuration of the multichannel audio signal may be further configured to: compare the value of entropy against a threshold value; classify the channel configuration as a first type of channel configuration when the value of entropy is below or equal to the threshold value; and classify the channel configuration as a second type of channel configuration when the value of entropy is above the threshold value.
  • the apparatus configured to determine the value of entropy from the relative audio signal level may be further configured to: determine the probability of the relative audio signal level by being configured to determine a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal.
  • the apparatus configured to determine the entropy from the relative audio signal level may be further configured to: estimate the average number of relative audio signal level values between a coincidence of two relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
  • the multi-channel audio signal may comprise a bi-channel audio signal, and wherein the first type of channel configuration may be a binaural audio channel, and the second type of channel configuration may be a stereo audio channel.
  • the audio signal level may comprise the magnitude of the audio signal in the frequency band.
  • the relative audio signal level may be an interaural level difference.
  • an apparatus comprising at least one processor and at least one memory including computer code, the at least one memory and the computer code configured to with the at least one processor cause the apparatus to: estimate a value of entropy for a multi-channel audio signal; determine a channel configuration of the multi-channel audio signal from the value of entropy; and encode the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
  • the multi-channel audio signal may comprise at least a first audio channel signal and a second audio channel signal, and wherein the apparatus caused to estimate the value of entropy for the multi-channel audio signal may be further caused to: transform the first audio channel signal and the second audio channel signal each into a frequency domain audio signal comprising a plurality of frequency bands; determine a relative audio signal level by the apparatus being caused to determine an audio signal level in a frequency band of the first audio channel signal relative to an audio signal level in a frequency band of the second audio channel signal; and determine the value of entropy from the relative audio signal level.
  • the apparatus caused to deternnine the channel configuration of the multi-channel audio signal may be further caused to: compare the value of entropy against a threshold value; classify the channel configuration as a first type of channel configuration when the value of entropy is below or equal to the threshold value; and classify the channel configuration as a second type of channel configuration when the value of entropy is above the threshold value.
  • the apparatus caused to determine the value of entropy from the relative audio signal level may be further caused to: determine the probability of the relative audio signal level by being caused to determine a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal.
  • the apparatus caused to determine the value of entropy from the relative audio signal level may be further caused to: estimate the average number of relative audio signal level values between a coincidence of two relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
  • the multi-channel audio signal may comprise a bi-channel audio signal, and wherein the first type of channel configuration may be a binaural audio channel, and the second type of channel configuration may be a stereo audio channel.
  • the audio signal level may comprise the magnitude of the audio signal in the frequency band.
  • the relative audio signal level may be an interaural level difference.
  • a computer program code realizing the following when executed by a processor: estimating a value of entropy for a multi-channel audio signal; determining a channel configuration of the multichannel audio signal from the value of entropy; and encoding the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
  • An electronic device may comprise apparatus as described above.
  • a chipset may comprise apparatus as described above. Brief Description of Drawings
  • Figure 1 shows schematically an electronic device employing some embodiments
  • FIG. 2 shows schematically an audio codec system according to some embodiments
  • Figure 3 shows schematically an encoder as shown in Figure 2 according to some embodiments
  • FIG 4 shows schematically an audio signal classifier as shown in Figure 3 in further detail according to some embodiments
  • Figure 5 shows a flow diagram illustrating the operation of the encoder shown in Figure 3 according to some embodiments.
  • Figure 6 shows a flow diagram illustrating the operation of the audio signal classifier as shown in Figure 4 according to some embodiments.
  • Some multimode audio codecs can be configured to encode stereo audio signals differently from binaural audio signals, and without prior knowledge as to which of the two types of multichannel audio signal is presented to the codec, the codec is unable to preselect the best mode of encoding. This can lead to the problem of an audio codec having to encode the input two channel audio signal (or bi-channel audio signal) in both a stereo mode of operation and a binaural mode of operation in order to ensure that the input multichannel audio signal has been encoded with the best mode of operation.
  • FIG. 1 shows a schematic block diagram of an exemplary electronic device or apparatus 10, which may incorporate a codec according to an embodiment of the application.
  • the apparatus 10 may for example be a mobile terminal or user equipment of a wireless communication system.
  • the apparatus 10 may be an audio-video device such as video camera, a Television (TV) receiver, audio recorder or audio player such as a mp3 recorder/player, a media recorder (also known as a mp4 recorder/player), or any computer suitable for the processing of audio signals.
  • the electronic device or apparatus 10 in some embodiments comprises a microphone 1 1 , which is linked via an analogue-to-digital converter (ADC) 14 to a processor 21 .
  • the processor 21 is further linked via a digital-to-analogue (DAC) converter 32 to loudspeakers 33.
  • the processor 21 is further linked to a transceiver (RX/TX) 13, to a user interface (Ul) 15 and to a memory 22.
  • the processor 21 can in some embodiments be configured to execute various program codes.
  • the implemented program codes in some embodiments comprise a multichannel or stereo encoding or decoding code as described herein.
  • the implemented program codes 23 can in some embodiments be stored for example in the memory 22 for retrieval by the processor 21 whenever needed.
  • the memory 22 could further provide a section 24 for storing data, for example data that has been encoded in accordance with the application.
  • the encoding and decoding code in embodiments can be implemented in hardware and/or firmware.
  • the user interface 15 enables a user to input commands to the electronic device 10, for example via a keypad, and/or to obtain information from the electronic device 10, for example via a display.
  • a touch screen may provide both input and output functions for the user interface.
  • the apparatus 10 in some embodiments comprises a transceiver 13 suitable for enabling communication with other apparatus, for example via a wireless communication network. It is to be understood again that the structure of the apparatus 10 could be supplemented and varied in many ways.
  • a user of the apparatus 10 for example can use the microphone 1 1 for inputting speech or other audio signals that are to be transmitted to some other apparatus or that are to be stored in the data section 24 of the memory 22.
  • a corresponding application in some embodiments can be activated to this end by the user via the user interface 15.
  • the processor 21 causes the processor 21 to execute the encoding code stored in the memory 22.
  • the analogue-to-digital converter (ADC) 14 in some embodiments converts the input analogue audio signal into a digital audio signal and provides the digital audio signal to the processor 21 .
  • the microphone 1 1 can comprise an integrated microphone and ADC function and provide digital audio signals directly to the processor for processing.
  • the processor 21 in such embodiments then processes the digital audio signal in the same way as described with reference to the system shown in Figure 2 and the encoder shown in Figures 3.
  • the resulting bit stream can in some embodiments be provided to the transceiver 13 for transmission to another apparatus.
  • the coded audio data in some embodiments can be stored in the data section 24 of the memory 22, for instance for a later transmission or for a later presentation by the same apparatus 10.
  • the apparatus 10 in some embodiments can also receive a bit stream with correspondingly encoded data from another apparatus via the transceiver 13.
  • the processor 21 may execute the decoding program code stored in the memory 22.
  • the processor 21 in such embodiments decodes the received data, and provides the decoded data to a digital-to-analogue converter 32.
  • the digital-to-analogue converter 32 converts the digital decoded data into analogue audio data and can in some embodiments output the analogue audio via the loudspeakers 33.
  • Execution of the decoding program code in some embodiments can be triggered as well by an application called by the user via the user interface 15.
  • the received encoded data in some embodiment can also be stored instead of an immediate presentation via the loudspeakers 33 in the data section 24 of the memory 22, for instance for later decoding and presentation or decoding and forwarding to still another apparatus.
  • FIG. 2 The general operation of audio codecs as employed by embodiments is shown in Figure 2.
  • General audio coding/decoding systems comprise both an encoder and a decoder, as illustrated schematically in Figure 2. However, it would be understood that some embodiments can implement one of either the encoder or decoder, or both the encoder and decoder. Illustrated by Figure 2 is a system 102 with an encoder 104 and in particular a stereo encoder 151 , a storage or media channel 106 and a decoder 108. It would be understood that as described above some embodiments can comprise or implement one of the encoder 104 or decoder 108 or both the encoder 104 and decoder 108.
  • the encoder 104 compresses an input audio signal 1 10 producing a bit stream 1 12, which in some embodiments can be stored or transmitted through a media channel 106.
  • the encoder 104 furthermore can comprise a multichannel encoder 151 as part of the overall encoding operation. It is to be understood that the multichannel encoder may be part of the overall encoder 104 or a separate encoding module.
  • the bit stream 1 12 can be received within the decoder 108.
  • the decoder 108 decompresses the bit stream 1 12 and produces an output audio signal 1 14.
  • the decoder 108 can comprise a multichannel decoder as part of the overall decoding operation. It is to be understood that the multichannel decoder may be part of the overall decoder 108 or a separate decoding module.
  • the bit rate of the bit stream 1 12 and the quality of the output audio signal 1 14 in relation to the input signal 1 10 are the main features which define the performance of the coding system 102.
  • Figure 3 shows schematically the encoder
  • Figure 5 shows schematically in a flow diagram the operation of the encoder 104 according to some embodiments.
  • the concept for the embodiments as described herein is to classify the input multichannel audio signal before being encoded.
  • Figure 3 shows an example encoder 104 according to some embodiments.
  • the encoder 104 in some embodiments comprises an audio signal classifier 301 .
  • the audio signal classifier 301 is configured to receive a multi-channel audio signal and generate frequency domain representations of this audio signal. These frequency domain representations can be passed to the channel analyser/mono encoder 303 for further processing and coding.
  • the audio signal classifier 301 is configured to analyse the frequency domain representations of the audio signals in order to derive an audio signal classification value for the input multi-channel audio signal.
  • the derived audio signal classification value indicates the channel configuration of the input multi-channel audio signal.
  • the audio signal classification value can then be passed to the channel analyser/mono encoder 303 and the multi-channel parameter encoder 305 whereby it can be used to identify a particular mode of encoding for the channel analyser/mono encoder 303 and the multi-channel parameter encoder 305.
  • the audio signal classifier 301 of the encoder 104 may be arranged to receive a multi-channel audio signal comprising at least bi- channel input audio signal with a left and right channel.
  • the audio signal classifier 301 may determine an audio signal classification value which indicates whether the input audio signal comprises a bi-channel audio signal which is either stereo or binaural.
  • FIG. 4 an example audio signal classifier 301 according to some embodiments is described in further detail. Furthermore with respect to Figure 6 the operation of the audio signal classifier 301 as shown in Figure 4 is shown according to some embodiments.
  • the audio signal classifier 201 comprises a frame sectioner/transformer 401 .
  • the frame sectioner/transformer 401 can be configured to section or segment the audio signal from each of the left and right channels 1 10 into sections or frames suitable for frequency domain transformation.
  • the frame sectioner/transformer 401 in some embodiments can further be configured to window these frames or sections of audio signal data from the left and right channels with any suitable windowing function.
  • the frame sectioner/transformer 201 can be configured to generate frames of 20ms which overlap preceding and succeeding frames by 10ms each.
  • the frame sectioner/transformer 401 can be configured to perform any suitable time to frequency domain transformation on the audio signals from the left and right channels.
  • the time to frequency domain transformation can be a Discrete Fourier Transform (DFT), Fast Fourier Transform (FFT) and Modified Discrete Cosine Transform (MDCT).
  • DFT Discrete Fourier Transform
  • FFT Fast Fourier Transform
  • MDCT Modified Discrete Cosine Transform
  • a FFT is used.
  • the output of the time to frequency domain transformer can be further processed to generate separate frequency band domain representations (sub-band representations) of each input channel audio signal data. These bands can be arranged in any suitable manner. For example these bands can be linearly spaced, or be perceptual or psychoacoustically allocated.
  • the operation of generating frequency band domain representation for audio frames of each audio channel is shown in Figure 6 by step 601 .
  • the frequency domain representations are passed to a relative audio energy signal level determiner 403 which can be configured to determine the relative audio signal levels or interaural level (energy) difference (ILD) between pairs of channels for each sub band.
  • the relative audio signal level for a sub band may be determined by finding an audio signal level in a frequency band of a first audio channel signal relative to an audio signal level in a corresponding frequency band of a second audio channel signal.
  • the relative audio level for each band (or interaural level difference) can be computed using the following code
  • magO] 10.0f * log10(sqrt((mag_l+EPSILON)/(mag_r+EPSILON)));
  • L_FFT is the length of the FFT and EPSILON is a small value above zero to prevent division by zero problems.
  • the relative audio energy signal level determiner in such embodiments effectively generates magnitude determinations for each channel (L and R) over each sub-band and then divides one channel value by the other to generate a relative value.
  • any suitable interaural level (energy) difference (ILD) estimation can be performed.
  • ILD interaural level difference
  • each frame there can be two windows for which the delay and levels are estimated.
  • each frame is 10ms there may be two windows which may overlap and are delayed from each other by 5ms.
  • each frame there can be determined two separate level difference values which can be passed to the encoder for encoding.
  • the differences can be estimated for each of the relevant sub bands.
  • the division of sub-bands can in some embodiments be determined according to any suitable method.
  • the sub-band division in some embodiments which then determines the number of interaural level (energy) difference (ILD) estimation can be performed according to a selected bandwidth determination.
  • the generation of audio signals can be based on whether the output signal is considered to be wideband (WB), superwideband (SWB), or fullband (FB) (where the bandwidth requirement increases in order from wideband to fullband).
  • WB wideband
  • SWB superwideband
  • FB fullband
  • the sub-band division for the FFT domain for interaural level (energy) difference estimates can be:
  • the relative audio energy signal level deternniner 403 can be configured to output the relative audio energy signal levels for each sub-band or frequency bin to the entropy estimator 405.
  • the entropy estimator 403 is arranged to determine a zero order entropy estimate for the received relative audio energy signal levels. The entropy estimator can then use the entropy value of the received relative audio energy levels to determine the configuration or type of multi-channel audio signal conveyed as the input signal 1 10.
  • the entropy value determined from the relative audio energy signal levels (ILDs) for a multi-channel audio signal comprising a left and right audio channel configuration can be used to determine whether the left and right audio channels are either a stereo type or a binaural type.
  • a stereo audio signal may be distinguished from a binaural audio signal by the physical separation between the microphones when said signals are acquired. Furthermore this distinction may be reflected in the entropy of the values of the relative audio energy signal levels (ILDs) for the respective audio signals.
  • ILDs relative audio energy signal levels
  • the entropy of the relative audio energy signal levels (ILDs) for the left and right channel audio signals may be given generally as n
  • H(X ILD ) represents the entropy of the ILD values
  • P x ILDj is the probability of a particular ILD value
  • n is the number of possible outcomes for the set of ILD values.
  • the entropy H(X lLD ) can be determined for a finite number of possible values n for the range of ILD values. This may be achieved in some embodiments by scalar quantizing the ILD values to one of n possible quantization levels before the entropy value H(X lLD ) is determined.
  • the entropy value H(X ILD ) can be determined using a histogram based method using the following code void
  • hO - histO[i] * logf(histO[i]) h0/logf(2.0f);
  • max_value+1 is the number of possible quantization levels for the ILD values which can correspond to n in the above expression
  • scales is an array containing the quantized ILD values over which the entropy value H(X ILD ) is to be determined.
  • the entropy estimator 405 in such embodiments effectively determines the probability of a particular quantized ILD value P(x ILDi ) by determining the frequency of occurrence of the particular quantized ILD in the data set of quantized ILD values over which the entropy value is to be calculated. In effect the entropy estimator 405 determines the probability of each quantized ILD value by determining its histogram over a set of finite quantized ILD values.
  • the entropy value H(X ILD ) corresponds to the parameter hO in the above code. Furthermore the above code returns the entropy value in the unit of bits.
  • determination of the entropy in embodiments may comprise determining the probability of the relative audio signal level by determining a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal.
  • the entropy value may be determined by using a coincidence detection approach in which entropy estimation is performed by detecting a coincidence of particular quantized ILD values, which also may be known as symbols for the purpose of determining an entropy value. In this approach an estimate of the average number of quantized ILD values between coincidences of quantized ILD values (or symbols) is first determined.
  • This may be performed by observing a stream of quantized ILD values and noting the number of quantized ILD values between a particular coincidence of the same quantized ILD values. For example, if the beginning of a stream of symbols comprises the values [a g b z d g h b a z a ]. Then the first coincidence of symbols occurs for the symbol g, and the number of symbols between the coincidence D 1 is given as 6. The second coincidence of symbols occurs for the symbol a and in this case the number of symbols between the coincidence D 2 is given as 5. This may be repeated for further symbols in the stream.
  • the estimate of the average number of quantized ILD values (or symbols) for a coincidence of symbols D may then be given as If we assume that K represents equiprobable symbols of a memoryless random source then the entropy in bits is given as log 2 (K)
  • K can be expressed as a function of D according to the relationship aD 2 + bD + c, where and c are given as 0.6366, -0.8493 and 0.1272 respectively.
  • other embodiments may determine the entropy by initially estimating the average number of relative audio signal level values between a coincidence of two of the same relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
  • the entropy may then be given as a quadratic polynomial in terms of the estimated average number of relative audio signal level values.
  • the entropy H(X ILD ) may be determined according to the log 2 in order that the value of entropy is given in bits.
  • the operation of determining a value of entropy for the quantized relative audio energy signal level or interaural level (energy) difference (ILD) is shown in Figure 6 by step 607.
  • the value of entropy can be determined for quantized ILD values corresponding to each frame of the input audio signal.
  • the channel configuration value may then be determined by comparing the value of entropy value against a predetermined entropy decision threshold.
  • the value of entropy may be used to distinguish between a stereo audio signal and a binaural audio signal when the input audio signal comprises at least a bi-channel audio signal.
  • a predetermined entropy decision threshold value of 2.5 bits was found to yield sufficient distinction between a binaural audio signal and a stereo audio signal.
  • the input audio signal may be classified as a binaural audio signal. If however the entropy for the bi-channel input audio signal is determined as being greater than the predetermined entropy decision threshold then the input audio signal may be classified as a stereo audio signal.
  • step 609 The operation of generating the multi-channel input audio signal classification value by comparing the value of entropy against a predetermined threshold value is shown in Figure 6 by step 609.
  • the output from the entropy estimator 405 can be an audio signal classification value indicating the channel configuration of the multi-channel input audio signal 1 10.
  • the output audio signal classification value may indicate whether said bi-channel input audio signal is of a binaural type or stereo type.
  • the audio signal classification value from the entropy estimator 405 may form one of the outputs from the audio signal classifier 301 .
  • the audio signal classifier 301 may also output the relative audio energy signals levels (or ILDs) from the relative audio energy signal level determiner 403 and the frequency domain representations of the input audio signal from the frame sectioner/transformer 401 in order that they may be used by subsequent audio encoding operations.
  • the relative audio energy signals levels or ILDs
  • the outputs from the classifier 301 can be arranged to be passed to a channel analyser/mono encoder 303.
  • the encoder 104 can comprise a channel analyser/mono encoder 303.
  • the channel analyser/mono encoder 303 can be configured to receive the audio signal classification value together with the frequency domain representations of the input multi-channel audio signal and the corresponding relative audio energy signal levels.
  • the channel analyser/mono encoder 303 may just receive the audio signal classification value from the audio signal classifier 301 . These particular embodiments may generate the frequency domain representations of the input multi-channel audio signal within the channel analyser/mono encoder 303.
  • the channel analyser/mono encoder 303 can be configured to analyse the frequency domain representations of the multi-channel input audio signal and determine parameters associated with each sub-band with respect to bi-channel or multi-channel audio signal differences.
  • the analysis and parameterization of the frequency domain representations may be dependent on the audio signal classification value as determined by the classifier 301 .
  • the form of the analysis and parameterization of the frequency domain representations can be dependent on whether the audio signal classification value indicates that the input audio signal is either of a binaural or stereo signal type.
  • the result of the analysis may be parameters which represent the bi-channel (or more generally multi- channel) characteristics for each sub band of the input audio signal.
  • the channel analyser/mono encoder 303 can use the parameters associated with each sub band to down mix the multi-channel audio signal and generate a mono channel which can be encoded according to any suitable encoding scheme.
  • the generated mono channel audio signal (or reduced number of channels encoded signal) can be encoded using any suitable encoding format.
  • the mono channel audio signal can be encoded using an Enhanced Voice service (EVS) mono channel encoded form, which may contain a bit stream interoperable version of the Adaptive Multi-Rate - Wide Band (AMR-WB) codec.
  • EVS Enhanced Voice service
  • AMR-WB Adaptive Multi-Rate - Wide Band
  • the encoded mono channel signal can then be output.
  • the encoded mono channel signal is output to a multiplexer to be combined with the output of the multi-channel parameter encoder 305 to form a single stream or output.
  • the encoded mono channel signal is output separately from the multi-channel parameter encoder 305.
  • the encoder 104 comprises a multi-channel parameter encoder.
  • the multi-channel parameter encoder is a bi- channel parameter encoder 305 or comprises suitable means for encoding the multi-channel parameters.
  • the multi-channel parameter encoder 305 can be configured to receive the multi-channel parameters such as the stereo or binaural (difference) parameters determined by the channel analyser/mono encoder 303.
  • the multi-channel parameter encoder 305 can then in some embodiments be configured to perform a quantization on the parameters and furthermore encode the parameters so that they can be output (either to be stored on the apparatus or passed to a further apparatus).
  • the multi-channel parameter encoder 305 may also receive as a further input the audio signal classification value, thereby enabling the quantization and encoding of the multi-channel parameters to be dependent on the value of said audio signal classification value.
  • step 505 The operation of quantizing and encoding the quantized multi-channel parameters is shown in Figure 5 by step 505.
  • the channel analyser and multichannel parameter encoding stages may be performed in one coding entity before the mono channel signal is formed.
  • the encoder 104 can initially analyse the frequency domain representations of the multi-channel input audio signal and determine parameters associated with each sub-band with respect to bi-channel or multi-channel audio signal differences, and then perform quantization and encoding on the multichannel parameters.
  • the mono audio signal may then be subsequently formed by using the parameters associated with each sub band to down mix the multi-channel audio signal.
  • the resulting mono channel can then be encoded according to any suitable encoding scheme as mentioned above.
  • an apparatus comprising: means for estimating a value of entropy for a multi-channel audio signal; means for determining a channel configuration of the multi-channel audio signal from the value of entropy; and means for encoding the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
  • embodiments of the application operating within a codec within an apparatus 10, it would be appreciated that the invention as described below may be implemented as part of any audio (or speech) codec, including any variable rate/adaptive rate audio (or speech) codec.
  • embodiments of the application may be implemented in an audio codec which may implement audio coding over fixed or wired communication paths.
  • user equipment may comprise an audio codec such as those described in embodiments of the application above.
  • user equipment is intended to cover any suitable type of wireless user equipment, such as mobile telephones, portable data processing devices or portable web browsers.
  • PLMN public land mobile network
  • elements of a public land mobile network may also comprise audio codecs as described above.
  • the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof.
  • some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto.
  • firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto.
  • While various aspects of the application may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.
  • any blocks of the logic flow as in the Figures may represent program steps, or interconnected logic circuits, blocks and functions, or a combination of program steps and logic circuits, blocks and functions.
  • the memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as semiconductor-based memory devices, magnetic memory devices and systems, optical memory devices and systems, fixed memory and removable memory.
  • the data processors may be of any type suitable to the local technical environment, and may include one or more of general purpose computers, special purpose computers, microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASIC), gate level circuits and processors based on multi-core processor architecture, as non-limiting examples.
  • Embodiments of the application may be practiced in various components such as integrated circuit modules.
  • the design of integrated circuits is by and large a highly automated process. Complex and powerful software tools are available for converting a logic level design into a semiconductor circuit design ready to be etched and formed on a semiconductor substrate.
  • circuits and software and/or firmware
  • combinations of circuits and software such as: (i) to a combination of processor(s) or (ii) to portions of processor(s)/software (including digital signal processor(s)), software, and memory(ies) that work together to cause an apparatus, such as a mobile phone or server, to perform various functions and
  • circuits such as a microprocessor(s) or a portion of a microprocessor(s), that require software or firmware for operation, even if the software or firmware is not physically present.
  • circuitry' applies to all uses of this term in this application, including any claims.
  • the term 'circuitry' would also cover an implementation of merely a processor (or multiple processors) or portion of a processor and its (or their) accompanying software and/or firmware.
  • the term 'circuitry' would also cover, for example and if applicable to the particular claim element, a baseband integrated circuit or applications processor integrated circuit for a mobile phone or similar integrated circuit in server, a cellular network device, or other network device.

Abstract

It is disclosed inter alia a method comprising: estimating a value of entropy for a multi-channel audio signal; determining a channel configuration of the multi-channel audio signal from the value of entropy; and encoding the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.

Description

Multi-Channel Audio Signal Classifier
Field The present application relates to the classification of a multichannel or stereo audio signal for an audio encoder, and in particular, but not exclusively to a multichannel or stereo audio signal encoder for use in portable apparatus.
Background
Audio signals, like speech or music, are encoded for example to enable efficient transmission or storage of the audio signals.
Audio encoders and decoders (also known as codecs) are used to represent audio based signals, such as music and ambient sounds (which in speech coding terms can be called background noise).
An audio codec can also be configured to operate with varying bit rates. At lower bit rates, such an audio codec may be optimized to work with speech signals at a coding rate equivalent to a pure speech codec. At higher bit rates, the audio codec may code any signal including music, background noise and speech, with higher quality and performance. A variable-rate audio codec can also implement an embedded scalable coding structure and bitstream, where additional bits (a specific amount of bits is often referred to as a layer) improve the coding upon lower rates, and where the bitstream of a higher rate may be truncated to obtain the bitstream of a lower rate coding. Such an audio codec may utilize a codec designed purely for speech signals as the core layer or lowest bit rate coding.
An audio codec is designed to maintain high (perceptual) quality while improving the compression ratio. Thus it is common for the audio codec to adopt a multimode approach for encoding the input audio signal, in which a particular mode of coding is selected according to the channel configuration of the input audio signal.
An audio codec can be configured to operate with a multiple channel input audio signal, and in particular a bi-channel input audio signal. One such bi-channel configuration may be a stereo audio signal comprising two similar audio signals each having a different phase and sound pressure level. These differences may be attributed to the stereo signal being acquired by two omnidirectional microphones separated a reasonable distance apart. Another bi-channel configuration can be a binaural signal which is distinguished from the stereo signal by being acquired by two omnidirectional microphones with a relatively short separation. Typically the distance of separation when acquiring a binaural signal is of the order of a few centimetres to be commensurate with the distance between the right and left ears of the typical human head.
Summary
There is provided according to the application a method comprising estimating a value of entropy for a multi-channel audio signal; determining a channel configuration of the multi-channel audio signal from the value of entropy; and encoding the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
The multi-channel audio signal comprises at least a first audio channel signal and a second audio channel signal, and wherein estimating the value of entropy for the multi-channel audio signal may comprise: transforming the first audio channel signal and the second audio channel signal each into a frequency domain audio signal comprising a plurality of frequency bands; determining a relative audio signal level by determining an audio signal level in a frequency band of the first audio channel signal relative to an audio signal level in a frequency band of the second audio channel signal; and determining the value of entropy from the relative audio signal level.
Determining the channel configuration of the multi-channel audio signal may comprise: comparing the value of entropy against a threshold value; classifying the channel configuration as a first type of channel configuration when the value of entropy is below or equal to the threshold value; and classifying the channel configuration as a second type of channel configuration when the value of entropy is above the threshold value.
Determining the value of entropy from the relative audio signal level may comprise: determining the probability of the relative audio signal level by determining a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal.
Alternatively, determining the value of entropy from the relative audio signal level may comprise: estimating the average number of relative audio signal level values between a coincidence of two relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
The multi-channel audio signal may comprise a bi-channel audio signal, and wherein the first type of channel configuration may be a binaural audio channel, and the second type of channel configuration may be a stereo audio channel.
The audio signal level may comprise the magnitude of the audio signal in the frequency band.
The relative audio signal level may be an interaural level difference. According to a second aspect there is provided an apparatus configured to: estimate a value of entropy for a multi-channel audio signal; determine a channel configuration of the multi-channel audio signal from the value of entropy; and encode the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
The multi-channel audio signal may comprise at least a first audio channel signal and a second audio channel signal, and wherein the apparatus configured to estimate the value of entropy for the multi-channel audio signal may be further configured to: transform the first audio channel signal and the second audio channel signal each into a frequency domain audio signal comprising a plurality of frequency bands; determine a relative audio signal level by the apparatus being configured to determine an audio signal level in a frequency band of the first audio channel signal relative to an audio signal level in a frequency band of the second audio channel signal; and determine the value of entropy from the relative audio signal level.
The apparatus configured to determine the channel configuration of the multichannel audio signal may be further configured to: compare the value of entropy against a threshold value; classify the channel configuration as a first type of channel configuration when the value of entropy is below or equal to the threshold value; and classify the channel configuration as a second type of channel configuration when the value of entropy is above the threshold value. The apparatus configured to determine the value of entropy from the relative audio signal level may be further configured to: determine the probability of the relative audio signal level by being configured to determine a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal. Alternatively, the apparatus configured to determine the entropy from the relative audio signal level may be further configured to: estimate the average number of relative audio signal level values between a coincidence of two relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
The multi-channel audio signal may comprise a bi-channel audio signal, and wherein the first type of channel configuration may be a binaural audio channel, and the second type of channel configuration may be a stereo audio channel. The audio signal level may comprise the magnitude of the audio signal in the frequency band.
The relative audio signal level may be an interaural level difference. According to a third aspect there is provided an apparatus comprising at least one processor and at least one memory including computer code, the at least one memory and the computer code configured to with the at least one processor cause the apparatus to: estimate a value of entropy for a multi-channel audio signal; determine a channel configuration of the multi-channel audio signal from the value of entropy; and encode the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
The multi-channel audio signal may comprise at least a first audio channel signal and a second audio channel signal, and wherein the apparatus caused to estimate the value of entropy for the multi-channel audio signal may be further caused to: transform the first audio channel signal and the second audio channel signal each into a frequency domain audio signal comprising a plurality of frequency bands; determine a relative audio signal level by the apparatus being caused to determine an audio signal level in a frequency band of the first audio channel signal relative to an audio signal level in a frequency band of the second audio channel signal; and determine the value of entropy from the relative audio signal level. The apparatus caused to deternnine the channel configuration of the multi-channel audio signal may be further caused to: compare the value of entropy against a threshold value; classify the channel configuration as a first type of channel configuration when the value of entropy is below or equal to the threshold value; and classify the channel configuration as a second type of channel configuration when the value of entropy is above the threshold value.
The apparatus caused to determine the value of entropy from the relative audio signal level may be further caused to: determine the probability of the relative audio signal level by being caused to determine a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal.
Alternatively, the apparatus caused to determine the value of entropy from the relative audio signal level may be further caused to: estimate the average number of relative audio signal level values between a coincidence of two relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
The multi-channel audio signal may comprise a bi-channel audio signal, and wherein the first type of channel configuration may be a binaural audio channel, and the second type of channel configuration may be a stereo audio channel. The audio signal level may comprise the magnitude of the audio signal in the frequency band.
The relative audio signal level may be an interaural level difference. There is provided according to a fourth aspect a computer program code realizing the following when executed by a processor: estimating a value of entropy for a multi-channel audio signal; determining a channel configuration of the multichannel audio signal from the value of entropy; and encoding the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
An electronic device may comprise apparatus as described above.
A chipset may comprise apparatus as described above. Brief Description of Drawings
For better understanding of the present application and as to how the same may be carried into effect, reference will now be made by way of example to the accompanying drawings in which:
Figure 1 shows schematically an electronic device employing some embodiments;
Figure 2 shows schematically an audio codec system according to some embodiments;
Figure 3 shows schematically an encoder as shown in Figure 2 according to some embodiments;
Figure 4 shows schematically an audio signal classifier as shown in Figure 3 in further detail according to some embodiments;
Figure 5 shows a flow diagram illustrating the operation of the encoder shown in Figure 3 according to some embodiments; and
Figure 6 shows a flow diagram illustrating the operation of the audio signal classifier as shown in Figure 4 according to some embodiments.
Description of Some Embodiments The following describes in more detail possible stereo and multichannel speech audio codecs, including multimode audio codecs. Some multimode audio codecs can be configured to encode stereo audio signals differently from binaural audio signals, and without prior knowledge as to which of the two types of multichannel audio signal is presented to the codec, the codec is unable to preselect the best mode of encoding. This can lead to the problem of an audio codec having to encode the input two channel audio signal (or bi-channel audio signal) in both a stereo mode of operation and a binaural mode of operation in order to ensure that the input multichannel audio signal has been encoded with the best mode of operation.
This problem can be further exacerbated if the input audio signal is frequently switching between a stereo signal and a binaural signal resulting in the codec being required to continually code in a dual mode of operation in order to ensure that the input audio signal is encoded with the optimum mode.
The concept for embodiments as described herein may proceed from the aspect that some features of binaural and stereo signals may differ as a result of the difference in the physical separation between microphones when the respective signals are acquired. These features may be used to distinguish one signal from another. This enables a multimode audio coder to incorporate a pre-classification stage in which the particular input audio signal can be initially identified in order that the best mode of encoding is selected before the encoding of the input audio signal is commenced. In this regard reference is first made to Figure 1 which shows a schematic block diagram of an exemplary electronic device or apparatus 10, which may incorporate a codec according to an embodiment of the application.
The apparatus 10 may for example be a mobile terminal or user equipment of a wireless communication system. In other embodiments the apparatus 10 may be an audio-video device such as video camera, a Television (TV) receiver, audio recorder or audio player such as a mp3 recorder/player, a media recorder (also known as a mp4 recorder/player), or any computer suitable for the processing of audio signals. The electronic device or apparatus 10 in some embodiments comprises a microphone 1 1 , which is linked via an analogue-to-digital converter (ADC) 14 to a processor 21 . The processor 21 is further linked via a digital-to-analogue (DAC) converter 32 to loudspeakers 33. The processor 21 is further linked to a transceiver (RX/TX) 13, to a user interface (Ul) 15 and to a memory 22.
The processor 21 can in some embodiments be configured to execute various program codes. The implemented program codes in some embodiments comprise a multichannel or stereo encoding or decoding code as described herein. The implemented program codes 23 can in some embodiments be stored for example in the memory 22 for retrieval by the processor 21 whenever needed. The memory 22 could further provide a section 24 for storing data, for example data that has been encoded in accordance with the application.
The encoding and decoding code in embodiments can be implemented in hardware and/or firmware.
The user interface 15 enables a user to input commands to the electronic device 10, for example via a keypad, and/or to obtain information from the electronic device 10, for example via a display. In some embodiments a touch screen may provide both input and output functions for the user interface. The apparatus 10 in some embodiments comprises a transceiver 13 suitable for enabling communication with other apparatus, for example via a wireless communication network. It is to be understood again that the structure of the apparatus 10 could be supplemented and varied in many ways. A user of the apparatus 10 for example can use the microphone 1 1 for inputting speech or other audio signals that are to be transmitted to some other apparatus or that are to be stored in the data section 24 of the memory 22. A corresponding application in some embodiments can be activated to this end by the user via the user interface 15. This application in these embodiments can be performed by the processor 21 , causes the processor 21 to execute the encoding code stored in the memory 22. The analogue-to-digital converter (ADC) 14 in some embodiments converts the input analogue audio signal into a digital audio signal and provides the digital audio signal to the processor 21 . In some embodiments the microphone 1 1 can comprise an integrated microphone and ADC function and provide digital audio signals directly to the processor for processing.
The processor 21 in such embodiments then processes the digital audio signal in the same way as described with reference to the system shown in Figure 2 and the encoder shown in Figures 3. The resulting bit stream can in some embodiments be provided to the transceiver 13 for transmission to another apparatus. Alternatively, the coded audio data in some embodiments can be stored in the data section 24 of the memory 22, for instance for a later transmission or for a later presentation by the same apparatus 10.
The apparatus 10 in some embodiments can also receive a bit stream with correspondingly encoded data from another apparatus via the transceiver 13. In this example, the processor 21 may execute the decoding program code stored in the memory 22. The processor 21 in such embodiments decodes the received data, and provides the decoded data to a digital-to-analogue converter 32. The digital-to-analogue converter 32 converts the digital decoded data into analogue audio data and can in some embodiments output the analogue audio via the loudspeakers 33. Execution of the decoding program code in some embodiments can be triggered as well by an application called by the user via the user interface 15.
The received encoded data in some embodiment can also be stored instead of an immediate presentation via the loudspeakers 33 in the data section 24 of the memory 22, for instance for later decoding and presentation or decoding and forwarding to still another apparatus.
It would be appreciated that the schematic structures described in Figures 1 to 4, and the method steps shown in Figures 5 and 6 represent only a part of the operation of an audio codec and specifically part of a stereo encoder apparatus or method as exemplarily shown implemented in the apparatus shown in Figure 1 .
The general operation of audio codecs as employed by embodiments is shown in Figure 2. General audio coding/decoding systems comprise both an encoder and a decoder, as illustrated schematically in Figure 2. However, it would be understood that some embodiments can implement one of either the encoder or decoder, or both the encoder and decoder. Illustrated by Figure 2 is a system 102 with an encoder 104 and in particular a stereo encoder 151 , a storage or media channel 106 and a decoder 108. It would be understood that as described above some embodiments can comprise or implement one of the encoder 104 or decoder 108 or both the encoder 104 and decoder 108.
The encoder 104 compresses an input audio signal 1 10 producing a bit stream 1 12, which in some embodiments can be stored or transmitted through a media channel 106. The encoder 104 furthermore can comprise a multichannel encoder 151 as part of the overall encoding operation. It is to be understood that the multichannel encoder may be part of the overall encoder 104 or a separate encoding module. The bit stream 1 12 can be received within the decoder 108. The decoder 108 decompresses the bit stream 1 12 and produces an output audio signal 1 14. The decoder 108 can comprise a multichannel decoder as part of the overall decoding operation. It is to be understood that the multichannel decoder may be part of the overall decoder 108 or a separate decoding module. The bit rate of the bit stream 1 12 and the quality of the output audio signal 1 14 in relation to the input signal 1 10 are the main features which define the performance of the coding system 102. Figure 3 shows schematically the encoder 104 according to some embodiments.
Figure 5 shows schematically in a flow diagram the operation of the encoder 104 according to some embodiments. The concept for the embodiments as described herein is to classify the input multichannel audio signal before being encoded. To that respect Figure 3 shows an example encoder 104 according to some embodiments. Furthermore with respect to Figure 5 the operation of the encoder 104 is shown in further detail. The encoder 104 in some embodiments comprises an audio signal classifier 301 . The audio signal classifier 301 is configured to receive a multi-channel audio signal and generate frequency domain representations of this audio signal. These frequency domain representations can be passed to the channel analyser/mono encoder 303 for further processing and coding.
The audio signal classifier 301 is configured to analyse the frequency domain representations of the audio signals in order to derive an audio signal classification value for the input multi-channel audio signal. The derived audio signal classification value indicates the channel configuration of the input multi-channel audio signal. The audio signal classification value can then be passed to the channel analyser/mono encoder 303 and the multi-channel parameter encoder 305 whereby it can be used to identify a particular mode of encoding for the channel analyser/mono encoder 303 and the multi-channel parameter encoder 305. In a first group of embodiments the audio signal classifier 301 of the encoder 104 may be arranged to receive a multi-channel audio signal comprising at least bi- channel input audio signal with a left and right channel. In these embodiments the audio signal classifier 301 may determine an audio signal classification value which indicates whether the input audio signal comprises a bi-channel audio signal which is either stereo or binaural.
With respect to Figure 4 an example audio signal classifier 301 according to some embodiments is described in further detail. Furthermore with respect to Figure 6 the operation of the audio signal classifier 301 as shown in Figure 4 is shown according to some embodiments.
In some embodiments the audio signal classifier 201 comprises a frame sectioner/transformer 401 . The frame sectioner/transformer 401 can be configured to section or segment the audio signal from each of the left and right channels 1 10 into sections or frames suitable for frequency domain transformation. The frame sectioner/transformer 401 in some embodiments can further be configured to window these frames or sections of audio signal data from the left and right channels with any suitable windowing function. For example the frame sectioner/transformer 201 can be configured to generate frames of 20ms which overlap preceding and succeeding frames by 10ms each.
In some embodiments the frame sectioner/transformer 401 can be configured to perform any suitable time to frequency domain transformation on the audio signals from the left and right channels. For example the time to frequency domain transformation can be a Discrete Fourier Transform (DFT), Fast Fourier Transform (FFT) and Modified Discrete Cosine Transform (MDCT). In the following examples a FFT is used. Furthermore the output of the time to frequency domain transformer can be further processed to generate separate frequency band domain representations (sub-band representations) of each input channel audio signal data. These bands can be arranged in any suitable manner. For example these bands can be linearly spaced, or be perceptual or psychoacoustically allocated.
The operation of generating frequency band domain representation for audio frames of each audio channel is shown in Figure 6 by step 601 . In some embodiments the frequency domain representations are passed to a relative audio energy signal level determiner 403 which can be configured to determine the relative audio signal levels or interaural level (energy) difference (ILD) between pairs of channels for each sub band. The relative audio signal level for a sub band may be determined by finding an audio signal level in a frequency band of a first audio channel signal relative to an audio signal level in a corresponding frequency band of a second audio channel signal.
It is to be understood that in the following examples a single pair of left and right channels are analysed and processed.
In some embodiments the relative audio level for each band (or interaural level difference) can be computed using the following code
For (j = 0; j < NUM OF BANDS FOR SIGNAL LEVELS; j++)
{
magj = 0.0;
mag_r = 0.0; for (k = BAND_START[j]; k < BAND_START[j+1 ]; k++)
{
magj += fft_l[k]*fft_l[k] + fftJ[L_FFT-k]*fft_l[L_FFT-k]; mag_r += fft_r[k]*fft_r[k] + fft_r[L_FFT-k]*fft_r[L_FFT-k];
}
magO] = 10.0f*log10(sqrt((mag_l+EPSILON)/(mag_r+EPSILON)));
}
Where L_FFT is the length of the FFT and EPSILON is a small value above zero to prevent division by zero problems. The relative audio energy signal level determiner in such embodiments effectively generates magnitude determinations for each channel (L and R) over each sub-band and then divides one channel value by the other to generate a relative value.
The operation of determining the relative audio energy signal levels (or interaural level (energy) differences) is shown in Figure 6 by step 603. In some embodiments any suitable interaural level (energy) difference (ILD) estimation can be performed. For example for each frame there can be two windows for which the delay and levels are estimated. Thus for example where each frame is 10ms there may be two windows which may overlap and are delayed from each other by 5ms. In other words for each frame there can be determined two separate level difference values which can be passed to the encoder for encoding.
Furthermore in some embodiments for each window the differences can be estimated for each of the relevant sub bands. The division of sub-bands can in some embodiments be determined according to any suitable method.
For example the sub-band division in some embodiments which then determines the number of interaural level (energy) difference (ILD) estimation can be performed according to a selected bandwidth determination. For example the generation of audio signals can be based on whether the output signal is considered to be wideband (WB), superwideband (SWB), or fullband (FB) (where the bandwidth requirement increases in order from wideband to fullband). For the possible bandwidth selections there can in some embodiments be a particular division in subbands. Thus for example the sub-band division for the FFT domain for interaural level (energy) difference estimates can be:
ITD sub-bands for Wideband (WB)
coast short scalel024_WB [ ] =
{ 1, 5, 8, 12, 20, 34, 48, 56, 120, 512}; ITD sub-bands for Superwideband (SWB)
const short scalel024_SWB [ ] =
{ 1, 2, 4, 6, 10, 14, 17, 24, 28, 60, 256, 512};
ITD sub-bands for Fullband (FB)
const short scalel024_FB [ ] =
{ 1, 2, 3, 4, 7, 11, 16, 19, 40, 171, 341, 448 /* -21 kHz */};
ILD sub-bands for Wideband (WB)
const short scf_band_WB [ ] =
{ 1, 8, 20, 32, 44, 60, 90, 110, 170, 216, 290, 394, 512};
ILD sub-bands for Superwideband (SWB)
const short scf band SWB [ ] =
{ 1, 4, 10, 16, 22, 30, 45, 65, 85, 108, 145, 197, 256, 322, 412, 512};
ILD sub-bands for Fullband (FB)
const short scf band FB [ ] =
{ 1, 3, 7, 11, 15, 20, 30, 43, 57, 72, 97, 131, 171, 215, 275, 341, 391, 448 *· -21 kHz */};
In other words in some embodiments there can be different sub-bands for level differences. The relative audio energy signal level deternniner 403 can be configured to output the relative audio energy signal levels for each sub-band or frequency bin to the entropy estimator 405. In some embodiments the entropy estimator 403 is arranged to determine a zero order entropy estimate for the received relative audio energy signal levels. The entropy estimator can then use the entropy value of the received relative audio energy levels to determine the configuration or type of multi-channel audio signal conveyed as the input signal 1 10.
In some embodiments the entropy value determined from the relative audio energy signal levels (ILDs) for a multi-channel audio signal comprising a left and right audio channel configuration can be used to determine whether the left and right audio channels are either a stereo type or a binaural type.
Once again it would be understood that a stereo audio signal may be distinguished from a binaural audio signal by the physical separation between the microphones when said signals are acquired. Furthermore this distinction may be reflected in the entropy of the values of the relative audio energy signal levels (ILDs) for the respective audio signals.
In some embodiments the entropy of the relative audio energy signal levels (ILDs) for the left and right channel audio signals may be given generally as n
i=l
where X represents the alphabet of possible ILD values, H(XILD) represents the entropy of the ILD values, P xILDj) is the probability of a particular ILD value and n is the number of possible outcomes for the set of ILD values. The entropy H(XlLD) can be determined for a finite number of possible values n for the range of ILD values. This may be achieved in some embodiments by scalar quantizing the ILD values to one of n possible quantization levels before the entropy value H(XlLD) is determined.
The operation of scalar quantizing the relative audio energy signal level or interaural level (energy) difference (ILD) is shown in Figure 6 by step 605.
In some embodiments the entropy value H(XILD) can be determined using a histogram based method using the following code void
entropy_estim_hist(short * scales, short no_scales, float * HO, short max_value) {
float hO, histO[2*(2*MAX_ST_SCALE+1 )], sum;
short i;
set_f(histO, O.Of, 2*max_value+1 ); for(i=0;i<no_scales;i++)
{
hist0[scales[i]]+= 1 .Of;
}
sum = 0.0;
for(i=0;i<=2*max_value;i++)
{
hist0[i] += 0.01f;
sum += hist0[i];
}
sum = 1 .Of/sum;
hO = O.Of;
for(i=0;i<=2*max_value;i++) histO[i]*=sum;
hO -= histO[i]*logf(histO[i]) h0/logf(2.0f);
Where 2*max_value+1 is the number of possible quantization levels for the ILD values which can correspond to n in the above expression, and scales is an array containing the quantized ILD values over which the entropy value H(XILD) is to be determined. The entropy estimator 405 in such embodiments effectively determines the probability of a particular quantized ILD value P(xILDi) by determining the frequency of occurrence of the particular quantized ILD in the data set of quantized ILD values over which the entropy value is to be calculated. In effect the entropy estimator 405 determines the probability of each quantized ILD value by determining its histogram over a set of finite quantized ILD values. The entropy value H(XILD) corresponds to the parameter hO in the above code. Furthermore the above code returns the entropy value in the unit of bits. In summary determination of the entropy in embodiments may comprise determining the probability of the relative audio signal level by determining a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal. In other embodiments the entropy value may be determined by using a coincidence detection approach in which entropy estimation is performed by detecting a coincidence of particular quantized ILD values, which also may be known as symbols for the purpose of determining an entropy value. In this approach an estimate of the average number of quantized ILD values between coincidences of quantized ILD values (or symbols) is first determined. This may be performed by observing a stream of quantized ILD values and noting the number of quantized ILD values between a particular coincidence of the same quantized ILD values. For example, if the beginning of a stream of symbols comprises the values [a g b z d g h b a z a ]. Then the first coincidence of symbols occurs for the symbol g, and the number of symbols between the coincidence D1 is given as 6. The second coincidence of symbols occurs for the symbol a and in this case the number of symbols between the coincidence D2 is given as 5. This may be repeated for further symbols in the stream.
The estimate of the average number of quantized ILD values (or symbols) for a coincidence of symbols D may then be given as
Figure imgf000021_0001
If we assume that K represents equiprobable symbols of a memoryless random source then the entropy in bits is given as log2 (K)
If we then let K be an approximation to the number of equiprobable symbols (or ILD values), K can be expressed as a function of D according to the relationship aD2 + bD + c, where and c are given as 0.6366, -0.8493 and 0.1272 respectively.
In other words the entropy of the relative audio energy signal levels (ILDs) may be estimated by firstly determining D by sequentially observing quantized ILD values for coincidences as illustrated with the example above, and secondly computing K(D) accoding to the above expression. Finally the entropy can be estimated as H = log(fi).
It is to be appreciated that the values used in the above example only serve to illustrate the basic principle of the coincidence method for determining the entropy of a dataset, and are not a reflection of the true quantized ILD values over which said method can be applied.
In summary, other embodiments may determine the entropy by initially estimating the average number of relative audio signal level values between a coincidence of two of the same relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal. The entropy may then be given as a quadratic polynomial in terms of the estimated average number of relative audio signal level values.
Further details of the coincidence method for determining the entropy of a data set may be found in the reference "Simple entropy estimator for small datasets" by J. Monyalvao, D. G. Solva and R. Attux, Electronics Letters Vol. 48 No.17, which is incorporated herein in its entirety by reference.
In some embodiments the entropy H(XILD) may be determined according to the log2 in order that the value of entropy is given in bits. The operation of determining a value of entropy for the quantized relative audio energy signal level or interaural level (energy) difference (ILD) is shown in Figure 6 by step 607.
It is to be appreciated in embodiments that the value of entropy can be determined for quantized ILD values corresponding to each frame of the input audio signal. In embodiments the channel configuration value may then be determined by comparing the value of entropy value against a predetermined entropy decision threshold. In particular in some embodiments, the value of entropy may be used to distinguish between a stereo audio signal and a binaural audio signal when the input audio signal comprises at least a bi-channel audio signal.
In one particular example embodiment a predetermined entropy decision threshold value of 2.5 bits was found to yield sufficient distinction between a binaural audio signal and a stereo audio signal. In other words, if the entropy for a bi-channel input audio signal is determined to be equal to or less than the predetermined entropy decision threshold, the input audio signal may be classified as a binaural audio signal. If however the entropy for the bi-channel input audio signal is determined as being greater than the predetermined entropy decision threshold then the input audio signal may be classified as a stereo audio signal.
The operation of generating the multi-channel input audio signal classification value by comparing the value of entropy against a predetermined threshold value is shown in Figure 6 by step 609.
The overall operation by the encoder 104 of classifying the input multi-channel audio signal is shown in Figure 5 by step 501 . The output from the entropy estimator 405 can be an audio signal classification value indicating the channel configuration of the multi-channel input audio signal 1 10. In particular for some embodiments when the input audio signal comprises an arrangement of audio channels comprising at least bi-channel input audio signal the output audio signal classification value may indicate whether said bi-channel input audio signal is of a binaural type or stereo type. The audio signal classification value from the entropy estimator 405 may form one of the outputs from the audio signal classifier 301 . In addition the audio signal classifier 301 may also output the relative audio energy signals levels (or ILDs) from the relative audio energy signal level determiner 403 and the frequency domain representations of the input audio signal from the frame sectioner/transformer 401 in order that they may be used by subsequent audio encoding operations.
With reference to Figure 3 the outputs from the classifier 301 can be arranged to be passed to a channel analyser/mono encoder 303.
In some embodiments the encoder 104 can comprise a channel analyser/mono encoder 303. The channel analyser/mono encoder 303 can be configured to receive the audio signal classification value together with the frequency domain representations of the input multi-channel audio signal and the corresponding relative audio energy signal levels.
It is to be appreciated that for other embodiments the channel analyser/mono encoder 303 may just receive the audio signal classification value from the audio signal classifier 301 . These particular embodiments may generate the frequency domain representations of the input multi-channel audio signal within the channel analyser/mono encoder 303.
The channel analyser/mono encoder 303 can be configured to analyse the frequency domain representations of the multi-channel input audio signal and determine parameters associated with each sub-band with respect to bi-channel or multi-channel audio signal differences.
In embodiments the analysis and parameterization of the frequency domain representations may be dependent on the audio signal classification value as determined by the classifier 301 . In particular in some embodiments the form of the analysis and parameterization of the frequency domain representations can be dependent on whether the audio signal classification value indicates that the input audio signal is either of a binaural or stereo signal type. The result of the analysis may be parameters which represent the bi-channel (or more generally multi- channel) characteristics for each sub band of the input audio signal.
The channel analyser/mono encoder 303 can use the parameters associated with each sub band to down mix the multi-channel audio signal and generate a mono channel which can be encoded according to any suitable encoding scheme.
In some embodiments the generated mono channel audio signal (or reduced number of channels encoded signal) can be encoded using any suitable encoding format. For example in some embodiments the mono channel audio signal can be encoded using an Enhanced Voice service (EVS) mono channel encoded form, which may contain a bit stream interoperable version of the Adaptive Multi-Rate - Wide Band (AMR-WB) codec.
The operation of generating and encoding the mono channel (or reduced number of channels is shown in Figure 5 by step 503.
The encoded mono channel signal can then be output. In some embodiments the encoded mono channel signal is output to a multiplexer to be combined with the output of the multi-channel parameter encoder 305 to form a single stream or output. In some embodiments the encoded mono channel signal is output separately from the multi-channel parameter encoder 305.
In some embodiments the encoder 104 comprises a multi-channel parameter encoder. In some embodiments the multi-channel parameter encoder is a bi- channel parameter encoder 305 or comprises suitable means for encoding the multi-channel parameters. The multi-channel parameter encoder 305 can be configured to receive the multi-channel parameters such as the stereo or binaural (difference) parameters determined by the channel analyser/mono encoder 303. The multi-channel parameter encoder 305 can then in some embodiments be configured to perform a quantization on the parameters and furthermore encode the parameters so that they can be output (either to be stored on the apparatus or passed to a further apparatus).
In some embodiments the multi-channel parameter encoder 305 may also receive as a further input the audio signal classification value, thereby enabling the quantization and encoding of the multi-channel parameters to be dependent on the value of said audio signal classification value.
The operation of quantizing and encoding the quantized multi-channel parameters is shown in Figure 5 by step 505. In other embodiments the of the encoder 104 the channel analyser and multichannel parameter encoding stages may be performed in one coding entity before the mono channel signal is formed.
In such embodiments the encoder 104 can initially analyse the frequency domain representations of the multi-channel input audio signal and determine parameters associated with each sub-band with respect to bi-channel or multi-channel audio signal differences, and then perform quantization and encoding on the multichannel parameters. In these embodiments the mono audio signal may then be subsequently formed by using the parameters associated with each sub band to down mix the multi-channel audio signal. The resulting mono channel can then be encoded according to any suitable encoding scheme as mentioned above.
Thus in at least one of the embodiments there can be an apparatus comprising: means for estimating a value of entropy for a multi-channel audio signal; means for determining a channel configuration of the multi-channel audio signal from the value of entropy; and means for encoding the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
Although the above examples describe embodiments of the application operating within a codec within an apparatus 10, it would be appreciated that the invention as described below may be implemented as part of any audio (or speech) codec, including any variable rate/adaptive rate audio (or speech) codec. Thus, for example, embodiments of the application may be implemented in an audio codec which may implement audio coding over fixed or wired communication paths.
Thus user equipment may comprise an audio codec such as those described in embodiments of the application above.
It shall be appreciated that the term user equipment is intended to cover any suitable type of wireless user equipment, such as mobile telephones, portable data processing devices or portable web browsers.
Furthermore elements of a public land mobile network (PLMN) may also comprise audio codecs as described above.
In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the invention is not limited thereto. While various aspects of the application may be illustrated and described as block diagrams, flow charts, or using some other pictorial representation, it is well understood that these blocks, apparatus, systems, techniques or methods described herein may be implemented in, as non-limiting examples, hardware, software, firmware, special purpose circuits or logic, general purpose hardware or controller or other computing devices, or some combination thereof.
The embodiments of this application may be implemented by computer software executable by a data processor of the mobile device, such as in the processor entity, or by hardware, or by a combination of software and hardware. Further in this regard it should be noted that any blocks of the logic flow as in the Figures may represent program steps, or interconnected logic circuits, blocks and functions, or a combination of program steps and logic circuits, blocks and functions.
The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as semiconductor-based memory devices, magnetic memory devices and systems, optical memory devices and systems, fixed memory and removable memory. The data processors may be of any type suitable to the local technical environment, and may include one or more of general purpose computers, special purpose computers, microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASIC), gate level circuits and processors based on multi-core processor architecture, as non-limiting examples.
Embodiments of the application may be practiced in various components such as integrated circuit modules. The design of integrated circuits is by and large a highly automated process. Complex and powerful software tools are available for converting a logic level design into a semiconductor circuit design ready to be etched and formed on a semiconductor substrate.
Programs, such as those provided by Synopsys, Inc. of Mountain View, California and Cadence Design, of San Jose, California automatically route conductors and locate components on a semiconductor chip using well established rules of design as well as libraries of pre-stored design modules. Once the design for a semiconductor circuit has been completed, the resultant design, in a standardized electronic format (e.g., Opus, GDSII, or the like) may be transmitted to a semiconductor fabrication facility or "fab" for fabrication. As used in this application, the term 'circuitry' refers to all of the following:
(a) hardware-only circuit implementations (such as implementations in only analog and/or digital circuitry) and
(b) to combinations of circuits and software (and/or firmware), such as: (i) to a combination of processor(s) or (ii) to portions of processor(s)/software (including digital signal processor(s)), software, and memory(ies) that work together to cause an apparatus, such as a mobile phone or server, to perform various functions and
(c) to circuits, such as a microprocessor(s) or a portion of a microprocessor(s), that require software or firmware for operation, even if the software or firmware is not physically present.
This definition of 'circuitry' applies to all uses of this term in this application, including any claims. As a further example, as used in this application, the term 'circuitry' would also cover an implementation of merely a processor (or multiple processors) or portion of a processor and its (or their) accompanying software and/or firmware. The term 'circuitry' would also cover, for example and if applicable to the particular claim element, a baseband integrated circuit or applications processor integrated circuit for a mobile phone or similar integrated circuit in server, a cellular network device, or other network device. The foregoing description has provided by way of exemplary and non-limiting examples a full and informative description of the exemplary embodiment of this invention. However, various modifications and adaptations may become apparent to those skilled in the relevant arts in view of the foregoing description, when read in conjunction with the accompanying drawings and the appended claims. However, all such and similar modifications of the teachings of this invention will still fall within the scope of this invention as defined in the appended claims.

Claims

Claims:
1 . A method comprising:
estimating a value of entropy for a multi-channel audio signal;
determining a channel configuration of the multi-channel audio signal from the value of entropy; and
encoding the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
2. The method as claimed in claim 1 , wherein the multi-channel audio signal comprises at least a first audio channel signal and a second audio channel signal, and wherein estimating the value of entropy for the multi-channel audio signal comprises:
transforming the first audio channel signal and the second audio channel signal each into a frequency domain audio signal comprising a plurality of frequency bands;
determining a relative audio signal level by determining an audio signal level in a frequency band of the first audio channel signal relative to an audio signal level in a frequency band of the second audio channel; and
determining the value of entropy from the relative audio signal level.
3. The method as claimed in claims 1 and 2, wherein determining the channel configuration of the multi-channel audio signal comprises:
comparing the value of entropy against a threshold value;
classifying the channel configuration as a first type of channel configuration when the value of entropy is below or equal to the threshold value; and
classifying the channel configuration as a second type of channel configuration when the value of entropy is above the threshold value.
4. The method as claimed in claims 2 and 3, wherein determining the value of entropy from the relative audio signal level comprises: determining the probability of the relative audio signal level by determining a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal.
5. The method as claimed in claims 2 and 3, wherein determining the value of entropy from the relative audio signal level comprises:
estimating the average number of relative audio signal level values between a coincidence of two relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
6. The method as claimed in claims 1 to 5, wherein the multi-channel audio signal comprises a bi-channel audio signal, and wherein the first type of channel configuration is a binaural audio channel, and the second type of channel configuration is a stereo audio channel.
7. The method as claimed in claims 2 to 6, wherein the audio signal level comprises the magnitude of the audio signal in the frequency band.
8. The method as claimed in claims 2 to 7, wherein the relative audio signal level is an interaural level difference.
9. An apparatus configured to:
estimate a value of entropy for a multi-channel audio signal;
determine a channel configuration of the multi-channel audio signal from the value of entropy; and
encode the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
10. The apparatus as claimed in claim 1 , wherein the multi-channel audio signal comprises at least a first audio channel signal and a second audio channel signal, and wherein the apparatus configured to estimate the value of entropy for the multi-channel audio signal is further configured to:
transform the first audio channel signal and the second audio channel signal each into a frequency domain audio signal comprising a plurality of frequency bands;
determine a relative audio signal level by the apparatus being configured to determine an audio signal level in a frequency band of the first audio channel signal relative to an audio signal level in a frequency band of the second audio channel signal; and
determine the value of entropy from the relative audio signal level.
1 1 . The apparatus as claimed in claims 9 and 10, wherein the apparatus configured to determine the channel configuration of the multi-channel audio signal is further configured to:
compare the value of entropy against a threshold value;
classify the channel configuration as a first type of channel configuration when the value of entropy is below or equal to the threshold value; and
classify the channel configuration as a second type of channel configuration when the value of entropy is above the threshold value.
12. The apparatus as claimed in claims 10 and 1 1 , wherein the apparatus configured to determine the value of entropy from the relative audio signal level is further configured to:
determine the probability of the relative audio signal level by being configured to determine a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal.
13. The apparatus as claimed in claims 10 and 1 1 , wherein the apparatus configured to determine the entropy from the relative audio signal level is further configured to: estimate the average number of relative audio signal level values between a coincidence of two relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
14. The apparatus as claimed in claims 9 to 13, wherein the multi-channel audio signal comprises a bi-channel audio signal, and wherein the first type of channel configuration is a binaural audio channel, and the second type of channel configuration is a stereo audio channel.
15. The apparatus as claimed in claims 10 to 14, wherein the audio signal level comprises the magnitude of the audio signal in the frequency band.
16. The apparatus as claimed in claims 10 to 15, wherein the relative audio signal level is an interaural level difference.
17. An apparatus comprising at least one processor and at least one memory including computer code, the at least one memory and the computer code configured to with the at least one processor cause the apparatus to:
estimate a value of entropy for a multi-channel audio signal;
determine a channel configuration of the multi-channel audio signal from the value of entropy; and
encode the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
18. The apparatus as claimed in claim 17, wherein the multi-channel audio signal comprises at least a first audio channel signal and a second audio channel signal, and wherein the apparatus caused to estimate the value of entropy for the multi-channel audio signal is further caused to: transform the first audio channel signal and the second audio channel signal each into a frequency domain audio signal comprising a plurality of frequency bands;
determine a relative audio signal level by the apparatus being caused to determine an audio signal level in a frequency band of the first audio channel signal relative to an audio signal level in a frequency band of the second audio channel signal; and
determine the value of entropy from the relative audio signal level.
19. The apparatus as claimed in claims 17 and 18, wherein the apparatus caused to determine the channel configuration of the multi-channel audio signal is further caused to:
compare the value of entropy against a threshold value;
classify the channel configuration as a first type of channel configuration when the value of entropy is below or equal to the threshold value; and
classify the channel configuration as a second type of channel configuration when the value of entropy is above the threshold value.
20. The apparatus as claimed in claims 18 and 19, wherein the apparatus caused to determine the value of entropy from the relative audio signal level is further caused to:
determine the probability of the relative audio signal level by being caused to determine a histogram of a plurality of relative audio signal levels from an audio frame of the multi-channel audio signal.
21 . The apparatus as claimed in claims 18 and 19, wherein the apparatus caused to determine the value of entropy from the relative audio signal level is further caused to:
estimate the average number of relative audio signal level values between a coincidence of two relative audio signal level values with the same value by sequentially observing a sequence of relative audio signal level values from an audio frame of the multi-channel audio signal.
22. The apparatus as claimed in claims 17 to 21 , wherein the multi-channel audio signal comprises a bi-channel audio signal, and wherein the first type of channel configuration is a binaural audio channel, and the second type of channel configuration is a stereo audio channel.
23. The apparatus as claimed in claims 18 to 22, wherein the audio signal level comprises the magnitude of the audio signal in the frequency band.
24. The apparatus as claimed in claims 18 to 23, wherein the relative audio signal level is an interaural level difference.
25. A computer program code realizing the following when executed by a processor:
estimating a value of entropy for a multi-channel audio signal;
determining a channel configuration of the multi-channel audio signal from the value of entropy; and
encoding the multi-channel audio signal, wherein the mode of encoding is dependent on the channel configuration.
26. An electronic device comprising an apparatus as claimed in claims 9 to 16.
27. A chipset comprising an apparatus as claimed in claims 9 to 16.
PCT/FI2014/050019 2014-01-13 2014-01-13 Multi-channel audio signal classifier WO2015104447A1 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
RU2016131192A RU2648632C2 (en) 2014-01-13 2014-01-13 Multi-channel audio signal classifier
CN201480077074.3A CN106104684A (en) 2014-01-13 2014-01-13 Multi-channel audio signal grader
US15/110,356 US9911423B2 (en) 2014-01-13 2014-01-13 Multi-channel audio signal classifier
PCT/FI2014/050019 WO2015104447A1 (en) 2014-01-13 2014-01-13 Multi-channel audio signal classifier
EP14877980.4A EP3095117B1 (en) 2014-01-13 2014-01-13 Multi-channel audio signal classifier
JP2016546482A JP6235725B2 (en) 2014-01-13 2014-01-13 Multi-channel audio signal classifier
KR1020167022075A KR101841380B1 (en) 2014-01-13 2014-01-13 Multi-channel audio signal classifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/FI2014/050019 WO2015104447A1 (en) 2014-01-13 2014-01-13 Multi-channel audio signal classifier

Publications (1)

Publication Number Publication Date
WO2015104447A1 true WO2015104447A1 (en) 2015-07-16

Family

ID=53523566

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/FI2014/050019 WO2015104447A1 (en) 2014-01-13 2014-01-13 Multi-channel audio signal classifier

Country Status (7)

Country Link
US (1) US9911423B2 (en)
EP (1) EP3095117B1 (en)
JP (1) JP6235725B2 (en)
KR (1) KR101841380B1 (en)
CN (1) CN106104684A (en)
RU (1) RU2648632C2 (en)
WO (1) WO2015104447A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10304472B2 (en) * 2014-07-28 2019-05-28 Nippon Telegraph And Telephone Corporation Method, device and recording medium for coding based on a selected coding processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070016416A1 (en) * 2005-04-19 2007-01-18 Coding Technologies Ab Energy dependent quantization for efficient coding of spatial audio parameters
US7283957B2 (en) * 2000-09-15 2007-10-16 Telefonaktiebolaget Lm Ericsson (Publ) Multi-channel signal encoding and decoding
WO2013156814A1 (en) * 2012-04-18 2013-10-24 Nokia Corporation Stereo audio signal encoder
WO2013179084A1 (en) * 2012-05-29 2013-12-05 Nokia Corporation Stereo audio signal encoder

Family Cites Families (58)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE4345171C2 (en) * 1993-09-15 1996-02-01 Fraunhofer Ges Forschung Method for determining the type of coding to be selected for coding at least two signals
US6298071B1 (en) 1998-09-03 2001-10-02 Diva Systems Corporation Method and apparatus for processing variable bit rate information in an information distribution system
US7292901B2 (en) 2002-06-24 2007-11-06 Agere Systems Inc. Hybrid multi-channel/cue coding/decoding of audio signals
US6650784B2 (en) 2001-07-02 2003-11-18 Qualcomm, Incorporated Lossless intraframe encoding using Golomb-Rice
BRPI0304541B1 (en) 2002-04-22 2017-07-04 Koninklijke Philips N. V. METHOD AND ARRANGEMENT FOR SYNTHESIZING A FIRST AND SECOND OUTPUT SIGN FROM AN INPUT SIGN, AND, DEVICE FOR PROVIDING A DECODED AUDIO SIGNAL
ES2268340T3 (en) 2002-04-22 2007-03-16 Koninklijke Philips Electronics N.V. REPRESENTATION OF PARAMETRIC AUDIO OF MULTIPLE CHANNELS.
KR101049751B1 (en) * 2003-02-11 2011-07-19 코닌클리케 필립스 일렉트로닉스 엔.브이. Audio coding
EP2665294A2 (en) 2003-03-04 2013-11-20 Core Wireless Licensing S.a.r.l. Support of a multichannel audio extension
WO2004098105A1 (en) 2003-04-30 2004-11-11 Nokia Corporation Support of a multichannel audio extension
US7394903B2 (en) * 2004-01-20 2008-07-01 Fraunhofer-Gesellschaft Zur Forderung Der Angewandten Forschung E.V. Apparatus and method for constructing a multi-channel output signal or for generating a downmix signal
US7805313B2 (en) 2004-03-04 2010-09-28 Agere Systems Inc. Frequency-based coding of channels in parametric multi-channel coding systems
SE0400998D0 (en) 2004-04-16 2004-04-16 Cooding Technologies Sweden Ab Method for representing multi-channel audio signals
JP4456601B2 (en) 2004-06-02 2010-04-28 パナソニック株式会社 Audio data receiving apparatus and audio data receiving method
US7848931B2 (en) 2004-08-27 2010-12-07 Panasonic Corporation Audio encoder
US20060088093A1 (en) 2004-10-26 2006-04-27 Nokia Corporation Packet loss compensation
SE0402650D0 (en) 2004-11-02 2004-11-02 Coding Tech Ab Improved parametric stereo compatible coding or spatial audio
US7903824B2 (en) 2005-01-10 2011-03-08 Agere Systems Inc. Compact side information for parametric coding of spatial audio
US7991610B2 (en) 2005-04-13 2011-08-02 Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. Adaptive grouping of parameters for enhanced coding efficiency
MX2007015118A (en) * 2005-06-03 2008-02-14 Dolby Lab Licensing Corp Apparatus and method for encoding audio signals with decoding instructions.
US8270439B2 (en) * 2005-07-08 2012-09-18 Activevideo Networks, Inc. Video game system using pre-encoded digital audio mixing
US20070055510A1 (en) 2005-07-19 2007-03-08 Johannes Hilpert Concept for bridging the gap between parametric multi-channel audio coding and matrixed-surround multi-channel coding
ES2433316T3 (en) * 2005-07-19 2013-12-10 Koninklijke Philips N.V. Multi-channel audio signal generation
KR101169281B1 (en) 2005-10-05 2012-08-02 엘지전자 주식회사 Method and apparatus for audio signal processing and encoding and decoding method, and apparatus therefor
US8374365B2 (en) * 2006-05-17 2013-02-12 Creative Technology Ltd Spatial audio analysis and synthesis for binaural reproduction and format conversion
US7876904B2 (en) * 2006-07-08 2011-01-25 Nokia Corporation Dynamic decoding of binaural audio signals
CN101485094B (en) * 2006-07-14 2012-05-30 安凯(广州)软件技术有限公司 Method and system for multi-channel audio encoding and decoding with backward compatibility based on maximum entropy rule
CN101484935B (en) * 2006-09-29 2013-07-17 Lg电子株式会社 Methods and apparatuses for encoding and decoding object-based audio signals
JP5209637B2 (en) * 2006-12-07 2013-06-12 エルジー エレクトロニクス インコーポレイティド Audio processing method and apparatus
US8200351B2 (en) 2007-01-05 2012-06-12 STMicroelectronics Asia PTE., Ltd. Low power downmix energy equalization in parametric stereo encoders
DE102007048973B4 (en) 2007-10-12 2010-11-18 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus and method for generating a multi-channel signal with voice signal processing
WO2009048239A2 (en) 2007-10-12 2009-04-16 Electronics And Telecommunications Research Institute Encoding and decoding method using variable subband analysis and apparatus thereof
EP2215627B1 (en) 2007-11-27 2012-09-19 Nokia Corporation An encoder
US20090164223A1 (en) 2007-12-19 2009-06-25 Dts, Inc. Lossless multi-channel audio codec
US8972247B2 (en) * 2007-12-26 2015-03-03 Marvell World Trade Ltd. Selection of speech encoding scheme in wireless communication terminals
WO2009150290A1 (en) 2008-06-13 2009-12-17 Nokia Corporation Method and apparatus for error concealment of encoded audio data
EP2144230A1 (en) 2008-07-11 2010-01-13 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Low bitrate audio encoding/decoding scheme having cascaded switches
EP2144229A1 (en) * 2008-07-11 2010-01-13 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Efficient use of phase information in audio encoding and decoding
MX2011000370A (en) * 2008-07-11 2011-03-15 Fraunhofer Ges Forschung An apparatus and a method for decoding an encoded audio signal.
EP2146344B1 (en) * 2008-07-17 2016-07-06 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Audio encoding/decoding scheme having a switchable bypass
JP5446258B2 (en) * 2008-12-26 2014-03-19 富士通株式会社 Audio encoding device
WO2010091736A1 (en) 2009-02-13 2010-08-19 Nokia Corporation Ambience coding and decoding for audio applications
US9215538B2 (en) * 2009-08-04 2015-12-15 Nokia Technologies Oy Method and apparatus for audio signal classification
EP2476113B1 (en) 2009-09-11 2014-08-13 Nokia Corporation Method, apparatus and computer program product for audio coding
WO2011039195A1 (en) 2009-09-29 2011-04-07 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Audio signal decoder, audio signal encoder, method for providing an upmix signal representation, method for providing a downmix signal representation, computer program and bitstream using a common inter-object-correlation parameter value
CN102656628B (en) 2009-10-15 2014-08-13 法国电信公司 Optimized low-throughput parametric coding/decoding
US20120035940A1 (en) 2010-08-06 2012-02-09 Samsung Electronics Co., Ltd. Audio signal processing method, encoding apparatus therefor, and decoding apparatus therefor
MY180970A (en) 2010-08-25 2020-12-14 Fraunhofer Ges Forschung Apparatus for generating a decorrelated signal using transmitted phase information
EP2612322B1 (en) 2010-10-05 2016-05-11 Huawei Technologies Co., Ltd. Method and device for decoding a multichannel audio signal
US20140052440A1 (en) 2011-01-28 2014-02-20 Nokia Corporation Coding through combination of code vectors
US9026434B2 (en) 2011-04-11 2015-05-05 Samsung Electronic Co., Ltd. Frame erasure concealment for a multi rate speech and audio codec
EP2795617B1 (en) * 2011-12-21 2016-08-10 Dolby International AB Audio encoders and methods with parallel architecture
KR20130109793A (en) * 2012-03-28 2013-10-08 삼성전자주식회사 Audio encoding method and apparatus for noise reduction
US9865269B2 (en) 2012-07-19 2018-01-09 Nokia Technologies Oy Stereo audio signal encoder
US9479886B2 (en) 2012-07-20 2016-10-25 Qualcomm Incorporated Scalable downmix design with feedback for object-based surround codec
WO2014108738A1 (en) 2013-01-08 2014-07-17 Nokia Corporation Audio signal multi-channel parameter encoder
WO2014147441A1 (en) 2013-03-20 2014-09-25 Nokia Corporation Audio signal encoder comprising a multi-channel parameter selector
CN105264600B (en) 2013-04-05 2019-06-07 Dts有限责任公司 Hierarchical audio coding and transmission
US20150025894A1 (en) 2013-07-16 2015-01-22 Electronics And Telecommunications Research Institute Method for encoding and decoding of multi channel audio signal, encoder and decoder

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7283957B2 (en) * 2000-09-15 2007-10-16 Telefonaktiebolaget Lm Ericsson (Publ) Multi-channel signal encoding and decoding
US20070016416A1 (en) * 2005-04-19 2007-01-18 Coding Technologies Ab Energy dependent quantization for efficient coding of spatial audio parameters
WO2013156814A1 (en) * 2012-04-18 2013-10-24 Nokia Corporation Stereo audio signal encoder
WO2013179084A1 (en) * 2012-05-29 2013-12-05 Nokia Corporation Stereo audio signal encoder

Also Published As

Publication number Publication date
KR101841380B1 (en) 2018-03-22
KR20160110447A (en) 2016-09-21
EP3095117B1 (en) 2018-08-22
EP3095117A1 (en) 2016-11-23
US20160329056A1 (en) 2016-11-10
RU2648632C2 (en) 2018-03-26
EP3095117A4 (en) 2017-06-21
JP6235725B2 (en) 2017-11-22
JP2017503214A (en) 2017-01-26
US9911423B2 (en) 2018-03-06
RU2016131192A (en) 2018-02-20
CN106104684A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106463138B (en) Method and apparatus for forming audio signal payload and audio signal payload
US9865269B2 (en) Stereo audio signal encoder
US9799339B2 (en) Stereo audio signal encoder
US9659569B2 (en) Audio signal encoder
US10199044B2 (en) Audio signal encoder comprising a multi-channel parameter selector
JP7405962B2 (en) Spatial audio parameter encoding and related decoding decisions
CN110235197B (en) Stereo audio signal encoder
WO2020260756A1 (en) Determination of spatial audio parameter encoding and associated decoding
WO2019106221A1 (en) Processing of spatial audio parameters
EP3095117B1 (en) Multi-channel audio signal classifier
WO2019243670A1 (en) Determination of spatial audio parameter encoding and associated decoding
WO2022200666A1 (en) Combining spatial audio streams

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: 14877980

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15110356

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2016546482

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014877980

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014877980

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20167022075

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016131192

Country of ref document: RU

Kind code of ref document: A