multi format OSC
I'm trying to send OSC to one of my contraption (a OSC to LCD hardware module)
the OSC format I planned for my OSC server is "iiis"
first integer is for register (telling the LCD what to do)
second integer is the line number to where the text should be writen
the third integer is the column number to where to start writing
the fourth osc data is the string to print on the LCD
the trouble is I haven't yet find a way to send OSC messages with different data format with Hollyhock ?
any Idea how I can do ?
should the "send udp" module be a good start ?
or a new OSC module that permit this kind of multiformat ??
thanx
the OSC format I planned for my OSC server is "iiis"
first integer is for register (telling the LCD what to do)
second integer is the line number to where the text should be writen
the third integer is the column number to where to start writing
the fourth osc data is the string to print on the LCD
the trouble is I haven't yet find a way to send OSC messages with different data format with Hollyhock ?
any Idea how I can do ?
should the "send udp" module be a good start ?
or a new OSC module that permit this kind of multiformat ??
thanx
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
hi olivar
you did send me a processing file once..it was more or less the same problem, sending multi-format OSC to Animata.
it was this thread:
http://www.sensomusic.org/forums/viewtopic.php?id=2529
http://www.sensomusic.org/forums/viewtopic.php?id=3832
i guess nothing changed much regarding OSC in Usine.
~
marco
you did send me a processing file once..it was more or less the same problem, sending multi-format OSC to Animata.
it was this thread:
http://www.sensomusic.org/forums/viewtopic.php?id=2529
http://www.sensomusic.org/forums/viewtopic.php?id=3832
i guess nothing changed much regarding OSC in Usine.
~
marco
yeah !
I find another solution, easy :
one OSC message with only the 3 integers then I send a string
in fact it is faster as I can set up the register an cursor position once and for all then send few strings.
problem solved !
I find another solution, easy :
one OSC message with only the 3 integers then I send a string
in fact it is faster as I can set up the register an cursor position once and for all then send few strings.
problem solved !
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
I made some new research on the subject : I managed a patch in usine that send multi tag osc messages
for now it is working but it seems allergic to strings that begin with upper-case letter, in that case, the string get all messed up. at leat with PureData (not good with strings, could be a Pd bug..)
I have yet to try with my own Arduino server.
keep you posted
http://www.sensomusic.com/forums/upload ... %20OSC.pat
uploaded: http://www.sensomusic.com/forums/upload ... C-help.zip
for now it is working but it seems allergic to strings that begin with upper-case letter, in that case, the string get all messed up. at leat with PureData (not good with strings, could be a Pd bug..)
I have yet to try with my own Arduino server.
keep you posted
http://www.sensomusic.com/forums/upload ... %20OSC.pat
uploaded: http://www.sensomusic.com/forums/upload ... C-help.zip
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Hello! I am trying to send OSC messages from Usine to SuperCollider in the form of s s i i i. I came across this thread and was wondering if anything has changed in Usine since the last post here. Is there a simpler way to send combined OSC messages?
I looked at oli_lab's example patch, but I'm having a hard time figuring out how to modify it to do what I need. Any ideas? Thanks!
I looked at oli_lab's example patch, but I'm having a hard time figuring out how to modify it to do what I need. Any ideas? Thanks!
Hi Benard !
have a look here : http://www.sensomusic.com/forums/upload ... C%20SC.pat
can you keep me posted about your venture into Usine + SC ?
I'm quite interested in using Usine as a controller on a Windows machine while having sound done in SC on another Linux computer...
have a look here : http://www.sensomusic.com/forums/upload ... C%20SC.pat
can you keep me posted about your venture into Usine + SC ?
I'm quite interested in using Usine as a controller on a Windows machine while having sound done in SC on another Linux computer...
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Hi Oli_Lab,
Thanks for your response! Your patch seems to be close to what I want to do, and I'm trying to wrap my head around how it all works, as I'm still quite new at patching in Usine. I'll spend some time with it, but it looks like it will take me a while to really understand the array concatenation part and how to modify it to be able send different tags. Other than the HHII manual and online documentation, is there another source that you would recommend for learning about this in Usine?
About SC, I've been playing around with it a little, sending messages from Usine via an OSCdef in the SC language. That seems to work fine, and it makes for a really simple way to add GUI control to SC. It might be better to just send OSC messages directly to the server, but OSCdef seems to do the job easily enough.
What I was trying to do with the multi-tag OSC messages is to make new synths in the SC server from the HH grid. So in the simplest form I would need to send once a message like: ("/s_new", "default", 1001). So I was thinking ssi, but actually in your patch the first string is the OSC address, so it would be just ,si (or siii if we include the add action and target).
Let me know if you have any suggestions, or other versions of your patch I could have a look at. And thanks so much for your help!
Thanks for your response! Your patch seems to be close to what I want to do, and I'm trying to wrap my head around how it all works, as I'm still quite new at patching in Usine. I'll spend some time with it, but it looks like it will take me a while to really understand the array concatenation part and how to modify it to be able send different tags. Other than the HHII manual and online documentation, is there another source that you would recommend for learning about this in Usine?
About SC, I've been playing around with it a little, sending messages from Usine via an OSCdef in the SC language. That seems to work fine, and it makes for a really simple way to add GUI control to SC. It might be better to just send OSC messages directly to the server, but OSCdef seems to do the job easily enough.
What I was trying to do with the multi-tag OSC messages is to make new synths in the SC server from the HH grid. So in the simplest form I would need to send once a message like: ("/s_new", "default", 1001). So I was thinking ssi, but actually in your patch the first string is the OSC address, so it would be just ,si (or siii if we include the add action and target).
Let me know if you have any suggestions, or other versions of your patch I could have a look at. And thanks so much for your help!
I wonder if you can parse the osc message in SC ?
and send /s_new/default 1001
other wise it is easy to modify the last patch I did as all different parts of the message are encapsulated
http://www.sensomusic.com/forums/upload ... SC%202.pat
OSC messages need to be of a multiple of 32 bits, that is why the patch is so intricate as it has to add bytes to follow that rule.
cheers
and send /s_new/default 1001
other wise it is easy to modify the last patch I did as all different parts of the message are encapsulated
http://www.sensomusic.com/forums/upload ... SC%202.pat
OSC messages need to be of a multiple of 32 bits, that is why the patch is so intricate as it has to add bytes to follow that rule.
cheers
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
It should be possible to parse the strings in the language, but that would defeat the purpose of sending messages straight to the server, as you could just send message to the sever in the normal way from the language instead to begin with. Perhaps I can send a message to the language to trigger the synths though, the way I'm controlling other parameters. I'll look into that.
With your latest patch I get an error message, and it seems the OSC being received in SC is: [ "/s_new", "", 65628416, !unknown tag '?' 0x00 ! ].
Does that tell you anything? I guess the bytes are getting messed up when I change the values for the strings...
I can sort of follow the adding in the patch, but I'm completely lost with the array concatenation part.
But I'll keep playing with it.
Thanks for all your kind help!
With your latest patch I get an error message, and it seems the OSC being received in SC is: [ "/s_new", "", 65628416, !unknown tag '?' 0x00 ! ].
Does that tell you anything? I guess the bytes are getting messed up when I change the values for the strings...
I can sort of follow the adding in the patch, but I'm completely lost with the array concatenation part.
Thanks for all your kind help!
I'm away from my computer...
I probably did a mistake with the patch
I ll she'd you a 'ew one asap during the week
I probably did a mistake with the patch
I ll she'd you a 'ew one asap during the week
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Thanks! But now there seems to be a problem with the link. It tells me it's incorrect or outdated...
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Who is online
Users browsing this forum: Google [Bot] and 25 guests
