General

Text over osc

Started by nitefish on .

Sign in or create an account to join the conversation.

3 posts

Hi, nitefish!

I was able to figure out how to send text from Lemur over OSC into Plogue Bidule on my Mac; here’s how I did it.

In Bidule I opened a Comments bidule, which is just a repository for text; the text can be populated by sending an OSC string to the address /Comment_1/Comment:_ .

So in Lemur, I created a Pads. I gave it a variable which I named n, and in its script window I typed ‘Hello World!’ (you need to enclose the text in single quotes or the Lemur Editor won't parse it--also the text can not contain apostrophes). I then created a new script which I called world(), executing on x in any direction, and for the body of the script, I typed:
oscout(0,'/Comment_1/Comment:_’,n);
where 0 is the OSC target, next is the OSC address to send the string to (don't forget to enclose the address in single quotes), and n is the variable representing the string that will be sent. You should uncheck the variable x in the project window, otherwise it will send 0 or 1 values every time you touch the Pads.

And that worked for me; every time I tapped the Pads, Bidule received Hello World! over OSC.

I’m not a super sophisticated user of Lemur, so someone might come along with a more elegant method.

But I hope this helps!

Text over OSC.jzlib