GB2310983A - Digital audio processing - Google Patents
Digital audio processing Download PDFInfo
- Publication number
- GB2310983A GB2310983A GB9609774A GB9609774A GB2310983A GB 2310983 A GB2310983 A GB 2310983A GB 9609774 A GB9609774 A GB 9609774A GB 9609774 A GB9609774 A GB 9609774A GB 2310983 A GB2310983 A GB 2310983A
- Authority
- GB
- United Kingdom
- Prior art keywords
- digital audio
- magnitude
- detected
- gain
- predetermined slope
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03G—CONTROL OF AMPLIFICATION
- H03G7/00—Volume compression or expansion in amplifiers
- H03G7/007—Volume compression or expansion in amplifiers of digital or coded signals
Landscapes
- Tone Control, Compression And Expansion, Limiting Amplitude (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
DIGITAL AUDIO PROCESSING
This invention relates to the processing of digital audio signals.
In many modern audio signal processing devices, such as audio mixing consoles, audio processing operations which had previously been carried out in the analogue domain are now performed on sampled digital audio signals.
An example of this is the "dynamics" section of a digital audio mixing console.
Dynamics processing refers to a family of processing techniques generally having a non-linear effect on the audio signal (compared with the substantially linear techniques of simple gain adjustment and additive mixing). In general, effects classified as "dynamics" tend to have a distorting effect on the sound represented by the audio signal, albeit often a pleasing or useful distortion. For example, the gain applied to an audio signal might be non-linearly adjusted (or "compressed") so that the audio signal has a more constant level - alleviating the level variations which might result as a performer moves towards and away from a microphone.
Figure 1 of the accompanying drawings schematically illustrates such a processor in which an input digital audio signal (for example, a digital audio signal sampled at a 48kHz sampling rate to 16 bit resolution) is supplied in parallel to a multiplier 10 and to a processing chain 20.
The processing chain 20 comprises a peak (or envelope) detector 30, a logarithmic (linear to decibel) converter 40, a dynamics processing element 50, a control circuit 60, and a logarithmic (decibel to linear) converter 70.
The output of the logarithmic converter 70 is supplied as a second multiplicand to the multiplier 10, to be multiplied by sample values of the input digital audio signal. In this way, the output of the processing chain 20 provides a gain control for the input digital audio signal.
The dynamics processing element 50 operates in the logarithmic domain, i.e.
it receives envelope values and generates gain control values in decibels rather than as linear measures. This is so that the time constants, control values and other constants used by the dynamics processing element relate to a decibel law directly, which in turn makes the implementation of the dynamics processing element more simple and intuitive.
The dynamics processor of Figure 1 may be arranged to provide various different dynamics processing functions, depending on the way in which the dynamics processing element 50 generates an output gain control value in response to the detected envelope of the input digital audio signal. For the present explanation, consider the simple example whereby the dynamics processing element is arranged as a threshold compressor to provide an output of "0 decibels" (no compression) when the detected input envelope is under, say, -20dB and to provide an output indicative of, say, a 4:1 compression for higher detected input envelopes. (In general, the threshold level and the amount of applied compression will be selectable by the user under the control of the control circuit 60). This example compression response is illustrated schematically in Figure 2 of the accompanying drawings.
The gain control value output by the dynamics processing element 50 is then converted to a linear control value by the logarithmic converter 70 and supplied as a multiplicand to the multiplier 10.
This invention provides digital audio processing apparatus comprising:
means for detecting the magnitude of an input digital audio signal; and
a variable gain element for applying a gain to the input digital audio signal dependent on the detected magnitude of the input digital audio signal, in which:
(i) the applied gain is linearly related to the envelope signal with a first predetermined slope, for detected magnitudes below a first threshold magnitude;
(ii) the applied gain is linearly related to the envelope signal with a second predetermined slope, for detected magnitudes above a second threshold magnitude higher than the first threshold magnitude; and
(iii) for detected magnitudes from the first threshold magnitude to the second threshold magnitude, the slope of the applied gain with respect to detected magnitude varies monotonically from the first predetermined slope to the second predetermined slope.
The invention recognises that the gain slope discontinuity (or "knee") at the onset of compression in the previously proposed compression processor described above can lead to subjectively disturbing audible distortion of the compressed signal.
The invention addresses this problem by providing a digital compression processor with a "soft knee" - that is, a range of levels over which the slope of the applied gain with respect to detected envelope magnitude monotonically increases (or decreases) from the first to the second slope values. This reduces the rate of change of gain slope with level (which is very high in a previously proposed system having an abrupt change of gain as shown in Figure 2), which in turn reduces the audible distortion which the compressor applies to the digital audio signal.
Embodiments of the invention will now be described by way of example only with reference to the accompanying drawings in which:
Figure 1 is a schematic diagram of a dynamics processor;
Figure 2 is a schematic graph of a simple compression response of the processor of Figure 1;
Figure 3 is a schematic graph of a compression response provided by embodiments of the invention; and
Figure 4 is a schematic diagram of the circuitry of a dynamics processing element for generating the response of Figure 3.
The so-called "soft knee" processing is carried out by a calculation performed by the dynamics processing element 50 of Figure 1, in response to control parameters supplied by the control circuit 60.
In the following discussion, the level threshold above which the input digital signal is to be compressed is Lah,; the input level is L,; the excess level is Lex; and a "soft knee" region is eS. The quantity (Li, LrX,r) is referred to as x.
Considering the relationship between Lex and x, which in a previously proposed compression processor (having a gain discontinuity at the onset of compression) obeys the relationship:
if x < 0 then LeX = 0
if x > =0 then Lex = x
In the present embodiment, this relationship is changed to introduce a new function
F(x) when x is within the "soft knee" amount eS of zero. Thus,
if x < -eS then Lex = 0
if -eS < = x < eS then Lex = F(x)
if x > = eS then Lex = x
The function F(x) is selected so that the value of F(x) and the first derivative of F(x) (i.e. F(x)) are continuous with the linear sections at values of x less than -eS and at values of x greater than or equal to eS. Thus, the following conditions are applied: F(-es) =
F'(-es) = O 0 F(es) = F(ts) = 1 A large family of functions fit these conditions, but for convenience of implementation (i.e. calculation be the dynamics element 50), a low order (quadratic) polynomial is used:
if x < -eS then Lex = 0
if -eS < = x < eS then Lex = x /4eS + x/2 + ed4 if x > = -eS then Lex = x
This relationship is illustrated schematically in the graph of Figure 3, for two values of eS, 5dB (the upper curve) and 15dB (the lower curve).
Figure 4 is a schematic diagram of the circuitry of a dynamics processing element for generating this compression response.
The circuit of Figure 4 receives an envelope value from the logarithmic converter 40, a threshold value (in fact a negative value), a "soft knee" value (yes) and a ratio control value, all from the control circuit 60.
The threshold value is added to the envelope (in effect, subtracting the threshold from the envelope value) and the resulting value is passed, with the scaled soft knee value eS to a calculation circuit which performs the calculations described above.
The resulting quadratic expression from the calculating circuit is passed to a multiplier 110 where it is multiplied by the ratio control value to scale the response to the desired degree of compression (e.g. the ratio control value would be 0.25 for the 4:1 asymptotic compression shown in Figure 3).
At the output of the calculating circuit are two multiplexers, 120, 130. If the value (envelope - threshold) is less than -eS, then the multiplexer 120 passes a value of zero instead of the quadratic expression. If the value (envelope - threshold) is greater than +yes, then the multiplexer 130 passes the (envelope - threshold) value.
Claims (4)
1. Digital audio processing apparatus comprising:
means for detecting the magnitude of an input digital audio signal; and
a variable gain element for applying a gain to the input digital audio signal dependent on the detected magnitude of the input digital audio signal, in which:
(i) the applied gain is linearly related to the envelope signal with a first predetermined slope, for detected magnitudes below a first threshold magnitude;
(ii) the applied gain is linearly related to the envelope signal with a second predetermined slope, for detected magnitudes above a second threshold magnitude higher than the first threshold magnitude; and
(iii) for detected magnitudes from the first threshold magnitude to the second threshold magnitude, the slope of the applied gain with respect to detected magnitude varies monotonically from the first predetermined slope to the second predetermined slope.
2. Apparatus according to claim 1, in which, for detected magnitudes from the first threshold magnitude to the second threshold magnitude, the slope of the applied gain with respect to detected magnitude varies linearly with respect to detected magnitude from the first predetermined slope to the second predetermined slope.
3. Apparatus according to claim 1 or claim 2, in which the second predetermined slope represents a higher degree of compression than the first predetermined slope.
4. Digital audio processing apparatus substantially as hereinbefore described with reference to the accompanying drawings.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9025327A JPH09258781A (en) | 1996-03-08 | 1997-02-07 | Digital voice processor |
US08/801,355 US5923767A (en) | 1996-03-08 | 1997-02-19 | Digital audio processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GBGB9605004.2A GB9605004D0 (en) | 1996-03-08 | 1996-03-08 | Dynamics processor |
Publications (3)
Publication Number | Publication Date |
---|---|
GB9609774D0 GB9609774D0 (en) | 1996-07-17 |
GB2310983A true GB2310983A (en) | 1997-09-10 |
GB2310983B GB2310983B (en) | 2000-11-01 |
Family
ID=10790117
Family Applications (4)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GBGB9605004.2A Pending GB9605004D0 (en) | 1996-03-08 | 1996-03-08 | Dynamics processor |
GB9609783A Expired - Fee Related GB2310985B (en) | 1996-03-08 | 1996-05-10 | Digital audio processing |
GB9609782A Expired - Fee Related GB2310984B (en) | 1996-03-08 | 1996-05-10 | Digital audio processing |
GB9609774A Expired - Fee Related GB2310983B (en) | 1996-03-08 | 1996-05-10 | Digital audio processing |
Family Applications Before (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GBGB9605004.2A Pending GB9605004D0 (en) | 1996-03-08 | 1996-03-08 | Dynamics processor |
GB9609783A Expired - Fee Related GB2310985B (en) | 1996-03-08 | 1996-05-10 | Digital audio processing |
GB9609782A Expired - Fee Related GB2310984B (en) | 1996-03-08 | 1996-05-10 | Digital audio processing |
Country Status (1)
Country | Link |
---|---|
GB (4) | GB9605004D0 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2342023A (en) * | 1998-09-23 | 2000-03-29 | Sony Uk Ltd | Audio signal processing |
WO2000018184A2 (en) * | 1998-09-22 | 2000-03-30 | Goldstein Julius L | Hearing aids based on models of cochlear compression |
GB2354139A (en) * | 1999-09-07 | 2001-03-14 | Sony Uk Ltd | Signal processor |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2359970A (en) * | 2000-02-29 | 2001-09-05 | Sony Uk Ltd | Digital signal processing |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2147165A (en) * | 1983-09-21 | 1985-05-01 | British Broadcasting Corp | Dynamic range control |
US4562591A (en) * | 1983-02-08 | 1985-12-31 | U.S. Philips Corporation | Digital dynamic range converter |
US4730165A (en) * | 1984-09-12 | 1988-03-08 | Matsushita Electric Industrial Co., Ltd. | Non-linear signal processing apparatus |
US5396562A (en) * | 1991-09-10 | 1995-03-07 | Pioneer Electronic Corporation | Signal processing circuit for audio apparatus |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2179810B (en) * | 1983-09-21 | 1987-10-21 | British Broadcasting Corp | Dynamic range control of a signal |
GB2267193B (en) * | 1992-05-21 | 1995-09-27 | Sony Broadcast & Communication | Multi-tap oversampling filter |
-
1996
- 1996-03-08 GB GBGB9605004.2A patent/GB9605004D0/en active Pending
- 1996-05-10 GB GB9609783A patent/GB2310985B/en not_active Expired - Fee Related
- 1996-05-10 GB GB9609782A patent/GB2310984B/en not_active Expired - Fee Related
- 1996-05-10 GB GB9609774A patent/GB2310983B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4562591A (en) * | 1983-02-08 | 1985-12-31 | U.S. Philips Corporation | Digital dynamic range converter |
GB2147165A (en) * | 1983-09-21 | 1985-05-01 | British Broadcasting Corp | Dynamic range control |
US4730165A (en) * | 1984-09-12 | 1988-03-08 | Matsushita Electric Industrial Co., Ltd. | Non-linear signal processing apparatus |
US5396562A (en) * | 1991-09-10 | 1995-03-07 | Pioneer Electronic Corporation | Signal processing circuit for audio apparatus |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2000018184A2 (en) * | 1998-09-22 | 2000-03-30 | Goldstein Julius L | Hearing aids based on models of cochlear compression |
WO2000018184A3 (en) * | 1998-09-22 | 2000-09-21 | Julius L Goldstein | Hearing aids based on models of cochlear compression |
US6868163B1 (en) | 1998-09-22 | 2005-03-15 | Becs Technology, Inc. | Hearing aids based on models of cochlear compression |
US6970570B2 (en) | 1998-09-22 | 2005-11-29 | Hearing Emulations, Llc | Hearing aids based on models of cochlear compression using adaptive compression thresholds |
GB2342023A (en) * | 1998-09-23 | 2000-03-29 | Sony Uk Ltd | Audio signal processing |
GB2342023B (en) * | 1998-09-23 | 2003-01-15 | Sony Uk Ltd | Audio processing |
GB2354139A (en) * | 1999-09-07 | 2001-03-14 | Sony Uk Ltd | Signal processor |
GB2354139B (en) * | 1999-09-07 | 2004-01-28 | Sony Uk Ltd | Signal processor |
Also Published As
Publication number | Publication date |
---|---|
GB9605004D0 (en) | 1996-05-08 |
GB2310985A (en) | 1997-09-10 |
GB9609782D0 (en) | 1996-07-17 |
GB2310984B (en) | 2000-08-02 |
GB9609774D0 (en) | 1996-07-17 |
GB2310984A (en) | 1997-09-10 |
GB9609783D0 (en) | 1996-07-17 |
GB2310983B (en) | 2000-11-01 |
GB2310985B (en) | 2000-08-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20040022400A1 (en) | Bass compressor | |
US6201490B1 (en) | DA conversion apparatus to reduce transient noise upon switching of analog signals | |
US5677962A (en) | Hybrid analog and digital amplifier with a delayed step change in the digital gain | |
US5923767A (en) | Digital audio processing | |
US6353404B1 (en) | D/A conversion apparatus and D/A conversion method | |
US8130126B2 (en) | Analog to digital conversion system | |
US8488811B2 (en) | Audio-peak limiting in slow and fast stages | |
AU561777B2 (en) | Digital compander | |
CN101388652A (en) | Feedback limiter with adaptive control of time constants | |
US20050175198A1 (en) | 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 | |
GB2455742A (en) | A dynamic range controller with an adaptively controlled attack rate | |
CN101183859A (en) | Audio compressor | |
US20050123152A1 (en) | Signal processors and associated methods | |
US7110557B2 (en) | Level adjustment circuit | |
EP1580884A1 (en) | Dynamic equalizing | |
EP1472786A2 (en) | A method for decreasing the dynamic range of a signal and electronic circuit | |
GB2179810A (en) | Dynamic range control of a signal | |
WO2002080358A3 (en) | Digital audio processor | |
US6362764B1 (en) | Digital to analog conversion apparatus and method with cross-fading between new and old data | |
US5923768A (en) | Digital audio processing | |
GB2310983A (en) | Digital audio processing | |
GB2147165A (en) | Dynamic range control | |
JPH04365210A (en) | On-vehicle sound reproducing device | |
JPH06164277A (en) | Signal processor | |
WO2000030403A3 (en) | Dynamic bass control circuit with variable cut-off frequency |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PCNP | Patent ceased through non-payment of renewal fee |
Effective date: 20120510 |