Santiago Barreda
Assistant Professor, Department of Linguistics, UC Davis

Main Research Vignettes CV phonTools Statistics Links


preemphasis [phonTools]


This function applies a single-zero preemphasis filter to a sound/signal, which increases the magnitues of frequency components above the cutoff frequency. As seen below, this changes the relative amplitudes of the frequency components of the signal, resulting in relatively more energy in higher frequencies. 




Code used to generate examples:

## create a signal with multiple frequency components of equal amplitudes signal = sinusoid (c(100, 200, 400, 800, 1600), fs = 4000, dur = 100, sum = TRUE)[,7] ## apply preemphasis above 50 Hz, and see how the amplitudes change preemphasis (signal, verify = TRUE, fs = 4000, cutoff = 50)