- take a window of samples. Find the maximum sample reading minus minimum sample reading over the window. This gives you dynamic range.
- take a window of samples. subtract the median. fft. find the largest abs() of the fft.
- calculate power. https://www.mathworks.com/help/signal/ug/measure-the-power-of-a-signal.html
How do I define the amplitude of an audio signal
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Amit Singh
il 16 Giu 2018
Risposto: Walter Roberson
il 16 Giu 2018
I have the impulse responses of an enclosed space at 6 different positions relative to the source. I am trying to implement a code that interpolates a best fit function of amplitude in this space relative to the amplitudes of the known positions. To do this I need to define the amplitude of the already measured audio signals.
0 Commenti
Risposta accettata
Walter Roberson
il 16 Giu 2018
There are multiple definitions you could use:
Note that dynamic range can be greatly affected by transients, so the dynamic range might not reflect where "most" of the signal is. But at the same time, transients might reflect some kind of resonance, and sometimes it is important to know that (for example) a narrow 5 Hz band has a big peak even though the peak only ends up carrying a fraction of the power.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Fourier Analysis and Filtering in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!