Ok Pd lovin' people,
So I've managed to turn off DSP in sub patches regarding voices in a polyphonic synth I've made, but I now want to do this with audio samples using the [readanysf~] object. I've included a patch where I've tried to do this, so every time the [readanysf~] is triggered with a bang the trigger object turns on [switch~] with 1, stops [readanysf~] (to start sample from beginning), plays [readanysf~] sample and finally sends a 0 to [switch~] to switch off DSP to the window. However when I bang this trigger nothing happens regarding [readanysf~] playing the audio.
My Pd patch is here readanysfdsptest.pd
Any help would be great