Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T-Bar control #22

Open
pmaillot opened this issue Feb 27, 2023 · 2 comments
Open

T-Bar control #22

pmaillot opened this issue Feb 27, 2023 · 2 comments

Comments

@pmaillot
Copy link

Any chance to have an OSC command set to control the OBS T-BAR? The latest OBS doc mentions the following:
Set the Transition Bar position (in Studio Mode). If you need to perform multiple successive T-Bar moves (e.g. : in an animation, or in response to a user moving a T-Bar control in your User Interface), set release to false and execute Release Transition Bar command later once the animation/interaction is over.

Name | Type | Description
Position | Float | Value must be between 0.0 and 1.0.
Release | Boolean | True or False

@jshea2
Copy link
Owner

jshea2 commented Feb 28, 2023

Yeah, I can definitely look into adding it. I'm unfamiliar with this feature, how would the syntax for the OSC command make the most sense to you?

@pmaillot
Copy link
Author

This would be fantastic!

A form like
/tbar ,fi [0..1] [0/1] would be great
with /tbar being the OSC address, taking two OSC parameters, the first one being float 0 to 1 and the second one being int 0 or 1.

I'd guess a good use case would be send a successive set of commands
/tbar ,fi <tbar_value><0>
and on the last user move of the T-bar (reaching max for example, or after a timeout)
/tbar ,fi <tbar_value><1>

The [1] value for release would snap the T-Bar to its initial position, not changing the resulting transition that took place, and preparing for the next to come transition.

On automated transitions (such as fade, with a transition time of 3000 for ex) one can imagine the program to run the equivalent of /tbar ,fi <0>, with value from 0.0 to 1.0, fading to the new scene in 3000ms, and releasing the T-Bar to its initial 0 position once done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants