[PD] |switch~|: time question

julien.breval at tremplin-utc.net julien.breval at tremplin-utc.net
Fri Mar 11 01:15:39 CET 2005


I am programming a patch that contains several audio abstractions. Each
abstraction is actually a small patch. I want to use only one of these at the
same time but I need to switch between them during the performance.
For this, I added a |switch~| in each abstraction. Stopping an abstraction while
it runs is no problem, but I need some information about starting.

When I start the abstraction, I first send the "1" value to |switch~| and then
raise the volume (with a 5 ms ramp of course). The problem I have is that I need
to wait 100 ms before raising the volume. If I use 50 ms, sometimes there is an
unwanted dsp click. So it looks like there is a required waiting time before
using the patch after you start the dsp. Any information about this time ? For
this application I use a 256-sample hardware buffer and the pd vector size is
default everywhere (64).

Thanks and good night,

More information about the Pd-list mailing list