Using --- AND argument for named objects
Let´s say I have 4 buffer objects inside my m4l patch, named ---1buffer, ---2buffer, ---3buffer and ---4buffer. When I play from one of those those buffers from inside a poly~ object, I would like to choose between the buffers, using an argument.
For example, all "wave~ ---#1buffer" objects inside a "poly~ foo args 1" object should use the "---1buffer", "poly~ foo args 2" => "---2buffer" ect. Is there any way to do this?
is this what you want?
Thank you for your answer, but I need a solution, where the "---" at the beginning is replaced with a unique number for every instance of a device, how it is explained here (at the end):
The problem is, that there seems to be no way to query this unique number, so that I could construct a message for the wave~ object. Does anyone have an idea?
Nevermind, I forgot to reload the device in live. Your solution works for me Terry, thanks a lot!