oscout() syntax/formatting question

Discuss Lemur and share techniques.
Post Reply
ForestCat
Regular
Posts: 59
Joined: 02 Mar 2012 21:00

oscout() syntax/formatting question

Post by ForestCat »

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.
ForestCat
Regular
Posts: 59
Joined: 02 Mar 2012 21:00

Re: oscout() syntax/formatting question

Post by ForestCat »

Well, after some weeping, gnashing of teeth, and a couple of great suggestions on the Missing Ling forum, I got it working. So for the sake of any future truth seekers, details can be found here:

http://wifimidi.com/phpBB3/viewtopic.php?f=4&t=3824
Post Reply