Is there a way in PD to create an object automatically? I mean, something like a bang triggering a box to become "tabosc4~ tabtriangle12" or "phasor~" or any patch of mine.
Thanks!
Perhaps noobish but....
Is there a way in PD to create an object automatically? I mean, something like a bang triggering a box to become "tabosc4~ tabtriangle12" or "phasor~" or any patch of mine.
Thanks!
Yep, it's a technique called "dynamic patching".
Oh, thanks, I'll dive into it (it looks a bit scary).
Because it is
you're better off not using it though, for this type of case.
best is just to put your [tabosc4~] , [phasor~] etc in their own subpatches, and then turn those subpatches on and off using [switch~]
they won't eat CPU when switched off, and it will be MUCH more stable than using dynamic patching.
Well, that's a relief! Thanks!
Anyway, while looking for some info about dynamic patching I found the "set" message, which is great because now I can set the waveform for tabosc4~ with a message.
BTW, to avoid creating a new post for another noobish question, I'll ask here:
When I get a sound I like and I want to store it in an array, I always have trouble getting the wave properly into the array. By properly I mean so that the starting and ending point are the same, so there's no saw-like harsh clicks. What's the exact relationship between frequency and array size?
I had the same problem with making a kick from a sine wave in an array. If you're doing something like that (Storing audio waves from [osc~] or whatever), resetting the phase, or offsetting it by however much, it should get rid of clicks and pops.
That is helping, thanks!
Oops! Looks like something went wrong!