1 / 27

EE599-020 Audio Signals and Systems

EE599-020 Audio Signals and Systems. Effects Kevin D. Donohue Electrical and Computer Engineering University of Kentucky. Related Web Sites.

frisco
Download Presentation

EE599-020 Audio Signals and Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EE599-020Audio Signals and Systems Effects Kevin D. DonohueElectrical and Computer EngineeringUniversity of Kentucky

  2. Related Web Sites Audio effects are popular among musicians and recording engineers. They typically involve linear and non-linear distortions to produce an artistic or aural impression. Related website are: http://users.iafrica.com/k/ku/kurient/dsp/effects.html http://www.dsv.su.se/~fk/DSP/dsp.html http://www.harmony-central.com/Effects/

  3. Amplitude/Envelope Effects Expanders and Compressors process the amplitude of the signal in a nonlinear (usually logarithmic) manner to modify dynamic ranges, suppress low-level noise, compand, and create effects.

  4. Expanders/Noise Gates The input/output relationship of a zero-memory expander can be expressed with the following equation: where x(n) is the input, y(n) is the expanded output, xe is the threshold below which logarithmic scaling is applied, and  is rate of attenuation (log slope) of the values below the expander threshold. The rate  should range from 1 to infinity (10 is close enough).

  5. Example Consider an speech file corrupted with low-level hiss (white noise). If the expander gate is set logarithmically to attenuate the signal by some factor (3:1) for all signal under a value that is mostly greater than the noise amplitudes, then the hiss (especially in the areas of silenced will be suppressed).

  6. Dynamic Expanders For the zero-memory expander the threshold is fixed, independent of signal amplitude. In most applications the attack and decay time of the threshold can set so the attenuation effectively delays its application when the signal falls below the threshold and its release when the signal goes above the threshold. x(t) Gain y(t) Level/Envelop Detector Memory/Filter Attack/Decay Response

  7. Example Consider an single tone whose amplitude jumps abruptly (below and above the expansion threshold. Apply LPF to the envelope used in threshold determination and describe effects on the output to various levels of LPF on the envelope. (threshold = .2, ratio 10:1, real pole on 1st order LPF = 0 and .995

  8. Compressor/Limiting The input/output relationship of a zero-memory compressor can be expressed with the following equation: where x(n) is the input, y(n) is the expanded output, xe is the threshold below which logarithmic scaling is applied, and  is rate of attenuation (log slope) of the values below the expander threshold. The rate  should range from 1 to 0 (.1 is close enough).

  9. Example Consider an very loud and very soft sound being played simultaneously. Apply zero memory compression to reduce the dynamic range of the signal so both sounds can be hear more distinctly.

  10. Dynamic Compressors For the zero-memory compressor the threshold is fixed, independent of signal amplitude. In most applications the attack and decay time of the threshold can set so the attenuation effectively delays its application when the signal falls below the threshold and its release when the signal goes above the threshold. x(t) Gain y(t) Level/Envelop Detector Memory/Filter Attack/Decay Response

  11. Noise Reduction The nonlinear processing presented in compression and expansion has been adapted for specialized noise reduction techniques. Especially if noise is due to quantization or dynamic range limitations of the recording/transmission media. See … • http://hyperphysics.phy-astr.gsu.edu/hbase/audio/tape4.html • http://www.dolby.com/cassette/bcsnr/common.html • http://www.epanorama.net/documents/telecom/ulaw_alaw.html

  12. 11 10 01 00 Analog Discrete Digital Quantization Error and Noise • Quantization has the same effects as adding noise to the signal: • Intervals between quantization levels are proportional to the resulting quantization noise. • For uniform quantization, the interval between signal levels is the maximum signal amplitude value divided by the number of quantization intervals.

  13. Quantization Levels and Dynamic Range • An N bit word can represent 2N levels • For audio signal an N bit word corresponds to:Nx20xLog10(2) dB dynamic range • 16 bits achieve a dynamic range of about 96 dB. For every bit added, about 6 db is added to the dynamic range. • The human ear can detect sounds from 1x10-12 to 10 watts / meter2 (130 dB dynamic range)

  14. Noise Reduction • If signals need to be recorded or transmitted on media that reduce dynamic range or adds noise, compression and expansion before storage and after playback can be use to enhance signal-to-noise and dynamic range. • DolbyTM, dbxTM, and mu-law companding noise reduction systems are examples of amplitude only encoders. • Signals can be compressed to fit the dynamic range of the media and expanded on playback. • If noise is added to the signal in a compressed state, expansion on playback will suppress the noise while restoring the signal. • If a compressed signal is quantized, the lower level amplitudes will effectively be quantized with a smaller interval than the larger amplitudes, thereby redistributing the quantization noise to louder signal amplitudes where it is less likely to be perceived.

  15. Quantization Noise • Original CD clip quantized with 6 bits at original sampling frequency

  16. Phase/Frequency Effects Several effects modify the signal phases to produce simulated reverb, delay, flanging, chorusing, and phasing.

  17. Delay/Echo A simple FIR filter can be used to implement a single echo effect. y(n) + Z-M x(n) b

  18. Delay/Echo with Regeneration An IIR filter can be used to implement regeneration with an echo effect. a y(n) x(n) + + Z-M b

  19. Examples Determine the frequency response for the delay with and without regeneration. Describe how the delay effect will sound with and without regeneration. Describe how you could characterize a delay system? What test signals would be useful, what analysis would be used, what parameters could you determine?

  20. Reverb A more complex series of regenerated echoes can be use to model a reverb effect Late Reflections (diffuse) IIR all-pass filters Early reflections (Specular) FIR comb filters

  21. Flanging Combining a signal with a dynamic delay of itself creates a “whooshing” effects referred to as flanging. a y(n) x(n) + + Z-M(n) b

  22. Time-varying system For M(n) following a sinusoidal pattern, flanging with no feedback can be expressed as: where M is the mean delay, d is the dynamic delay (sweep depth) expressed in samples, and fm is the modulation frequency of the dynamic delay. Typical flanging parameters for fm range from .2 to 2 Hz and delays ranges from .5 to 10 ms.

  23. Examples Determine the frequency response for the flanger for fixed delay with and without feedback. Discuss what happens to the response when the delay varies. Describe how you could characterize a flanging system? What test signals would be useful, what analysis would be used, what parameters could you determine?

  24. Chorusing Chorusing creates the effect of multiple voices through multiple dynamic frequency shifts and time delays. This can be implemented with multiple flanging paths where bi is the scaling on each choruser Mi+di is the maximum delay expressed in samples, and fi is the modulation frequency of the sweep depth. Typical delay times for this effect are from 20 to 30 ms with dynamic delays on the order of 1 to 10ms.

  25. Frequency Response Modification • Most filtering effects give empahsis/deemphasis to a particular frequency region (equalization, shelving, parametric filtering, band-pass, stop-band, high-pass, low-pass ..) • Dynamic filters can also be used to create effects based on how the filter is varied while the sound is being played. This includes effects such as Wah-Wah and Vocoding.

  26. Wah-Wah • The Wah-Wah effect is created by dynamic shifting the center frequency of a bandpass filter processing the audio signal. The user typically controls this with a pedal or sets the tempo for automatic variations. More complex features include different shaped filter, such as those based on the voice spectrum (sometime referred to as vocoding)

  27. Charcterizing Wah-Wah • Describe how to determine the parameters of a Wah-Wah processor (test signals, processor settings, analyses …).

More Related