OSC connection with Max/Msp/Jitter

OSC connection with Max/Msp/Jitter

sjeon01's Avatar


Apr 23, 2013 @ 11:39 PM


I am trying to use the OSC in Nodebox 3 and connect with Max/Msp/Jitter to send live signals back and forth between the two programs, but the page that describes the method (http://nodebox.net/code/index.php/OSC) doesn’t seem to be telling enough to get my project going. Could you tell me more detailed instructions on this ? Thank you.

  1. SUPPORT STAFF1 Posted by Frederik De Ble… on Apr 24, 2013 @ 09:42 AM

    Frederik De Bleser's Avatar

    The documentation page you mentioned is for NodeBox 1, and so wouldn’t be useful for NodeBox 3.

    For NodeBox 3, the OSC nodes are labelled “experimental”: that means they lack documentation and can change.

    Here’s a short tutorial on how to listen to events FROM Max MSP:

    1. In Preferences, make sure “Device Support” is checked. Restart NodeBox if needed.
    2. In File > Devices, create a OSC device. In the first field (where it says “-1” enter the port NodeBox should listen to). Press start. (You can also enable auto-start if you want to start the OSC listener automatically when the file is opened).
    3. Start Max MSP and create a “send OSC” node (or whatever it is called). Use the same port to send to.
    4. In NodeBox, create a “Receive OSC” node. Leave the device name as-is. Optionally, change the address prefix to only listen to messages under an address (by default it listens to everything).
    5. If you want the arguments to have names, you can fill them in under the “arguments” port. For example, if you receive events with an x,y coordinate, use “x,y” (without the quotes) in the arguments field.

    I’ve included an example that uses PD to send OSC events (I don’t have Max MSP).