I am trying to build a granular audio-file processor which allows independent control of speed & pitch, and which allows alteration to both parameters throughout continuous audio file playback.
I have copied over a patch described in Farnell's Designing Sound which offers most of what I am after. However in Farnell's patch, every time an adjustment to speed is made, it also needs to restart audiofile playback for the new parameter to function (see [r $0-speed]).
My patch is attached. Does anyone have any ideas on how I can modulate the speed parameter without restarting audiofile playback?
- load "grain_host.pd"
- click "load_wav"
- select audio file "voice1.wav"
- click "play"
- modulate parameters.