Get ofSoundPlayer amplitude

Hi all,

I’d like to be able to get the amplitude of an audio file as it is played by ofSoundPlayer.

I see that ofSoundBuffer has a getRMSAmplitude() function.
But…I don’t see how to get audio from the ofSoundPlayer into the ofSoundBuffer.

Any suggestions are most welcome!
Thank you++

Hi, by default it wont work. The current ofSoundPlayer implementation bypasses the ofSoundStream mechanism.
you can check this addon I made that should work.