Am I right in thinking that ‘amplitude’ is the height of the wave, as it were, and ‘intensity’ related to how consistent the amplitude is? (i.e. if the height is consistently high, it’s an intense song). How would I go about finding the amplitude and intensity, and is it possible to do this offline without performing a fourier transform? Thanks for any help.
- PVCode asked 6 years ago
Amplitude is the height of the wave, that part is correct. I haven’t heard the term ‘intensity’ used before as a technical term, looking at the wiki page it does not appear to mean what you say: http://en.wikipedia.org/wiki/Sound_intensity
RMS (root mean squared) is a better measure of loudness than using the amplitude. http://en.wikipedia.org/wiki/Root_mean_square
Fourier transform is used to get the frequency domain representation of the sound which is unrelated to loudness (unless you want to measure it per band).
Thanks Peter. I seem to have gotten ‘intensity’ wrong. Regarding RMS, If I have a buffer that contains a 2 minute song how do I calculate the RMS data? Do I take in one second of samples (44100 values) and RMS those values to get the loudness at that second?
- PVCode answered 6 years ago
Please login first to submit.