WO2013075848A1 - System and method for signal level detection - Google Patents

System and method for signal level detection Download PDF

Info

Publication number
WO2013075848A1
WO2013075848A1 PCT/EP2012/059492 EP2012059492W WO2013075848A1 WO 2013075848 A1 WO2013075848 A1 WO 2013075848A1 EP 2012059492 W EP2012059492 W EP 2012059492W WO 2013075848 A1 WO2013075848 A1 WO 2013075848A1
Authority
WO
WIPO (PCT)
Prior art keywords
level detector
level
auxiliary
input signal
estimate
Prior art date
Application number
PCT/EP2012/059492
Other languages
French (fr)
Inventor
Joachim Neumann
Nun MÉNDEZ RODRÍGUEZ
Jacques Kinsbergen
Nicolas WACK
Original Assignee
Jacoti Bvba
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
Priority claimed from PCT/EP2011/070606 external-priority patent/WO2012066149A1/en
Application filed by Jacoti Bvba filed Critical Jacoti Bvba
Priority to DK12723645.3T priority Critical patent/DK2783523T3/en
Priority to EP12723645.3A priority patent/EP2783523B1/en
Publication of WO2013075848A1 publication Critical patent/WO2013075848A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R25/00Deaf-aid sets, i.e. electro-acoustic or electro-mechanical hearing aids; Electric tinnitus maskers providing an auditory perception
    • H04R25/35Deaf-aid sets, i.e. electro-acoustic or electro-mechanical hearing aids; Electric tinnitus maskers providing an auditory perception using translation techniques
    • H04R25/356Amplitude, e.g. amplitude shift or compression
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61FFILTERS IMPLANTABLE INTO BLOOD VESSELS; PROSTHESES; DEVICES PROVIDING PATENCY TO, OR PREVENTING COLLAPSING OF, TUBULAR STRUCTURES OF THE BODY, e.g. STENTS; ORTHOPAEDIC, NURSING OR CONTRACEPTIVE DEVICES; FOMENTATION; TREATMENT OR PROTECTION OF EYES OR EARS; BANDAGES, DRESSINGS OR ABSORBENT PADS; FIRST-AID KITS
    • A61F11/00Methods or devices for treatment of the ears or hearing sense; Non-electric hearing aids; Methods or devices for enabling ear patients to achieve auditory perception through physiological senses other than hearing sense; Protective devices for the ears, carried on the body or in the hand
    • A61F11/04Methods or devices for enabling ear patients to achieve auditory perception through physiological senses other than hearing sense, e.g. through the touch sense
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/36036Applying electric currents by contact electrodes alternating or intermittent currents for stimulation of the outer, middle or inner ear
    • A61N1/36038Cochlear stimulation
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers without distortion of the input signal
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices
    • H03G3/3005Automatic control in amplifiers having semiconductor devices in amplifiers suitable for low-frequencies, e.g. audio amplifiers
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G7/00Volume compression or expansion in amplifiers
    • H03G7/002Volume compression or expansion in amplifiers in untuned or low-frequency amplifiers, e.g. audio amplifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2225/00Details of deaf aids covered by H04R25/00, not provided for in any of its subgroups
    • H04R2225/67Implantable hearing aids or parts thereof not covered by H04R25/606
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Definitions

  • the present invention is related to the field of signal level detection of an input audio signal of unknown level.
  • Level detectors are found in various types of audio devices. They are the central piece in an Automatic Gain Control (AGC), which is sometimes also called dynamic range compressor or simply compressor.
  • AGC Automatic Gain Control
  • the compressor comprises a level detector, a compressor characteristic unit and a multiplier.
  • the compressor output signal results from a multiplication of the input signal with a time-variant factor signal, which depends both on the input signal level and on the compressor characteristic.
  • the level detector produces a time-variant signal that estimates the input sound signal level.
  • This level estimate can e.g. be based on the low-pass filtered rectified input sound signal or on the low-pass filtered squared signal to estimate the root-mean square value of the signal.
  • This simple level detector is illustrated in Fig. 2.
  • the factor applied in the scheme of Fig. 2 can be calculated as :
  • the level detector is used to detect the level of audio signals, its output is typically converted to a logarithmic dB scale, for example to represent the level of the input signal in dB SPL (sound pressure level).
  • a level detector should on the one hand quickly follow the abrupt changes of the input signal level in order to allow for large gain changes as a reaction to changes in the input sound signal level.
  • the level detector should on the other hand be as constant as possible to limit to a minimum the amount of distortion that comes with any gain change. This is the desired behaviour in situations in which the user needs to understand speech or is listening to music and the input signal does not exhibit very large level changes.
  • the level detector together with the compressor characteristic unit thus determines the temporal properties and side effects of the dynamic range compressor shown in Fig.l.
  • level detectors One application field of level detectors is audio recording, mixing and mastering, e.g., for loudness maximization of audio for radio broadcasting.
  • Another important application field of level detectors concerns hearing aids.
  • Hearing aids and other hearing solutions need to adapt their amplification not only to the individual hearing loss of the patient, but they also need to be able to adapt the amount of amplification to the current sound environment.
  • compressors are employed to provide more gain in soft listening situations than in loud listening situations. This is required for the majority of hearing impaired users who suffer from a sensorineural hearing loss and show the recruitment phenomenon.
  • level detectors Another application field of level detectors is the audio pre-processing in implantable auditory prostheses.
  • cochlear implants provide electric stimulation to the receptors and nerves in the human inner ear.
  • the signal that is picked up by the microphone is processed in a similar fashion as in a hearing aid.
  • level detectors are an important component to characterize the input signal and to reduce the dynamic range of the input signal.
  • a second stage then transforms the optimized sound signal into an excitation pattern for the implanted prostheses.
  • the AGC compressor
  • the AGC should be capable of reducing the gain as fast as possible.
  • fast gain changes introduce distortion and artefacts into the acoustic signal, which can reduce audio quality and speech intelligibility. Therefore, the AGC should preferably change the gain as little as necessary.
  • AGCs used in commercial products find a compromise between the two aforementioned requirements, typically by choosing a fast attack time (for increasing input sound levels) and a slow release time (for decreasing input sound levels). These attack and release time constants are part of the level detector and determine how fast the level detector follows an increasing input sound level and a decreasing input sound level, respectively.
  • the setting of the time constants in the level detector of a hearing instrument thus involves a compromise between the requirements of little distortion of speech on the one hand and on the other hand protection of the hearing impaired from sudden intense sounds.
  • a fast attack time is used to provide protection and a long release time is used to reduce distortion effects.
  • This compromise is not ideal because of (a) distortion of speech signals caused by the short attack time constants and (b) over-estimation of the level of dynamic signals such as speech due to long release time constants, resulting in too little gain.
  • the user of a hearing instrument can in some cases hear that a background signal of constant level increases in intensity.
  • Patent EP1491068 aims to tackle this by an input signal dependent optimal time constant.
  • the described level detector is designed with the guiding principle of maximizing the use of long time constants while at the same time being able to detect abrupt input level changes.
  • the dynamic behaviour of the level detector is based on a simple calculation scheme : the input signal is applied to an auxiliary level detector and in parallel to a so-called guided level detector.
  • the auxiliary level detector has a fixed small time constant that allows it to react faster to changes in the input sound signal than the guided level detector.
  • the guided level detector receives as input either the applied input sound signal or the auxiliary level detection output.
  • the guided level detector output is also the output of the system as a whole.
  • the time constant of the guided level detector and thus its dynamic behaviour is based on an analysis of the difference of the outputs from the auxiliary and the guided level detector itself.
  • level detectors with various different characteristics can be realized based on how the relationship is defined between the output from the two level detectors and the time constants setting of the guided level detector. This is defined in the time constant function, as illustrated in Fig.5. This time constant function and the outputs of the two level detectors provide all the information necessary to set a time constant of the guided level detector, which together with a compressor characteristic unit and a multiplier yields a compressed signal.
  • FIG.3 shows the behaviour of the level detectors discussed in patent EP1491068.
  • the input level is low, but at 0.5 seconds, the low signal is interrupted by a sudden burst of 8 milliseconds duration, which is 25 dB larger.
  • the second section of the artificial signal from 1 second to 2 seconds the signal level is high, only interrupted by a sudden drop at 1.5 seconds of 8 milliseconds duration.
  • Fig.3 shows the output signal of a fast level detector with a time constant of 2 milliseconds, plotted as dotted line ("fast"). This line follows the actual level of the input signal level (not shown) quite well.
  • the output of the slow level detector that uses a time constant of 100 milliseconds is plotted as dashed line ("slow") as a function of time.
  • dashed line (slow) as a function of time.
  • the dashed curve "slow" of the slow level detector is only slightly altered by the sudden rise or drop of the input signal.
  • EP1491068 The output of an implementation of the level detector described in EP1491068 is represented by the solid line ("EP ⁇ 68").
  • the time constant function of EP1491068 ranges from 2 milliseconds to 100 milliseconds.
  • a desired level detector behaviour is to produce an output that is close to the output of the fast level detector for signals with sudden level changes similar to those used in Fig.3.
  • the desired level detector behaviour is to produce an output close to the slow level detector output.
  • the solid lines (“EP ⁇ 68") in Figs 3 and 4 illustrate indeed that the level detector described in EP1491068 is closer to the fast level detector in Fig.3 around 0.5 and 1.5 seconds, while it is closer to the slow level detector in Fig.4. at all times.
  • the invention in a first aspect relates to a level detection system for estimating the level of an audio input signal to be used in a dynamic range compressor.
  • the system comprises - a first auxiliary level detector arranged for receiving an audio input signal and for outputting a first estimate of the level of the audio input signal,
  • auxiliary level detector arranged for receiving either the audio input signal or the first estimate and arranged for outputting a second estimate of the level of the audio input signal, said second auxiliary level detector having a larger time constant than said first auxiliary level detector, - computation means for performing a weighing of the first estimate with a weight factor w and the second estimate with a weight factor 1-w, whereby the weight factor w depends on the first and the second estimate, said computation means further arranged for adding the weighted estimations to obtain a resulting estimation of the level of the audio input signal.
  • the proposed system indeed provides a level detection that results in behaviour of the compressor that is superior to the behaviour of state-of-the-art compressors by minimizing the amount of distortion that is introduced during the compression, while at the same time providing fast gain changes when needed, for example for protection.
  • the weight factors are dependent on the difference between the first and the second estimate.
  • the level detection system may then be equipped for computing said difference.
  • the weight factor is preferably reset to zero.
  • the level detection system is arranged for determining the weight by performing a weighing function and for comparing the value returned from the weighing function with a previous value of the weighting factor. The weight factor is then set to the maximum of the weighing function outcome and said previous weighing factor value, while keeping the weighting factor between 0 and 1.
  • a dynamic range compressor is advantageously provided with a level detection system as previously described.
  • the invention also relates to a hearing aid, an implantable auditory prosthesis or a mobile telephone device comprising a level detection system as described above.
  • the invention in another aspect relates to a method for estimating the level of an audio input signal.
  • the method comprises the steps of
  • the method comprises a step of determining the weight factor w comprises the execution of a pre-stored weighing function.
  • the invention also relates to a method for upgrading an existing level detector system, comprising the steps of
  • the first auxiliary level detector is attributed a time constant corresponding to the minimum time constant of the existing level detector system and the second auxiliary level detector is attributed a time constant corresponding to the maximum time constant of the existing level detector system.
  • the invention also relates to a program, executable on a programmable device containing instructions, which when executed, perform the method as previously described.
  • Fig.l illustrates a block scheme of an automatic gain control.
  • Fig.2 illustrates a block diagram of a level detector.
  • Fig.3 illustrates the output of the level detector of EP1491068 when an artificial signal is applied.
  • Fig.4 illustrates the output of the level detector of EP1491068 when a speech signal is applied.
  • Fig.5 illustrates a time constant function as mentioned in EP1491068.
  • Fig.6 represents an embodiment of the present invention.
  • Fig.7 illustrates the output of the level detector of the invention when the same artificial signal is applied as in Fig.3.
  • Fig.8 illustrates the output of the level detector of the invention when the same speech signal is applied as in Fig.4.
  • Fig.9 illustrates an existing level detector improved with the present invention.
  • Fig.10 illustrates the output of the level detector of EP1491068, when improved with the present invention, when the same artificial signal as in Fig.3 is applied.
  • Fig.11 illustrates the output of the level detector of EP1491068, when improved with the present invention, when the same speech signal as in Fig.4 is applied.
  • the present invention discloses a level detection system capable of reacting quickly when sudden changes in the input signal require a quick reaction and smoothly when no dramatic changes in the input level are going on and therefore minimize distortion and artefacts.
  • the invention proposes a solution comprising two auxiliary level detectors, i.e. a fast level detector and a slow level detector.
  • the idea behind the invention is that the output of the level detector system always resides within the range defined by the output of the fast and the slow level detector. Hence, measures are taken to keep the resulting output always between the output levels of the fast and slow level detector separately.
  • the two auxiliary level detectors both have a fixed time constant.
  • the fast level detector uses the input signal as input, while the slow level detector uses either the input signal or the output of the fast level detector as input signal.
  • FIG.6 A preferred embodiment of the solution according to the invention is shown in Fig.6.
  • the level detection system comprises an auxiliary level detector L fast with a fast time constant and a second auxiliary level detector L slow with a slow time constant. In the embodiment of Fig.6 they are both fed with the input sound signal.
  • weighted level detection is applied wherein the level at the system's output is determined by a weight factor w.
  • the weighted level detector output (i.e. the estimate of the level of the applied input audio signal) is then calculated as a weighted sum of the fast and the slow level detector outputs:
  • the weighting factor w can be determined in a three-step procedure using its previous value w prev and the two level detectors L fast and L slow :
  • the abrupt change of w in step 3 does not result in an abrupt change of the L wei g hted output value, because the values of Lf ast and L s ; ow are similar when ⁇ changes its sign.
  • Fig.7 and Fig.8 show the output of the proposed level detection system for the same test signals as used in Fig.3 and Fig.4. It can be observed in both figures that the curve representing the output level determined according to the invention now falls between the curves corresponding to the fast and slow level detectors, respectively.
  • the idea behind the invention is that the output of the level detector always resides within the range as defined by the output of the fast and the slow level detector.
  • the weight determines if the level detector output is close to the former or the latter, but the restriction of the weight to the range of [0, 1] guarantees that the output of the level detector always resides within the range defined by the output of the fast and the slow level detector.
  • the invention can be applied to improve any existing level detector.
  • an additional operation is applied at the end of the calculation of the level detector.
  • This procedure forces the output of the level detector to be in the range defined by a fast and a slow level detector.
  • the procedure is illustrated in Fig.9 and can be described in three steps :
  • the invention can be applied to improve the level detector of EP1491068.
  • the parallel fast level detector can be taken from the auxiliary level detector of EP1491068 and only one additional slow level detector needs to be executed in parallel.
  • these two level detectors define a range of allowed values for the output of the level detector of EP1491068.
  • a preferable choice of time constants for these two level detectors is the minimum and maximum of the time constant function used in EP1491068.
  • the output of the resulting improved level detector is illustrated in Fig.lO and Fig.11. Although the output of the level detector in Fig.11 seems to be more nervous than in Fig.4, it is closer to the output of the slow level detector. Note also that changes in the output of the level detector are less noticeable because the level changes happen in moments in time in which the input signal is changing. Distortion as a side product of compression is most easily audible if the gain change is applied in a situation of a relatively constant input signal level.
  • the level detection system of the present invention can be applied in a hearing loss compensation module as described in patent application PCT/EP2011/70606.
  • That hearing loss compensation module comprises an automatic gain control (AGC), which uses a level detector.
  • AGC automatic gain control
  • the level detector system receives at its input a digitized version of the signal picked up by the microphone and the level detector advantageously comprises the level detection system of the present invention.
  • the AGC and the level detector receive their parameters from a control logic block, which forms the 'heart' of the communication device in patent application PCT/EP2011/70606.
  • the control logic block can also receive the parameters of the level detector from a remote server.
  • a computer program may be stored/distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. Any reference signs in the claims should not be construed as limiting the scope.

Abstract

The present invention relates to a level detection system for estimating the level of an audio input signal to be used in a dynamic range compressor, comprising - a first auxiliary level detector arranged for receiving an audio input signal and for outputting a first estimate of the level of the audio input signal, - a second auxiliary level detector arranged for receiving either the audio input signal or the first estimate and arranged for outputting a second estimate of the level of the audio input signal, said second auxiliary level detector having a larger time constant than said first auxiliary level detector, - computation means for performing a weighing of the first estimate with a weight factor w and the second estimate with a weight factor 1–w, said weight factor w being dependent on the first and the second estimate, said computation means further arranged for summing the weighted estimations to obtain a resulting estimation of the level of the audio input signal.

Description

System and Method for Signal Level Detection
Field of the invention
[0001] The present invention is related to the field of signal level detection of an input audio signal of unknown level.
Background of the invention
[0002] Level detectors are found in various types of audio devices. They are the central piece in an Automatic Gain Control (AGC), which is sometimes also called dynamic range compressor or simply compressor.
[0003] A simple feed-forward compressor is schematically shown in the block diagram of
Fig.l. The compressor comprises a level detector, a compressor characteristic unit and a multiplier. The compressor output signal results from a multiplication of the input signal with a time-variant factor signal, which depends both on the input signal level and on the compressor characteristic.
[0004] The level detector produces a time-variant signal that estimates the input sound signal level. This level estimate can e.g. be based on the low-pass filtered rectified input sound signal or on the low-pass filtered squared signal to estimate the root-mean square value of the signal. This simple level detector is illustrated in Fig. 2. For a given sample rate sr and a time constant τ of the level detector, the factor applied in the scheme of Fig. 2 can be calculated as :
-1
factor = βτ-sr
If the level detector is used to detect the level of audio signals, its output is typically converted to a logarithmic dB scale, for example to represent the level of the input signal in dB SPL (sound pressure level).
[0005] A level detector should on the one hand quickly follow the abrupt changes of the input signal level in order to allow for large gain changes as a reaction to changes in the input sound signal level. The level detector should on the other hand be as constant as possible to limit to a minimum the amount of distortion that comes with any gain change. This is the desired behaviour in situations in which the user needs to understand speech or is listening to music and the input signal does not exhibit very large level changes. The level detector together with the compressor characteristic unit thus determines the temporal properties and side effects of the dynamic range compressor shown in Fig.l.
[0006] One application field of level detectors is audio recording, mixing and mastering, e.g., for loudness maximization of audio for radio broadcasting. Another important application field of level detectors concerns hearing aids. Hearing aids and other hearing solutions need to adapt their amplification not only to the individual hearing loss of the patient, but they also need to be able to adapt the amount of amplification to the current sound environment. In hearing aids compressors are employed to provide more gain in soft listening situations than in loud listening situations. This is required for the majority of hearing impaired users who suffer from a sensorineural hearing loss and show the recruitment phenomenon.
[0007] Another application field of level detectors is the audio pre-processing in implantable auditory prostheses. For example, cochlear implants provide electric stimulation to the receptors and nerves in the human inner ear. In the signal processing chain of implantable auditory prostheses, the signal that is picked up by the microphone is processed in a similar fashion as in a hearing aid. In this first stage, level detectors are an important component to characterize the input signal and to reduce the dynamic range of the input signal. A second stage then transforms the optimized sound signal into an excitation pattern for the implanted prostheses.
[0008] If the AGC (compressor) provides more gain in a soft listening environment, protection is needed for sudden loud sounds. Therefore, the AGC should be capable of reducing the gain as fast as possible. However, fast gain changes introduce distortion and artefacts into the acoustic signal, which can reduce audio quality and speech intelligibility. Therefore, the AGC should preferably change the gain as little as necessary.
[0009] AGCs used in commercial products find a compromise between the two aforementioned requirements, typically by choosing a fast attack time (for increasing input sound levels) and a slow release time (for decreasing input sound levels). These attack and release time constants are part of the level detector and determine how fast the level detector follows an increasing input sound level and a decreasing input sound level, respectively.
[0010] The setting of the time constants in the level detector of a hearing instrument thus involves a compromise between the requirements of little distortion of speech on the one hand and on the other hand protection of the hearing impaired from sudden intense sounds. Traditionally, a fast attack time is used to provide protection and a long release time is used to reduce distortion effects. This compromise is not ideal because of (a) distortion of speech signals caused by the short attack time constants and (b) over-estimation of the level of dynamic signals such as speech due to long release time constants, resulting in too little gain. In addition, the user of a hearing instrument can in some cases hear that a background signal of constant level increases in intensity. This effect - which is sometimes called pumping - is caused by long release time constants resulting in a slow gain increase after a loud acoustical event. [0011] Patent EP1491068 aims to tackle this by an input signal dependent optimal time constant. The described level detector is designed with the guiding principle of maximizing the use of long time constants while at the same time being able to detect abrupt input level changes. The dynamic behaviour of the level detector is based on a simple calculation scheme : the input signal is applied to an auxiliary level detector and in parallel to a so-called guided level detector. The auxiliary level detector has a fixed small time constant that allows it to react faster to changes in the input sound signal than the guided level detector. The guided level detector receives as input either the applied input sound signal or the auxiliary level detection output. The guided level detector output is also the output of the system as a whole. The time constant of the guided level detector and thus its dynamic behaviour is based on an analysis of the difference of the outputs from the auxiliary and the guided level detector itself.
Through the proposed method, level detectors with various different characteristics can be realized based on how the relationship is defined between the output from the two level detectors and the time constants setting of the guided level detector. This is defined in the time constant function, as illustrated in Fig.5. This time constant function and the outputs of the two level detectors provide all the information necessary to set a time constant of the guided level detector, which together with a compressor characteristic unit and a multiplier yields a compressed signal.
[0012] The behaviour of the level detectors discussed in patent EP1491068 is illustrated with an artificial input signal (Fig.3). In the first part of the artificial signal of 1 second duration, the input level is low, but at 0.5 seconds, the low signal is interrupted by a sudden burst of 8 milliseconds duration, which is 25 dB larger. The second section of the artificial signal from 1 second to 2 seconds, the signal level is high, only interrupted by a sudden drop at 1.5 seconds of 8 milliseconds duration. Fig.3 shows the output signal of a fast level detector with a time constant of 2 milliseconds, plotted as dotted line ("fast"). This line follows the actual level of the input signal level (not shown) quite well. The output of the slow level detector that uses a time constant of 100 milliseconds is plotted as dashed line ("slow") as a function of time. In Fig.3, at around 0.5 seconds and at around 1.5 seconds, the dashed curve "slow" of the slow level detector is only slightly altered by the sudden rise or drop of the input signal.
The output of an implementation of the level detector described in EP1491068 is represented by the solid line ("EP Ό68"). In this implementation, the time constant function of EP1491068 ranges from 2 milliseconds to 100 milliseconds.
[0013] Also the behaviour of the level detectors to a speech signal is illustrated. A desired level detector behaviour is to produce an output that is close to the output of the fast level detector for signals with sudden level changes similar to those used in Fig.3. In contrast, for speech signals as in Fig.4 the desired level detector behaviour is to produce an output close to the slow level detector output. The solid lines ("EP Ό68") in Figs 3 and 4 illustrate indeed that the level detector described in EP1491068 is closer to the fast level detector in Fig.3 around 0.5 and 1.5 seconds, while it is closer to the slow level detector in Fig.4. at all times.
[0014] However, the solution of EP1491068 results in output values of the level detector as a whole that can lie outside the range defined by the fast and the slow level detector outputs. This can be observed around t = 0.6 sec and t = 1.6 sec in Fig.3 and around t = 0.09 sec and t = 0.5 sec in Fig.4 (indicated by arrows). As a consequence, a compressor based on the level detector as described in EP1491068 will overestimate the level of soft signals that follow sudden loud signals. For example, low-level speech signals that follow a door slam will receive too little amplification. Similarly, the level of loud signals that follow a sudden drop will be underestimated. As a consequence, loud signals that follow a short interruption will receive too much amplification. This phenomenon is known as overshoot. This undesired behaviour of the level detector described in EP1491068 occurs predominantly if the sudden level change is of short duration.
[0015] Hence, there is a need for a level detector wherein this drawback is avoided.
Summary of the invention
[0016] It is an object of embodiments of the present invention to provide for a system and method for the detection of the level of an input signal to be used in a dynamic range compressor, whereby the level detector output remains within a range defined by the fast and slow level detector.
[0017] The above objective is accomplished by the solution according to the present invention.
[0018] In a first aspect the invention relates to a level detection system for estimating the level of an audio input signal to be used in a dynamic range compressor. The system comprises - a first auxiliary level detector arranged for receiving an audio input signal and for outputting a first estimate of the level of the audio input signal,
- a second auxiliary level detector arranged for receiving either the audio input signal or the first estimate and arranged for outputting a second estimate of the level of the audio input signal, said second auxiliary level detector having a larger time constant than said first auxiliary level detector, - computation means for performing a weighing of the first estimate with a weight factor w and the second estimate with a weight factor 1-w, whereby the weight factor w depends on the first and the second estimate, said computation means further arranged for adding the weighted estimations to obtain a resulting estimation of the level of the audio input signal. [0019] Due to the implementation with two auxiliary level detectors with a substantially different time constant, i.e. with a 'fast' and a 'slow' level detector, and the weighing performed on the outputs of the auxiliary level detectors to obtain the resulting estimate of the input signal level, that resulting estimate always falls within the range set by the two auxiliary level detectors. The proposed system indeed provides a level detection that results in behaviour of the compressor that is superior to the behaviour of state-of-the-art compressors by minimizing the amount of distortion that is introduced during the compression, while at the same time providing fast gain changes when needed, for example for protection.
[0020] In a preferred embodiment the weight factors are dependent on the difference between the first and the second estimate. The level detection system may then be equipped for computing said difference. When the difference between the auxiliary level detector outputs changes sign, the weight factor is preferably reset to zero.
[0021] In an advantageous embodiment the level detection system is arranged for determining the weight by performing a weighing function and for comparing the value returned from the weighing function with a previous value of the weighting factor. The weight factor is then set to the maximum of the weighing function outcome and said previous weighing factor value, while keeping the weighting factor between 0 and 1.
[0022] A dynamic range compressor is advantageously provided with a level detection system as previously described.
[0023] The invention also relates to a hearing aid, an implantable auditory prosthesis or a mobile telephone device comprising a level detection system as described above.
[0024] In another aspect the invention relates to a method for estimating the level of an audio input signal. The method comprises the steps of
- applying the audio input signal to a first auxiliary level detector and obtaining a first estimate of the level of the audio input signal,
- applying either the audio input signal or an output of the first auxiliary level detector to a second auxiliary level detector, said second auxiliary level detector having a larger time constant than the first auxiliary level detector,
- weighing the first estimate with a weight factor w and the second estimate with a weight factor 1-w, said weight factor being dependent on the difference between the first and the second estimate,
- determining an estimation of the level of an audio input signal by summing the weighted first and second estimates.
[0025] Preferably the method comprises a step of determining the weight factor w comprises the execution of a pre-stored weighing function. [0026] In a further aspect the invention also relates to a method for upgrading an existing level detector system, comprising the steps of
- providing a first auxiliary level detector and a second auxiliary level detector in parallel to the existing level detection system,
- attributing a time constant to the first and the second auxiliary level detector, said first auxiliary level detector having a smaller time constant than said second auxiliary level detector,
- applying a same audio input signal to the existing level detector system and the first and the second auxiliary level detector,
- if the output of the existing level detector system exceeds the output of the first and the second auxiliary level detector, setting said output to the maximum of the outputs of the first and the second auxiliary level detector
- if the output of the existing level detector system stays below the output of the first and the second auxiliary level detector, setting said output to the minimum of the outputs of the first and the second auxiliary level detector.
[0027] In a preferred embodiment the first auxiliary level detector is attributed a time constant corresponding to the minimum time constant of the existing level detector system and the second auxiliary level detector is attributed a time constant corresponding to the maximum time constant of the existing level detector system.
[0028] The invention also relates to a program, executable on a programmable device containing instructions, which when executed, perform the method as previously described.
[0029] For purposes of summarizing the invention and the advantages achieved over the prior art, certain objects and advantages of the invention have been described herein above. Of course, it is to be understood that not necessarily all such objects or advantages may be achieved in accordance with any particular embodiment of the invention. Thus, for example, those skilled in the art will recognize that the invention may be embodied or carried out in a manner that achieves or optimizes one advantage or group of advantages as taught herein without necessarily achieving other objects or advantages as may be taught or suggested herein.
[0030] The above and other aspects of the invention will be apparent from and elucidated with reference to the embodiment(s) described hereinafter.
Brief description of the drawings
[0031] The invention will now be described further, by way of example, with reference to the accompanying drawings, wherein like reference numerals refer to like elements in the various figures. [0032] Fig.l illustrates a block scheme of an automatic gain control.
[0033] Fig.2 illustrates a block diagram of a level detector.
[0034] Fig.3 illustrates the output of the level detector of EP1491068 when an artificial signal is applied.
[0035] Fig.4 illustrates the output of the level detector of EP1491068 when a speech signal is applied.
[0036] Fig.5 illustrates a time constant function as mentioned in EP1491068.
[0037] Fig.6 represents an embodiment of the present invention.
[0038] Fig.7 illustrates the output of the level detector of the invention when the same artificial signal is applied as in Fig.3.
[0039] Fig.8 illustrates the output of the level detector of the invention when the same speech signal is applied as in Fig.4.
[0040] Fig.9 illustrates an existing level detector improved with the present invention.
[0041] Fig.10 illustrates the output of the level detector of EP1491068, when improved with the present invention, when the same artificial signal as in Fig.3 is applied.
[0042] Fig.11 illustrates the output of the level detector of EP1491068, when improved with the present invention, when the same speech signal as in Fig.4 is applied.
Detailed description of illustrative embodiments
[0043] The present invention will be described with respect to particular embodiments and with reference to certain drawings but the invention is not limited thereto but only by the claims.
[0044] Furthermore, the terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a sequence, either temporally, spatially, in ranking or in any other manner. It is to be understood that the terms so used are interchangeable under appropriate circumstances and that the embodiments of the invention described herein are capable of operation in other sequences than described or illustrated herein.
[0045] It is to be noticed that the term "comprising", used in the claims, should not be interpreted as being restricted to the means listed thereafter; it does not exclude other elements or steps. It is thus to be interpreted as specifying the presence of the stated features, integers, steps or components as referred to, but does not preclude the presence or addition of one or more other features, integers, steps or components, or groups thereof. Thus, the scope of the expression "a device comprising means A and B" should not be limited to devices consisting only of components A and B. It means that with respect to the present invention, the only relevant components of the device are A and B.
[0046] Reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment, but may. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner, as would be apparent to one of ordinary skill in the art from this disclosure, in one or more embodiments.
[0047] Similarly it should be appreciated that in the description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
[0048] Furthermore, while some embodiments described herein include some but not other features included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention, and form different embodiments, as would be understood by those in the art. For example, in the following claims, any of the claimed embodiments can be used in any combination.
[0049] It should be noted that the use of particular terminology when describing certain features or aspects of the invention should not be taken to imply that the terminology is being redefined herein to be restricted to include any specific characteristics of the features or aspects of the invention with which that terminology is associated.
[0050] In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In other instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description. [0051] The present invention discloses a level detection system capable of reacting quickly when sudden changes in the input signal require a quick reaction and smoothly when no dramatic changes in the input level are going on and therefore minimize distortion and artefacts.
[0052] The invention proposes a solution comprising two auxiliary level detectors, i.e. a fast level detector and a slow level detector. The idea behind the invention is that the output of the level detector system always resides within the range defined by the output of the fast and the slow level detector. Hence, measures are taken to keep the resulting output always between the output levels of the fast and slow level detector separately. The two auxiliary level detectors both have a fixed time constant. The fast level detector uses the input signal as input, while the slow level detector uses either the input signal or the output of the fast level detector as input signal.
[0053] A preferred embodiment of the solution according to the invention is shown in Fig.6.
The level detection system according to this invention comprises an auxiliary level detector Lfast with a fast time constant and a second auxiliary level detector Lslow with a slow time constant. In the embodiment of Fig.6 they are both fed with the input sound signal. In the invention weighted level detection is applied wherein the level at the system's output is determined by a weight factor w. The weighted level detector output (i.e. the estimate of the level of the applied input audio signal) is then calculated as a weighted sum of the fast and the slow level detector outputs:
^weighted = wLfast + (1 - w)Lslow With 0 < W < 1
The weighting factor w can be determined in a three-step procedure using its previous value wprev and the two level detectors Lfast and Lslow :
1. The output of Lfast and Lslow is determined and the difference between the two level detectors is calculated: Δ = Lfast - Lslow.
2. The previous weight wprev is compared to a value derived by the function weight(A) and the current weighting factor value is set to w = max (wprev, weight A)). The function weight(A) is for example given by : weight A) = 0.06 * abs(A) with a subsequent limitation of weight A) in the value range of [0,1] . Also non-linear weighting functions can be used.
3. When the outputs of Ls;ow and Lfast cross each other (in other words, Δ changes its sign), w is reset to zero.
The abrupt change of w in step 3 does not result in an abrupt change of the Lweighted output value, because the values of Lfast and Ls;ow are similar when Δ changes its sign.
Fig.7 and Fig.8 show the output of the proposed level detection system for the same test signals as used in Fig.3 and Fig.4. It can be observed in both figures that the curve representing the output level determined according to the invention now falls between the curves corresponding to the fast and slow level detectors, respectively. [0054] As mentioned, the idea behind the invention is that the output of the level detector always resides within the range as defined by the output of the fast and the slow level detector. The weight determines if the level detector output is close to the former or the latter, but the restriction of the weight to the range of [0, 1] guarantees that the output of the level detector always resides within the range defined by the output of the fast and the slow level detector.
[0055] The invention can be applied to improve any existing level detector. For this purpose, an additional operation is applied at the end of the calculation of the level detector. This procedure forces the output of the level detector to be in the range defined by a fast and a slow level detector. The procedure is illustrated in Fig.9 and can be described in three steps :
1. Execute in parallel to the level detector a fast level detector that has a small time constant (for example 2 milliseconds) and a slow level detector having a large time constant (for example 200 milliseconds). The input of these level detectors is the same input signal as the input of the level detector to be improved.
2. If the output of the level detector to be improved is larger than the maximum of the outputs of the fast and the slow level detector, set it to this maximum.
3. If the output of the level detector to be improved is smaller than the minimum of the outputs of the fast and the slow level detector, set it to this minimum.
[0056] Specifically, the invention can be applied to improve the level detector of EP1491068.
In this case, the parallel fast level detector can be taken from the auxiliary level detector of EP1491068 and only one additional slow level detector needs to be executed in parallel. Again these two level detectors define a range of allowed values for the output of the level detector of EP1491068. A preferable choice of time constants for these two level detectors is the minimum and maximum of the time constant function used in EP1491068.
The output of the resulting improved level detector is illustrated in Fig.lO and Fig.11. Although the output of the level detector in Fig.11 seems to be more nervous than in Fig.4, it is closer to the output of the slow level detector. Note also that changes in the output of the level detector are less noticeable because the level changes happen in moments in time in which the input signal is changing. Distortion as a side product of compression is most easily audible if the gain change is applied in a situation of a relatively constant input signal level.
[0057] The level detection system of the present invention can be applied in a hearing loss compensation module as described in patent application PCT/EP2011/70606. That hearing loss compensation module comprises an automatic gain control (AGC), which uses a level detector. The level detector system receives at its input a digitized version of the signal picked up by the microphone and the level detector advantageously comprises the level detection system of the present invention. The AGC and the level detector receive their parameters from a control logic block, which forms the 'heart' of the communication device in patent application PCT/EP2011/70606. The control logic block can also receive the parameters of the level detector from a remote server. [0058] While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive. The foregoing description details certain embodiments of the invention. It will be appreciated, however, that no matter how detailed the foregoing appears in text, the invention may be practiced in many ways. The invention is not limited to the disclosed embodiments.
[0059] Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the indefinite article "a" or "an" does not exclude a plurality. A single processor or other unit may fulfil the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. A computer program may be stored/distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. Any reference signs in the claims should not be construed as limiting the scope.

Claims

Claims
1. Level detection system for estimating the level of an audio input signal to be used in a dynamic range compressor, comprising
- a first auxiliary level detector arranged for receiving an audio input signal and for outputting a first estimate of the level of said audio input signal,
- a second auxiliary level detector arranged for receiving either said audio input signal or said first estimate and arranged for outputting a second estimate of the level of said audio input signal, said second auxiliary level detector having a larger time constant than said first auxiliary level detector,
- computation means for performing a weighing of said first estimate with a weight factor w and said second estimate with a weight factor 1-w, said weight factor w being dependent on said first and said second estimate, said computation means further arranged for summing the weighted estimations to obtain a resulting estimation of the level of said audio input signal.
2. Level detection system as in claim 1, wherein said weight factors are dependent on the difference between said first and said second estimate.
3. Level detection system as in claim 2, adapted to set said weight factor to zero when said difference changes sign.
4. Level detection system as in any of claims 1 to 3, further arranged for determining said weight by performing a weighing function and comparing the value returned from said weighing function with a previous value of said weighting factor.
5. Dynamic range compressor comprising a level detection system as in any of the previous claims.
6. Hearing aid comprising a level detection system as in any of claims 1 to 5.
7. Mobile telephone device comprising a level detection system as in any of claims 1 to 5.
8. Implantable auditory prosthesis comprising a level detection system as in any of claims 1 to 5.
9. Method for estimating the level of an audio input signal, comprising the steps of
- applying said audio input signal to a first auxiliary level detector and obtaining a first estimate of the level of said audio input signal,
- applying either said audio input signal or an output of said first auxiliary level detector to a second auxiliary level detector, said second auxiliary level detector having a larger time constant than said first auxiliary level detector,
- weighing said first estimate with a weight factor w and said second estimate with a weight factor 1- w, said weight factor w being dependent on the difference between said first and said second estimate,
- determining an estimation of the level of an audio input signal by summing the weighted first and second estimates.
10. Method for estimating the level as in claim 10, comprising a step of determining said weight factor w comprises the execution of a pre-stored weighing function.
11. Method for upgrading an existing level detector system, comprising the steps of
- providing a first auxiliary level detector and a second auxiliary level detector in parallel to said existing level detection system,
- attributing a time constant to said first and said second auxiliary level detector, said first auxiliary level detector having a smaller time constant than said second auxiliary level detector,
- applying a same audio input signal to said existing level detector system and said first and said second auxiliary level detector,
- if the output of said existing level detector system exceeds the output of said first and said second auxiliary level detector, setting said output to the maximum of the outputs of said first and said second auxiliary level detector
- if the output of said existing level detector system stays below the output of said first and said second auxiliary level detector, setting said output to the minimum of the outputs of said first and said second auxiliary level detector.
12. Method for upgrading an existing level detector system as in claim 11, wherein said first auxiliary level detector is attributed a time constant corresponding to the minimum time constant of said existing level detector system and said second auxiliary level detector a time constant corresponding to the maximum time constant of said existing level detector system.
13. A program, executable on a programmable device containing instructions, which when executed, perform the method as in any of the claims 9 to 12.
PCT/EP2012/059492 2011-11-21 2012-05-22 System and method for signal level detection WO2013075848A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DK12723645.3T DK2783523T3 (en) 2011-11-21 2012-05-22 SIGNAL LEVEL REGISTRATION SYSTEM AND PROCEDURE
EP12723645.3A EP2783523B1 (en) 2011-11-21 2012-05-22 System and method for signal level detection

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
PCT/EP2011/070606 WO2012066149A1 (en) 2010-11-19 2011-11-21 Personal communication device with hearing support and method for providing the same
EPPCT/EP2011/070606 2011-11-21

Publications (1)

Publication Number Publication Date
WO2013075848A1 true WO2013075848A1 (en) 2013-05-30

Family

ID=46168438

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2012/059492 WO2013075848A1 (en) 2011-11-21 2012-05-22 System and method for signal level detection

Country Status (1)

Country Link
WO (1) WO2013075848A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104918181A (en) * 2014-03-14 2015-09-16 雅马哈株式会社 Level adjustment device and method
CN110381421A (en) * 2014-02-18 2019-10-25 杜比国际公司 Device and method for being tuned to frequency-dependent attenuation grade
CN111479204A (en) * 2020-04-14 2020-07-31 上海力声特医学科技有限公司 Gain adjustment method suitable for cochlear implant

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1491068A1 (en) 2002-03-26 2004-12-29 Oticon A/S Method for dynamic determination of time constants, method for level detection, method for compressing an electric audio signal and hearing aid, wherein the method for compression is used
EP2262280A2 (en) * 2003-03-31 2010-12-15 Emma Mixed Signal C.V. Method and system for acoustic shock protection

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1491068A1 (en) 2002-03-26 2004-12-29 Oticon A/S Method for dynamic determination of time constants, method for level detection, method for compressing an electric audio signal and hearing aid, wherein the method for compression is used
EP2262280A2 (en) * 2003-03-31 2010-12-15 Emma Mixed Signal C.V. Method and system for acoustic shock protection

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381421A (en) * 2014-02-18 2019-10-25 杜比国际公司 Device and method for being tuned to frequency-dependent attenuation grade
CN104918181A (en) * 2014-03-14 2015-09-16 雅马哈株式会社 Level adjustment device and method
EP2928076A1 (en) * 2014-03-14 2015-10-07 Yamaha Corporation Level adjustment device and method
US9571055B2 (en) 2014-03-14 2017-02-14 Yamaha Corporation Level adjustment device and method
CN104918181B (en) * 2014-03-14 2019-12-13 雅马哈株式会社 Level adjustment apparatus and method
CN111479204A (en) * 2020-04-14 2020-07-31 上海力声特医学科技有限公司 Gain adjustment method suitable for cochlear implant
CN111479204B (en) * 2020-04-14 2021-09-03 上海力声特医学科技有限公司 Gain adjustment method suitable for cochlear implant

Similar Documents

Publication Publication Date Title
EP2494792B1 (en) Speech enhancement method and system
EP3122072B1 (en) Audio processing device, system, use and method
JP5205510B2 (en) Hearing aid sound processing method and hearing aid
US8369549B2 (en) Hearing aid system adapted to selectively amplify audio signals
US20160165361A1 (en) Apparatus and method for digital signal processing with microphones
CN108235181B (en) Method for noise reduction in an audio processing apparatus
CN106507258B (en) Hearing device and operation method thereof
US9319805B2 (en) Noise reduction in auditory prostheses
JP2002536930A (en) Adaptive dynamic range optimizing sound processor
EP2560410B1 (en) Control of output modulation in a hearing instrument
EP3253074A1 (en) A hearing device comprising a filterbank and an onset detector
CN104796836A (en) Binaural source enhancement
WO2013075848A1 (en) System and method for signal level detection
US9124988B2 (en) Hearing aid with adaptive noise reduction and method
EP2783523B1 (en) System and method for signal level detection

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2012723645

Country of ref document: EP