Acoustics II: time reversal signal restoration clicks audio - - PowerPoint PPT Presentation

acoustics ii
SMART_READER_LITE
LIVE PREVIEW

Acoustics II: time reversal signal restoration clicks audio - - PowerPoint PPT Presentation

Audio signal processing effects equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling Acoustics II: time reversal signal restoration clicks audio signal processing tape speed variations


slide-1
SLIDE 1

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

Acoustics II: audio signal processing

Kurt Heutschi 2013-01-18

slide-2
SLIDE 2

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

effects

slide-3
SLIDE 3

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

effects: introduction

◮ effects: alteration of the original sound such as:

◮ adjustment of the frequency response ◮ reduction of the audibility of unwanted signal

components

◮ .... ◮ creation of new sounds

slide-4
SLIDE 4

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

equalizer

slide-5
SLIDE 5

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

equalizer: function

◮ function:

◮ manipulation of the amplitude response of a sound

  • r a transmission system

◮ applications:

◮ flatten a non-ideal frequency response of a

loudspeaker

◮ loudness filtering ◮ attenuation of the low frequency end in PA

systems for speech

◮ equalization of headphones ◮ ....

slide-6
SLIDE 6

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

equalizer: realizations

◮ parametric equalizer:

◮ several bandpass/notch filters with variable ◮ center frequency ◮ bandwidth ◮ amplification/attenuation ◮ universal applicability, however not that intuitive

to reproduce a predefined amplitude response

slide-7
SLIDE 7

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

equalizer: realizations

◮ graphical equalizer:

◮ series of adjacent bandpass filters of constant

relative bandwidth

◮ third-octave filters (typ. 30 bands) ◮ octave filters (typ. 10 bands) ◮ adjustable amplification/attenuation in each band

(typ. +/- 15 dB)

◮ setting with linear controllers → graphical

representation of the amplitude response

slide-8
SLIDE 8

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

compressor/limiter

slide-9
SLIDE 9

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

compressor/limiter: function

◮ function:

◮ reduction of the signal dynamics

◮ applications for compressors:

◮ increase of loudness with given maximal signal

amplitude

◮ music production ◮ commercials ◮ radio stations (listeners are often in noisy

environment)

◮ applications for limiters:

◮ avoid clipping in digital recordings

slide-10
SLIDE 10

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

compressor/limiter: principle of operation

◮ VCA: Voltage Controlled Amplifier ◮ steering voltage: smoothed input signal ◮ amplification is lowered above an adjustable

threshold

slide-11
SLIDE 11

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

compressor/limiter: characteristics

◮ example (threshold = 0 dB) ◮ input level → amplification

slide-12
SLIDE 12

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

compressor/limiter: characteristics

◮ example (threshold = 0 dB) ◮ input level → output level

slide-13
SLIDE 13

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

compressor/limiter: time constants

◮ VCA is steered by the level of the audio signal ◮ determination of the level needs an average process ◮ choice of the time constant is critical ◮ implementation of two constants: positive for signal

increase and negative for signal decrease

◮ positive slope time constant too small →

distortion of start transients of musical instruments

◮ negative slope time constant too small →

pumping: modulation of the signal by dominant components

◮ positive/negative slope time constant too large →

signal dynamics is not properly reduced due to delayed reaction

◮ typical values:

◮ positive slope: order of milliseconds ◮ negative slope: 10 to 3000 milliseconds

slide-14
SLIDE 14

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

compressor/limiter: example

◮ original sample

◮ → original

◮ compression starting 25 dB below full-scale →

  • approx. 10 dB higher signal power at identical peak

value

◮ → with compression

slide-15
SLIDE 15

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

compressor/limiter: finalizer

◮ loudness war

◮ producers push perceived loudness to maximum ◮ increasing concern regarding audio quality ◮ loss in dynamic range ◮ unofficial dynamic range data base:

http://www.dr.loudness-war.info/

slide-16
SLIDE 16

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

compressor/limiter: finalizer: loudness war

→ Metallica: Death Magnetic: My Acopalypse, 2008

slide-17
SLIDE 17

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

noise gates

slide-18
SLIDE 18

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

noise gates: function

◮ function:

◮ attenuation of low level signals

◮ applications:

◮ suppression of noise during pauses of the signal

slide-19
SLIDE 19

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

noise gates

◮ parameters: level and step

slide-20
SLIDE 20

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

flanger

slide-21
SLIDE 21

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

flanger: principle

◮ summation of signal and a delayed copy ◮ slow variation (0.1 Hz) of the delay (couple of

milliseconds)

slide-22
SLIDE 22

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

flanger: comb filter

◮ → comb filter for delay τ:

◮ maxima: f = 0, 1

τ , 2 τ , 3 τ

◮ minima: f =

1 2τ , 3 2τ , 5 2τ

slide-23
SLIDE 23

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

flanger: comb filter

◮ time dependency of the delay variation function

◮ e.g. sinusoidal → uneven variation of the

maxima/minima frequencies

◮ in general → non-sinusoidal time function

slide-24
SLIDE 24

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

flanger: comb filter

◮ example of a non-sinusoidal time function of the

delay:

slide-25
SLIDE 25

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

flanger: example

◮ original sample

◮ → original

◮ Flanger minDelay: 0.5ms, maxDelay: 5ms, variation:

sinusoidal with 0.1Hz

◮ → with Flanger

spectrogram:

slide-26
SLIDE 26

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

chorus

slide-27
SLIDE 27

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

chorus: principle

◮ parallel arrangement of independent flangers ◮ delay times in the order of 10. . .25 ms ◮ listening impression of multiplication of an

instrument or voice

slide-28
SLIDE 28

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

chorus: example

◮ original sample

◮ → original voice

◮ Chorus

◮ → with Chorus

slide-29
SLIDE 29

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

phaser

slide-30
SLIDE 30

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

phaser: principle

◮ summation of the signal and a phase shifted copy ◮ slow variation of the phase shift ◮ spectral - non-harmonic - amplifications and

attenuations

slide-31
SLIDE 31

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

leslie

slide-32
SLIDE 32

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

leslie: principle

◮ loudspeaker cabinet with rotating chassis ◮ effects:

◮ Doppler effect → frequency shifting ◮ chassis directivity → amplitude modulation ◮ room reflections → varying directional impression

slide-33
SLIDE 33

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

leslie: example of realization

slide-34
SLIDE 34

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

leslie: sound examples

◮ Hammond organ with Leslie

◮ → sequence I + ◮ → sequence II ◮ → John Lee Hooker: I Cover the Waterfront

slide-35
SLIDE 35

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

pitch-shift - time scaling

slide-36
SLIDE 36

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

pitch-shift - time scaling: principle

◮ aim:

◮ pitch variation without scaling of the time axis ◮ time axis scaling without pitch variation

◮ principle:

◮ audio signal is written in buffer ◮ up-shifting: ◮ clock of writing data < clock of reading data ◮ samples have to synthesized → ”

identification of loops”

◮ down-shifting: ◮ clock of writing data > clock of reading data ◮ ”

removal of samples”

slide-37
SLIDE 37

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

pitch-shift - time scaling: sound examples

◮ original sample

◮ → original

◮ 20 % faster

◮ → 80 % of original length

◮ original sample

◮ → Original

◮ half as fast

◮ → doubling of length

◮ twice as fast

◮ → length halved

slide-38
SLIDE 38

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

time reversal

slide-39
SLIDE 39

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

time reversal: audio samples

◮ speech:

◮ → original ◮ → inverted time axis

◮ music:

◮ → original ◮ → inverted time axis

slide-40
SLIDE 40

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals

slide-41
SLIDE 41

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals

◮ usually applied during transfer of old sound storage

media to digital formats

◮ vinyl discs → CD ◮ compact cassettes → CD

slide-42
SLIDE 42

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals

◮ typical artifacts of old recordings:

◮ clicks ◮ tape speed fluctuations ◮ hum (mains frequency) ◮ noise ◮ distortions

slide-43
SLIDE 43

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals

◮ aims:

◮ recovery of the original sound ◮ in some cases make improvements with respect to

  • riginal sound

◮ e.g. extension of a limited frequency response ◮ in future: model-based solutions ◮ detection of sound objects ◮ re-synthesis of the signal in perfect audio quality

slide-44
SLIDE 44

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

removal of clicks

slide-45
SLIDE 45

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals

◮ removal of clicks:

◮ typical for signals stemming from vinyl discs ◮ strategy: ◮ detection of the clicks ◮ delete and replace the section by estimated signal

(interpolator)

slide-46
SLIDE 46

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

removal of tape speed variations

slide-47
SLIDE 47

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

removal of tape speed variations

◮ removal of tape speed variations (→ pitch

variations):

◮ typical for signals stemming from tape recordings ◮ strategy: ◮ short-time spectral analysis with pitch detection ◮ with a priori knowledge about the original pitch

→ identification of the time axis distortion

◮ apply inverse time axis distortion

slide-48
SLIDE 48

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

removal of hum

slide-49
SLIDE 49

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

removal of hum

◮ removal of hum (and possible harmonics):

◮ strategy: ◮ narrow-band notch filter ◮ problem: ◮ → notch filter impulse response: pulse at τ = 0

and at τ = 10ms

◮ → addition of a sort of echo → possible audible

artifacts

slide-50
SLIDE 50

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

removal of broad-band noise

slide-51
SLIDE 51

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

removal of broad-band noise

◮ removal of broad band noise:

◮ typical for all early sound storage media ◮ principle: ◮ establish filter bank with time variable

amplification in each band

◮ if signal is present → reference amplification ◮ dominating noise → very small amplification

slide-52
SLIDE 52

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

removal of broad-band noise

◮ strategy:

◮ assumption of constant power spectral density of

the noise component

◮ estimation of the noise spectrum in signal pauses

(” minimum during the whole piece” )

◮ short-time spectral analysis of the signal →

evaluation of S/N

◮ determine amplification of each spectral line from

S/N

◮ delicate choice of the time constant for the

amplification adaptation

slide-53
SLIDE 53

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

examples

slide-54
SLIDE 54

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals: example

De-Noise

slide-55
SLIDE 55

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals: example

De-Click

slide-56
SLIDE 56

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals: example

Remove Hum

slide-57
SLIDE 57

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals: example

De-Clip

slide-58
SLIDE 58

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

restoration of distorted audio signals: example

  • riginal:
  • riginal

de-clicking: step 1 de-hissing: step 2 fadings: step 3

slide-59
SLIDE 59

Audio signal processing effects

equalizer compressor, limiter noise gates flanger chorus phaser leslie pitch-shift - time scaling time reversal

signal restoration

clicks tape speed variations hum noise examples

back

eth-acoustics-2