Greetings All
I'm trying to load two 1 second mono wave files on a left and a right channel but have my midi controller control where the wav file starts playing/looping dynamically. An example would be if I want to have the channel start playing at 4000 samples it would start .5 seconds into the wav file. I need to have it be this accurate (based on samples) because I'm testing the effects of phases and this way I can calculate the phases very accurately between the wave files. Can PD increment by samples?
Some of my thoughts where to load the wav files into an array and have the midi controller control where the array starts to play and loop that section. Is this possible, any examples? If not can someone recommend another program or another way.
What I'm trying to accomplish
file will start based on the number of samples in the wav file
Thanks