• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Arduino OSC library - getting output of address

jayeshshetty

New Member
It's been quite some time since I've used OSC on Arduino, in fact so long that the 2 libraries I used to use seem to have gone by the wayside (ZOSC and ArduOSC).

I'm wanting to use the outcome of part of the address in my OSC message to make decisions on what to do. More specifically I've used this method to map addresses for notes on an old organ, and used the message data as the note on/off:
Example:
Turn note 4 on = OSC message address=/note/4 data=1 (integer)

I would then simply extract the part of the address I wanted ('4') and if needed convert it to an integer, and use that to map to the solenoid outputs I have.
 

Pommie

Well-Known Member
Most Helpful Member
If you have examples of messages and what you need to extract we can probably come up with the code to do it.

Mike.
 

Latest threads

EE World Online Articles

Loading
Top