back to CONFIGURING CONTROL PROXY



sample configuration file:

-----------------------------


// single-line comments work


/* multi-line comments 

also work */


{

"netReceivers" : { // Define network receivers

// incoming messages

"r1_tcp" : { // unique receiver name (string)

"protocol" : "tcp", // tcp, udp, osc-udp, or multicast

"port" : 14002, // incoming port

"patch" : "sample_patch.maxpat" // custom patch to parse incoming messages (optional)

            // set to "null" (with or without quotes), or remove field entirely if no patch is needed

},

"r1_udp" : {

"protocol" : "udp",

"port" : 14003,

"patch" : null

},

"r1_osc-udp" : {

"protocol" : "osc-udp",

"port" : 14004,

"patch" : null

},

"r1_multicast" : {

"protocol" : "multicast",

"port" : 18101,

"ip" : "224.0.0.3", // multicast netReceivers require a multicast group ip

"patch" : null

}


},


"netSenders" : { // Define network senders

// outgoing messages intended for Asset Manager

"s1_tcp" : {

"protocol" : "tcp",

"port" : 15000,

"ip" : "192.168.5.173",

"patch" : null // custom patch to parse outgoing messages (optional)

},

"s1_udp" : {

"protocol" : "udp",

"port" : 15001,

"ip" : "192.168.5.173",

"patch" : null

},

"s1_osc-udp" : {

"protocol" : "osc-udp",

"port" : 15002,

"ip" : "192.168.5.173",

"patch" : null

},

"s1_multicast" : {

"protocol" : "multicast",

"port" : 18100,

"ip" : "224.0.0.2",

"patch" : null

},

// loopback for logging and debugging

"loopback" : {

"protocol" : "osc-udp",

"port" : 20000,

"ip" : "127.0.0.1",

"patch" : null

}

},


"netBridges" : { // Build bridges between netReceivers and netSenders

"Bridge_1" : { // unique bridge name (string)

"receivers" : ["r1_tcp", "r1_udp"], // list of receivers that will pass to senders

"senders" : ["s1_osc-udp", "loopback"] // list of senders

// if no receivers needed, leave array blank -> [], initialized to null -> [null], or remove field entirely

// senders must be defined, otherwise netBridge serves no function, and corresponding console window will not be created

},

"Bridge_2" : {

"receivers" : ["r1_osc-udp"],

"senders" : ["s1_tcp", "s1_udp", "loopback"]

},

"Bridge_3" : {

"receivers" : ["r1_multicast"],

"senders" : ["s1_multicast", "loopback"] // pass to multicast sender, and to loopback for debugging

}


}

}


-----------------------------