Killing all voices in poly~

Jonathan Hallstrom's icon

I'm having trouble figuring out how to silence all the active voices in a poly~. I'm using the poly for multi-voice sample playback using play~ in the patch inside the poly. I send in a buffer name with "note" prepended to it to start the sample playing. It works great, but I need a way to stop all the voices. I've tried sending a "stop" message to play~ but it only kills one voice. Is there a command that will kill all active voices?

Floating Point's icon

try this:
(mute 0 1)= all voices muted
(mute 0 0)= all voices unmuted

Jonathan Hallstrom's icon

This works great for muting the voices, but it doesn't clear them. If you unmute they resume from the point they were muted. I'm looking for a way to completely currently running voices.