switch~ing voices [was: Re: [PD] nqpoly4 simple instructions?]
Frank Barknecht
fbar at footils.org
Mon Dec 11 19:21:45 CET 2006
Hallo,
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
> There could be a number of idle voices that are switched on to
> prevent this. So you could specify, say 5 voices always ready, then
> whenever one voice starts playing, it also turns on another idle voice.
Another approach is one, that Andy is using a lot: use [env~] next to
the outlet, and compare it to a userdefined level using [< X]. Then
[select 1] this to [switch~] off the patch.
This is fully automatic and depending on how big you make the buffer
size of [env~] it has enough delay time built in to avoid distortion
in the signal. You could even fade out using [line~], if you're very
cautious. The only additional cost is one [env~], but this may quickly
pay off.
One could put the [env~] solution into the [polypoly-wrap] abstraction
to make it completely automaic for [polypoly] but then users would be
forced to do it this way and generally I don't like to enforce things
like that too much in my abstractions.
Ciao
--
Frank Barknecht _ ______footils.org_ __goto10.org__
More information about the Pd-list
mailing list