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 http://forum.openframeworks.cc/t/oscilloscope-extension/554/8 should do it (another thread with a solution).

Actually, this might also be what you want:
http://forum.openframeworks.cc/t/example-of-playing-back-a-sample-in-ofsoundstream/3502/0

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.