Beginner Osc Message

I’m starting out with Renoise and similarly OSC. I want to send an OSC message from MaxMSP to bypass a device.

I have had success with transport controls and channel postfx panning.

I wish to bypass the filter 3 device (1st device after ‘track master control’) on track 02

In Max MSP I have a toggle box attached to an object that reads: prepend /renoise/song/track/02/device/00/bypass

renoise receives a message stating “/song/track/02/device/00/bypass with 1 arguments” but nothing happens…

any tips would be greatly appreciated!

This
“/song/track/02/device/00/bypass”

Should probably be this
“/song/track/02/device/01/bypass”

I am pretty certain that would be the location of the filter device based on your description. (first device)
Depending on if the filter device can be bypassed?

That should be it, just had a look here
http://www.google.com/codesearch/p?hl=en#wmuhthlQ2bg/trunk/GlobalOscActions.lua&q=bypass%20package:http://xrnx\.googlecode\.com&sa=N&cd=1&ct=rc

In the device index “00” is always the volume/pan/width, “01” is the first instance of an added device.

thanks for the info.

thanks for clearing up the device indexing. although I had tried 01 and alas it still does not work. have tried compressor and chorus devices in that position too to check if it was just the filter not responding but they didn’t work either.

I think it must be how the message is sent from MAX.

currently I have a toggle box going in to the Prepend Object which either sends 1 or 0. I guess I need to define true/false (I have tried message boxes with this typed in but no success here either)

I’m not familar with MAX though bypass is a Boolean.

A boolean should only be submitted as F or T tag-type without arguments.
I have no idea how Max does this either.

1 or 0 numbers, or the strings “true”, “false” are accepted as boolean args in Renoise’s default OSC impl.

Regarding the example above:
“renoise/song/track/02/device/01/bypass”

1 is the very first device, the mixer device (the thing that has the vol/pan sliders in each track) - we’re counting from 1 here. Try
“renoise/song/track/02/device/02/bypass” instead, or
“renoise/song/track/-1/device/-1/bypass” for the currently selected tracks, currently selected device.

Ah that explains a lot. Didn’t realise it was device 2. Could a note about that please be put on the wiki.

this patch works

code here

[details=“Click to view contents”]

  
{  
 "boxes" : [ {  
 "box" : {  
 "maxclass" : "newobj",  
 "text" : "print",  
 "id" : "obj-8",  
 "fontname" : "Arial",  
 "numinlets" : 1,  
 "numoutlets" : 0,  
 "fontsize" : 12.0,  
 "patching_rect" : [22.0, 101.0, 34.0, 20.0]  
 }  
  
 }  
, {  
 "box" : {  
 "maxclass" : "toggle",  
 "id" : "obj-7",  
 "numinlets" : 1,  
 "numoutlets" : 1,  
 "outlettype" : ["int"],  
 "patching_rect" : [76.0, 24.0, 20.0, 20.0]  
 }  
  
 }  
, {  
 "box" : {  
 "maxclass" : "message",  
 "text" : "/renoise/song/track/1/device/2/bypass $1",  
 "id" : "obj-5",  
 "fontname" : "Arial",  
 "numinlets" : 2,  
 "numoutlets" : 1,  
 "fontsize" : 12.0,  
 "outlettype" : [""],  
 "patching_rect" : [76.0, 53.0, 228.0, 18.0]  
 }  
  
 }  
, {  
 "box" : {  
 "maxclass" : "newobj",  
 "text" : "udpsend 127.0.0.1 8000",  
 "id" : "obj-1",  
 "fontname" : "Arial",  
 "numinlets" : 1,  
 "numoutlets" : 0,  
 "fontsize" : 12.0,  
 "patching_rect" : [76.0, 101.0, 140.0, 20.0]  
 }  
  
 }  
 ],  
 "lines" : [ {  
 "patchline" : {  
 "source" : ["obj-5", 0],  
 "destination" : ["obj-8", 0],  
 "hidden" : 0,  
 "midpoints" : []  
 }  
  
 }  
, {  
 "patchline" : {  
 "source" : ["obj-5", 0],  
 "destination" : ["obj-1", 0],  
 "hidden" : 0,  
 "midpoints" : []  
 }  
  
 }  
, {  
 "patchline" : {  
 "source" : ["obj-7", 0],  
 "destination" : ["obj-5", 0],  
 "hidden" : 0,  
 "midpoints" : []  
 }  
  
 }  
 ]  
}  
  
  
``` [/details]