OSC up (release) command

Discuss using the OSC interface to control SL

Moderator: jesse

Post Reply
ORL
Posts: 13
Joined: Tue Apr 07, 2009 3:32 pm

OSC up (release) command

Post by ORL »

Hi!

Is the
/sl/#/up command
supposed to act as a release of the command?

In other words, if I want to be sure to start a recording (or a play) with reverse set to off, shall I use /sl/#/up reverse ?
Because I've tried that, it acts exactly in the same way that /sl/#/hit reverse, and as a result, I cannot be sure that the recording (or play) will start with reverse set to off.

Thanks a lot.
Aurélien

jesse
Posts: 527
Joined: Sat Sep 06, 2008 9:46 am
Contact:

Re: OSC up (release) command

Post by jesse »

No, the 'up' command only does anything useful when following a 'down', in order to determine if it is a long-press operation that should do something (like a long press of undo, does undo_all), or for SUS commands.

As for the rest of your question, a fresh Record will always be forward (not reversed). As for ensuring that playback (after mute or pause) is not reversed, you actually need to check the 'rate_output' control (by using get), if it is negative, then you are in reverse, and need to first send the reverse command to flip the direction.

ORL
Posts: 13
Joined: Tue Apr 07, 2009 3:32 pm

Re: OSC up (release) command

Post by ORL »

Oh well, OK. I shall be able to make it work then. Thanks a lot.

Post Reply