oscout() syntax/formatting question
Posted: 07 Aug 2012 18:06
I'm attempting get modumat http://liine.net/en/community/user-library/view/59/ to output osc in order to use it with The Missing Link. I've had some limited success by using oscout() in a script attached to the Modumat16unsync object, as follows:
oscout(0,'/midi/0xB0_23_x',out);
which essentially hard codes the Channel & CC#. It works.
The template provides two other variables, channelx & controllerx which contain the ui-selectable channel & CC #'s.
Using the syntax of oscout() with braces to specify multiple arguments, does anyone have any idea how to make it work w/ Missing Link using three variables? If I even remove the literal x in the above example, it breaks it. I'm enough of a noob to not get why the literal x is even necessary when used with oscout(). But it makes me think that adding more variables will involve some clever padding, underscores, spaces, literals, etc. Pretty much at my wit's end with this, any help would be a godsend, and greatly facilitate the next steps of my Lemur/OSC learning curve. Been at this an entire day, in up to my axles at this point, and oscout() info is really scarce, nonexistent in relation to the Missing Link.
Thanks for reading.
oscout(0,'/midi/0xB0_23_x',out);
which essentially hard codes the Channel & CC#. It works.
The template provides two other variables, channelx & controllerx which contain the ui-selectable channel & CC #'s.
Using the syntax of oscout() with braces to specify multiple arguments, does anyone have any idea how to make it work w/ Missing Link using three variables? If I even remove the literal x in the above example, it breaks it. I'm enough of a noob to not get why the literal x is even necessary when used with oscout(). But it makes me think that adding more variables will involve some clever padding, underscores, spaces, literals, etc. Pretty much at my wit's end with this, any help would be a godsend, and greatly facilitate the next steps of my Lemur/OSC learning curve. Been at this an entire day, in up to my axles at this point, and oscout() info is really scarce, nonexistent in relation to the Missing Link.
Thanks for reading.