Hello. Is it possible to change the name of the [send~] object in order to send different signals ? EX: you can use [send~ param1] and [send~param2] but my problem is that i want to have a more general [send~] object like [send~ param-{variable}] where {variable} can be a number but different ? and also the same idea with [receive~ param-{variable}] ?
-
Dynamic send~ and receive~ in pure data ?
-
@Boran-Robert No. It is that way because the whole audio chain has to be built for the patch, and if it is broken and rebuilt it will produce a big bang as the dsp is turned off and on again.
It could be done with dynamic patching but the problem would remain.
You can make a matrix mixer using [cyclone/matrix~] which can soft fade inputs to outputs, or switch using [zexy/multiplex~] and [zexy/demultiplex~] but depending on exactly what you want to do with the zexy objects you might need to take down the audio to zero before you switch and then bring it back up.
Using those objects you do not break the audio chain.
The ext13 library has? / had settable [catch~] and [throw~] objects, but again, the name was not set until dsp was toggled on and off.I made a few years ago a Plain Vanilla [matrix~] that is dynamically created at loadbang, but then of course has to be connected to its inlets and outlets, which can be done automatically..... matrix~.zip
...... but I think the cyclone library has been updated for 64-bit on most os's now.David.
-
Thanks a lot. I really tried to make tricks but this is a limitation. I am working on a very large modular system and i really wanted to have wireless patching as an idea (and i also wanted an elegant implementation of this idea). I like the patching but when you have a lot of modules and a lot of connections it gets pretty crazy. I will still make the wireless patching but in a different way (a more messy implementation).
-
Thank you very much. I will take a look on your matrix~ patch. I am using Pure Data Vanilla.
-
@Boran-Robert I use [matrix~] for a 64 x 64 live monitor mixing setup.
Just send messages into it for changes. In my setup OSC messages from wifi tablets are translated directly to messages for [matrix~] .
It was the simplest solution.
You will be better off if you can find [cyclone/matrix~] for your system on Deken.
I only built that dynamic patch to solve the vanilla problem while I waited for such updates.
David. -
Nice. OK thanks i need to learn more...
-
[receive~] and [throw~] can have their names set dynamically, but as David pointed out, most likely you'll get a click in your audio. [send~] and [catch~] can't have their names changed.
[matrix~] is a way to go, but as you build up you'll might face a situation where there's just too much to process. I had this with an Odroid mini computer, which is not a laptop, but still it's quite powerful.IOhannes helped me in writing an external [tabreceive~] that can receive audio from many tables and use an amplitude coefficient in a [line~] fashion. It works really great and in combination with [tabsend~] you can build up quite big matrixes without any performance issues. You can get it here, but you'll have to compile it yourself.
-
@alexandros Thank you so much ! yes i run into performance issues. I will check your solution, thanks again.