11
votes
Accepted
Why does the derivative of an audio file act like a high-pass filter?
Yes both the time derivative $d/dt$ and the discrete time difference $x[n]-x[n-1]$ are indeed "high pass filters": consider the extreme case of the lowest frequency, which is DC or a ...
10
votes
Why does the derivative of an audio file act like a high-pass filter?
$\frac{d}{dt}\sin(\omega t) = \omega\cos(\omega t)$ as a consequence of the chain rule. $\sin$ and $\cos$ are the same apart from the phase shift, so the derivative is a filter with a response that's ...
6
votes
Why does the derivative of an audio file act like a high-pass filter?
@OverLordGoldDragon Your x(n)−x(n−1) expression is called a "first-difference discrete differentiator". Its frequency magnitude response is the blue dashed curve below:
5
votes
Confusion regarding frequency spectrum in MATLAB
The $fs$ you are getting from audioread is the sampling rate and has nothing to do with the actual frequency content of the signal you are analyzing other than the maximum frequency would be $fs/2$.
...
3
votes
Why does the derivative of an audio file act like a high-pass filter?
You're doing $x(n) - x(n - 1)$, the finite difference / "discrete derivative", not to be confused with $\frac{d}{dt}x(t)$. The frequency response is
where $H(\omega) = 1 - e^{-j 1\omega}$ ...
1
vote
Why does the derivative of an audio file act like a high-pass filter?
In addition to the excellent existing answers we can also consider the continuous domain: If we have a signal as a fourier series (here in sine-cosine form)
$$f(t) = \frac{a_0}{2} + \sum_{n=1}^\infty \...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
audio × 1464fft × 201
filters × 148
matlab × 135
audio-processing × 126
signal-analysis × 123
python × 93
frequency-spectrum × 75
noise × 67
sound × 65
discrete-signals × 64
pitch × 56
speech-processing × 55
frequency × 53
algorithms × 53
spectrogram × 52
music × 50
fourier-transform × 49
sampling × 42
mfcc × 38
filter-design × 36
voice × 32
stft × 31
speech-recognition × 31
real-time × 31