I’m trying to make a wav player plugin.
In order to achieve this, I :
created an audioFormatReader and gave it the wave file;
created an audioSampleBuffer;
resized it to fit the file’s length;
called the readFromAudioReader function
and gave it the reader.
Now, in the processBlock function, I need to copy the samples from the wave buffer into the function’s buffer.
I tried with copyFrom, iterations, nothing!
Can anybody help me?
I’m not so good with dsp stuff!