-
rmele76
Hello PD users,
I am using the MrPeach objects with PD-extended on OSX. I would like to Pack an OSC message that has two type tags, in this case a string and a boolean true.sendtyped /set sT input 1 mute
|
|
packOSC
|
|
udpsendThe message above is what I am sending to the packOSC object. The packOSC is reporting the message "Tag count does not match message count." For my use case I would like to have the string "input 1 mute" counted as one type tag and not a separate type tag for each individual word.
Any suggestions on how I can reformat my sendtyped message to actually get an OSC message that fits the listed type tags, One string and one boolean true.
Thanks in advance
-
rmele76
Your suggestion has resolved my issue, thanks for the help Maelstorm.
-
rmele76
Thanks for the reply.
Often with OSC messages you can include several words inside of one larger string message.
For my use case the 1 in "input 1 mute" refers to a channel number and not a boolean mute state. The type tag "T" or "F" handles that. So for me my goal is to have the packOSC object handle "input 1 mute" as one message and not three separate messages.
In MAX/MSP I would accomplish this by surrounding the input 1 mute message in quotes. So "input 1 mute" would get type cast as one single string with the spaces counted as characters.
I understand PD is not MAX I am just using that as an example, hopefully there is an equivalent way with PD.