assurance-tunnel
assurance-tunnel
assurance-tunnel
assurance-tunnel

How to use Udp send in Max MSP to connect to OSC listener in Isadora



  • I am trying to use Udp send in Max MSP  with UDP send 127.0.0.1 and port 1234 to connect to OSC listener in Isadora.

    The UDP receive in Max works and communicates with the OSC transmit from Isadora, but its the other direction I am having problems with.

    I am not sure what computer ID and what channel Max is sending to. I am also wondering if the problem is that I am sending a number. do I need to send it in a special format? like "help/ 1/" or something like that?

    If anyone can help with with this it would be greatly appreciated. 

    Thanks in advance!

    Sabine



  • @sgruffat

    Super simple. I've pasted a Max patch here. Just open the Stream Setup... window in Isadora to assign the incoming data to an OSC Listener channel. Make sure to click the "Auto Detect Input" box in the Stream Setup window.

    {
    "patcher" : {
    "fileversion" : 1,
    "appversion" : {
    "major" : 7,
    "minor" : 3,
    "revision" : 1,
    "architecture" : "x86",
    "modernui" : 1
    }
    ,
    "rect" : [ 59.0, 81.0, 299.0, 304.0 ],
    "bglocked" : 0,
    "openinpresentation" : 0,
    "default_fontsize" : 12.0,
    "default_fontface" : 0,
    "default_fontname" : "Arial",
    "gridonopen" : 1,
    "gridsize" : [ 15.0, 15.0 ],
    "gridsnaponopen" : 1,
    "objectsnaponopen" : 1,
    "statusbarvisible" : 2,
    "toolbarvisible" : 1,
    "lefttoolbarpinned" : 0,
    "toptoolbarpinned" : 0,
    "righttoolbarpinned" : 0,
    "bottomtoolbarpinned" : 0,
    "toolbars_unpinned_last_save" : 0,
    "tallnewobj" : 0,
    "boxanimatetime" : 200,
    "enablehscroll" : 1,
    "enablevscroll" : 1,
    "devicewidth" : 0.0,
    "description" : "",
    "digest" : "",
    "tags" : "",
    "style" : "",
    "subpatcher_template" : "",
    "boxes" : [ {
    "box" : {
    "id" : "obj-8",
    "maxclass" : "toggle",
    "numinlets" : 1,
    "numoutlets" : 1,
    "outlettype" : [ "int" ],
    "parameter_enable" : 0,
    "patching_rect" : [ 52.0, 38.0, 24.0, 24.0 ],
    "style" : ""
    }

    }
    , {
    "box" : {
    "id" : "obj-6",
    "maxclass" : "newobj",
    "numinlets" : 2,
    "numoutlets" : 1,
    "outlettype" : [ "bang" ],
    "patching_rect" : [ 52.0, 71.0, 65.0, 22.0 ],
    "style" : "",
    "text" : "metro 200"
    }

    }
    , {
    "box" : {
    "id" : "obj-5",
    "maxclass" : "newobj",
    "numinlets" : 2,
    "numoutlets" : 1,
    "outlettype" : [ "int" ],
    "patching_rect" : [ 52.0, 100.0, 68.0, 22.0 ],
    "style" : "",
    "text" : "random 20"
    }

    }
    , {
    "box" : {
    "id" : "obj-4",
    "maxclass" : "number",
    "numinlets" : 1,
    "numoutlets" : 2,
    "outlettype" : [ "", "bang" ],
    "parameter_enable" : 0,
    "patching_rect" : [ 52.0, 129.0, 50.0, 22.0 ],
    "style" : ""
    }

    }
    , {
    "box" : {
    "id" : "obj-2",
    "maxclass" : "newobj",
    "numinlets" : 1,
    "numoutlets" : 1,
    "outlettype" : [ "" ],
    "patching_rect" : [ 52.0, 159.0, 101.0, 22.0 ],
    "style" : "",
    "text" : "prepend /isadora"
    }

    }
    , {
    "box" : {
    "id" : "obj-1",
    "maxclass" : "newobj",
    "numinlets" : 1,
    "numoutlets" : 0,
    "patching_rect" : [ 52.0, 190.0, 137.0, 22.0 ],
    "style" : "",
    "text" : "udpsend localhost 1234"
    }

    }
     ],
    "lines" : [ {
    "patchline" : {
    "destination" : [ "obj-1", 0 ],
    "disabled" : 0,
    "hidden" : 0,
    "source" : [ "obj-2", 0 ]
    }

    }
    , {
    "patchline" : {
    "destination" : [ "obj-2", 0 ],
    "disabled" : 0,
    "hidden" : 0,
    "source" : [ "obj-4", 0 ]
    }

    }
    , {
    "patchline" : {
    "destination" : [ "obj-4", 0 ],
    "disabled" : 0,
    "hidden" : 0,
    "source" : [ "obj-5", 0 ]
    }

    }
    , {
    "patchline" : {
    "destination" : [ "obj-5", 0 ],
    "disabled" : 0,
    "hidden" : 0,
    "source" : [ "obj-6", 0 ]
    }

    }
    , {
    "patchline" : {
    "destination" : [ "obj-6", 0 ],
    "disabled" : 0,
    "hidden" : 0,
    "source" : [ "obj-8", 0 ]
    }

    }
     ],
    "dependency_cache" : [  ],
    "autosave" : 0
    }

    }


Log in to reply
 

Looks like your connection to TroikaTronix Community Forum was lost, please wait while we try to reconnect.