I can’t quite seem to find the right pieces that will allow me to play through part of a buffer once with a modulating rate. PlayBuf’s rate is modulatable but doesn’t accept an end-point. So using BufRd… I can get a single play-through using Line but it isn’t modulatable. A Phasor is modulatable but loops with no way to make it one-shot. I tried using an Envelope (for both PlayBuf and as the phase for BufRd) but it’s fixed-length and I have no idea how long to make it. I stumbled across https://doc.sccode.org/Classes/Done.html and it indicates that BufRd triggers a DoneAction which I thought I might be able to use to kill the looping Phasor but I’m pretty sure (empirically and reading source code) that BufRd doesn’t trigger a DoneAction.
Any thoughts are appreciated.