Fader with different input & output messages?
Posted: 06 Aug 2012 01:16
Hi,
I have a fader in Lemur that outputs it's value as /fader1/ out to OSC 0, with a range from 0 to 1. Simple enough.
I have an OSC message coming from the Mac (Osculator) sending /delta1/ range 0 to 1. I presently have that controlling the value of a monitor object in Lemur, but I would also like to have the /delta1/ incoming message control my fader1 as well.
So basically, I need to remote control a fader with a different message than the fader already has.
I might be over thinking this, and I'm not too savvy with the lemur scripting yet, (wish the docs had some simple and practical scripting examples) but I'm assuming that I would need to associate the script with my fader1 object, declare a variable which is the present value of delta1, then have the script tell the fader to track that value, which is the part I'm not sure how to do.
Any help would be very much appreciated!
I have a fader in Lemur that outputs it's value as /fader1/ out to OSC 0, with a range from 0 to 1. Simple enough.
I have an OSC message coming from the Mac (Osculator) sending /delta1/ range 0 to 1. I presently have that controlling the value of a monitor object in Lemur, but I would also like to have the /delta1/ incoming message control my fader1 as well.
So basically, I need to remote control a fader with a different message than the fader already has.
I might be over thinking this, and I'm not too savvy with the lemur scripting yet, (wish the docs had some simple and practical scripting examples) but I'm assuming that I would need to associate the script with my fader1 object, declare a variable which is the present value of delta1, then have the script tell the fader to track that value, which is the part I'm not sure how to do.
Any help would be very much appreciated!