I read through the documentation of Pmono
and must have read it wrong. From the following I inferred that the node Pmono
creates would be deleted after the Pmono
finishes:
"This node is created when entering a Pmono, and released when the Pmono terminates."
So I thought a Pmono
like this:
p = Pmono(\default, \dur, 0.2, \freq, 400).play;
...would create a Synth that played for 0.2 seconds and then get released automatically. However, it keeps playing forever, which makes me wonder what the \dur, 0.2
relates to.
How do I kill the Pmono
when I don't want it anymore? Or possibly more to the point, is there a Pthing which means 'Create this monophonic synth, to which I can continue to send control data after it's started up, and which is released automatically at the end of the pattern'?
Edit: some more context of what I'm trying to do: I would like to be able to create an instance of an expensive effects synth, which I only want for a bar or so, which just automatically gets released after I've finished with it.