Output clip speed via OSC to controller

Post your questions here and we'll all try to help.
Post Reply
DumbNoob
Posts: 30
Joined: Thu Apr 16, 2015 22:18

Output clip speed via OSC to controller

Post by DumbNoob »

Hello,

Keeping it brief. Using TouchOSC on iPad to change clip speed.

/composition/selectedclip/transport/position/behaviour/speed

Trigger clip 1, adjust its speed. Then, trigger clip 2, making no speed adjustment. I would like the rotary in TouchOSC to reflect the speed of that triggered clip. Then trigger clip 1. I would like the rotary control to recall the speed of that clip. I can't figure out how to do this. Thanks in advance for any suggestions.

User avatar
Arvol
Posts: 2893
Joined: Thu Jun 18, 2015 17:36
Location: Oklahoma, USA

Re: Output clip speed via OSC to controller

Post by Arvol »

You can send a "?" query via OSC to get a value sent back.

DumbNoob
Posts: 30
Joined: Thu Apr 16, 2015 22:18

Re: Output clip speed via OSC to controller

Post by DumbNoob »

Arvol wrote: Mon Jul 01, 2024 17:32 You can send a "?" query via OSC to get a value sent back.
Thank you for this suggestion. However, I am not sure how to write the command. (Note user name).
I've been blindly trying variations of the address, adding the "?" to different parts of the string, to no success. Reiterating that I use a rotary control in TouchOSC to change the speed of the currently selected clip. For argument, let's say the rotary gets adjusted to 25%. Then, trigger a different clip, I would like the rotary to reset to the current playback speed for that clip. Trigger the prior clip, I would like the rotary to reflect the playback speed for it (25% of the rotary, as before).
Thank you very much for any advice.

Zoltán
Team Resolume
Posts: 7483
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Output clip speed via OSC to controller

Post by Zoltán »

Arena should send this out automatically though, looks like that's not happening if you use the output all messages OSC preset. We'll look into that.

The polling works by sending a ? as string to the specific address you're interested in. You could set up a button for that in TouchOSC
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

DumbNoob
Posts: 30
Joined: Thu Apr 16, 2015 22:18

Re: Output clip speed via OSC to controller

Post by DumbNoob »

Zoltán wrote: Thu Jul 04, 2024 18:18 Arena should send this out automatically though, looks like that's not happening if you use the output all messages OSC preset. We'll look into that.

The polling works by sending a ? as string to the specific address you're interested in. You could set up a button for that in TouchOSC
Hi @Zoltán,

I was afraid to point out a somewhat-related behavior, functioning as desired. In TouchOSC, I've got a fader that allows the selected clip's position to be "scratched".

/composition/selectedclip/transport/position

Arena shortcuts set to Output All OSC Messages. As the clip is playing in Arena, the fader's cursor position in TouchOSC moves to reflect the percentage of the clip's duration. Ex. for a 10 second clip that has reached the 5 second point, the cursor in the fader will be at half. Very useful.

A better example might be with comp crossfader.

/composition/crossfader/phase

The value of the crossfader in Arena is sent to TouchOSC. Thus, even when changing the crossfader's phase in Arena, the changes are reflected on faders in TouchOSC that control the comp's crossfader.

Before your reply, I (again, blindly tested) created a button querying the selected clip's speed but couldn't get even that to work. But I'm really more interested in having the rotary (radial) that adjusts the selected clip's speed update dynamically (as with my examples above).
Appreciate all the help, thanks!

EDIT - I've been referring to the control as "rotary" where I meant to say "radial".

Post Reply