Hi,
Is there a way to input multiple messages into the receive symbol or send symbol text fields?
i.e next to songPos I want to input songLength.
I tried songPos, songLength and songPos;songLength and both didn't work.
Thanks
Using multiple messages in properties
Hi,
Is there a way to input multiple messages into the receive symbol or send symbol text fields?
i.e next to songPos I want to input songLength.
I tried songPos, songLength and songPos;songLength and both didn't work.
Thanks
@1mark I don't think there is (but I could be wrong).
Can I ask why would that be different than using only one send/receive, since the value that is sent would always be exactly the same?
@weightless said:
@1mark I don't think there is (but I could be wrong).
Can I ask why would that be different than using only one send/receive, since the value that is sent would always be exactly the same?
It's the same its just nice to encapsulate send/receive. For me, I'm only doing it to reduce the number of lines that this project has (which is too many!).
@1mark I see, I guess it's a matter of personal patching practice as to me that would only confuse things further.
For now you could work around it by doing it with [trigger]:
@weightless said:
@1mark I see, I guess it's a matter of personal patching practice as to me that would only confuse things further.
For now you could work around it by doing it with [trigger]:
Thanks, but that would be adding more lines and boxes and the whole reason im doing this is to reduce the amount of clutter on the canvas. But thank you for the suggestion
@1mark How about doing all the stuff inside a subpatch?
Anyway, just throwing ideas around since I don't know whether the original question is possible, I think it's unlikely but maybe someone else will chip in.
@1mark You surely know that a send can be received by many receives at the same time? And it doesn't matter if it is an actual send object or the build in send in a number box...
@ingox yeah. But the issue is the project is very complex and has many sends and receives that I would rather encapsulate in the way that I showed in my first post. Thank you for your post though, much appreciated
@1mark You can set up multiple sends within one message. With receives it is not possible as far as i know.
But it is possible to set the string of a send object if you create it empty, like [s]. With this you could have one receive at each place and create and set the destination at the send point according to the logic of your patch.
Like for example you can build a little send machine:
@1mark Maybe this is what you want to achieve.......useful_maybe.pd
David.
PS...... you can change other attributes as well........ but not all work dynamically.
See........ https://puredata.info/docs/developer/PdFileFormat
AND.... you can change the receive name "receive" but that is really only useful if you want to put your head in a spin........
You would have to autosave and reopen the patch for it to work as well.
Oops! Looks like something went wrong!