New answers tagged

0 votes

How were the coefficients for polynomial linear predictive coding derived?

With the new IETF standards document, this seems pretty obvious now. It's a problem of polynomial interpolation at n+1 points or samples, where n is the order of the predictor, and using the ...
user avatar
0 votes

What is the proper way to implement a real time spectrogram?

It actually depends on what you are trying to achieve. I have two general points here to help you: First, you need to know the specifications of your real-time system. How long do you need to update ...
user avatar
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 \...
user avatar
  • 123
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:
user avatar
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}$ ...
user avatar
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 ...
user avatar
  • 209
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 ...
user avatar
  • 37.1k
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$. ...
user avatar
  • 2,686

Top 50 recent answers are included