Get array of PCM samples from ofSoundPlayer (for convolve?)

I would like to get the PCM sample array from a soundfile loaded into an ofSoundPlayer so that I can convolve it with another signal. Is there a method to call to pull / generate the PCM samples from a loaded sound?

I’d like to get the samples so I can convolve them with specific impulse functions.

Looks like should do it (another thread with a solution).

Actually, this might also be what you want:

It only loads .wav files for the moment but doesn’t rely on FMOD, in fact it doesn’t require any dependencies…and is very straightforward.