- 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
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Amit Singh
le 16 Juin 2018
Réponse apportée : Walter Roberson
le 16 Juin 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 commentaires
Réponse acceptée
Walter Roberson
le 16 Juin 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Multirate Signal Processing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!