Hi, I am trying to come up with a strategy to use phasor~ to control a tabread4~ object to play a sound file.
Ideally, I would want to have the file play randomly forward or backwards. Once the file has been played once I want the phasor~ to stop ( go to frequency 0).
I am including a patch and a soundfile I am using for testing.
I am using a snapshot~ to see when the phasor~ has played through the file once and stop towards the end. This changes for forward or backward playback. This doesn't seem like the best way to do this so any suggestions with that would be appreciated.
Also, I want the file to play from a random start point, which I am doing by randomizing the phase of the phazor~. I don't think this is the best Idea either. I was trying to add a random amount after the phasor~ using {+~ 0] but it was changing the pitch of the playback. I want the pitch to not change.
If anyone has ideas to improve this patch please let me know.
thanks, Nick
test.zip