@raynovich You can use [switch~] to turn off abstractions...
-
delete object using dynamic patching?
-
So, I assume my computer is "fast enough." The problem that I am detecting is that if I activate creating a objects too quickly in succession the audio lags and creates digital clicks. This may also happen when I delete objects as well.
So, I think I am not able to use this method for creating good audio using additive synthesis, but I really appreciate all of the communication.
I though do not understand the switch~ comment yet.
-
@raynovich Well, i do not know your project, but in a general sense my opinion is that relying heavily on creating and deleting objects is a dubious approach in most cases.
With [switch~] you can activate and disable abstractions (and possibly subpatches), so probably all necessary objects can just be in the patch and activated or deactivated when needed or not.
This can also be combined with [clone].
-
@raynovich I use [switch~] to pause audio playback of a file here...... cart_wav_simple.pd
The audio is muted in 5ms with [line] and at 8ms the audio processing for the patch is turned off.
Other patches will still have their audio running.
Taking the audio output to zero before turning audio off avoids clicks.
A 1 into switch turns audio on and a 0 turns it off.
When it is off there is no cpu load for the patch as there is no audio process running (for that patch).
David. -
Hey,
I finally understand switch~ Thank you!!!!!