The above, as well as additional objects, features and advantages of the present invention, will be better understood through the following illustrative and non-limiting detailed description of preferred embodiments of the present invention, with reference to the appended drawing, wherein:
In the following description of the various embodiments, reference is made to the accompanying figures, which show by way of illustration how the invention may be practiced. It is to be understood that other embodiments may be utilized and structural and functional modifications may be made without departing from the scope of the present invention.
A large part of the sound system 100 may in fact be implemented as integrated elements so that the sound system 100 comprises the microphone unit 102, the speaker unit 120 and a digital signal processor 124.
The sound processor 110 as shown in
Threshold_value=m+α·σ (Formula 1),
where “m” is the mean magnitude of the frame, “α” is a multiplication factor and “σ” is standard deviation of the frame. The calculation of the threshold value may further be adjusted by a bias. The multiplication factor “α” may have any real number; however the presently preferred number is 2, since this provides for most of the energy of the frame if the frame contain vocal information.
The transformed frame is forwarded from the FFT unit 204 to a peak identification unit 208 adapted to identify peaks in the transformed frame and to generate a peak signal for each peak identified in the transformed frame. The peak signal provides information of magnitude and frequency of the peak. The peak identification unit 208 may be configured to identify any number of peaks such as in the range one to ten, for example identifying the three largest peaks in each transformed frame. The peak identification unit 208 may comprise a counter for counting number of peaks and may be adapted to generate a flag signal when the number of peaks identified equals a pre-selected number.
The threshold calculation unit 206 generates a threshold signal for each frame and forwards the threshold signal to a comparator unit 210, which compares the threshold signal to the peak signals received from the peak identification unit 208.
The calculation of the mean magnitude of the frequency spectrum in a frame may advantageously be established by a squared addition of the real and imaginary parts of the digital signals. Further, the calculation of the mean magnitude of the digital signals may advantageously be established by a vector magnitude computation such as suggested by Richard G. Lyons in “Understanding Digital Signal Processing” 2nd edition (the αMax+βMin method). It should be understood that any calculation or estimation know to a person skilled in the art may be employed.
The comparator unit 210 generates a filter control signal in case the peak signal is greater than the threshold value, which filter control signal is forwarded to a filter/amplifier unit 212. The filter/amplifier unit 212 comprises a programmable notch-filter 214 and an amplifier 216, and is adapted to receive the digital sound signal and filter the digital sound signal according to the filter control signal by means of the programmable notch-filter 214, and to amplify the potentially filtered digital sound signal according to a predetermined transfer function by means of the amplifier 216. In this context the term “amplify” is to be construed as increasing or decreasing any particular frequency regions.
The filter/amplifier unit 212 may be implemented as an active filter such as an infinite impulse response (IIR) filter.
The programmable notch-filter 214 may comprise a leaky integrator adapted to provide a gradual engagement of the notch-filter 214 so as to avoid artefacts caused by the notch-filter's 214 sharp edges to be generated. For example, the leaky integrator may be operable so that the effect of the notch-filter is engaged and disengaged slowly. The leaky integrator may be implemented by any means know to a person skilled in the art.
In case the peak identification unit 208 identifies a maximum number of peaks within a frame the comparator 210 generates an alert signal, which causes the filter/amplifier unit 212 to reduce gain of the amplifier 216. The effect of the reduction of the gain is monitored on the following frames. That is, if the peak identification unit 208 fails to identify new peaks in the next frames then the gain is gradually increased.
Number | Date | Country | |
---|---|---|---|
60846097 | Sep 2006 | US |