nhielost / obs-midi-mg

Allows MIDI devices to interact with OBS Studio.
GNU General Public License v2.0
154 stars 9 forks source link

Transition bar and fader #82

Open ogmkp opened 1 year ago

ogmkp commented 1 year ago

Hello and thank you for this great plugin! I use it on Debian.

I have a problem when I use my fader with the Set Transition Bar Position. When I push it from 0 to 127, the transition is fine but the Transition Bar returns to 0 after this action, then when I lower my fader, it sends from 127 to 0 and the transition bar starts from 1024 to 0 which is very bad (the preview is displayed instantly and returns to the program which in the end does not change scene).

Is there a solution?

Thanks a lot!

ogmkp commented 1 year ago

Is it possible to have a two-way transition on the OBS bar @nhielost ?

DFWJunior commented 10 months ago

yeah this is a very strange problem. i check some of MIDI VMix controller,it also is 0-127. but when VMix detected push to 127(trigger go),it will run the Transitions until it completed. OBS didn;t have this problem. seems like it need a function to temporlay disable MIDI from 127-0 or 0-127(depends MIDI Firmware).

ogmkp commented 10 months ago

Do you think the midi controller firmware should send 0 -> 127 regardless of the fader position (up or down)? I think it's going to be complicated to manage this in firmware, but is it possible to have a checkbox on the midi plugin to say "hey on this note, if you detect that the fader is doing 127 -> 0 you invert the values to simulate a 0 -> 127" that might work?

DFWJunior commented 10 months ago

Do you think the midi controller firmware should send 0 -> 127 regardless of the fader position (up or down)? I think it's going to be complicated to manage this in firmware, but is it possible to have a checkbox on the midi plugin to say "hey on this note, if you detect that the fader is doing 127 -> 0 you invert the values to simulate a 0 -> 127" that might work?

wait me for somedays to have a check about previous design.

mawdesign commented 3 months ago

A toggle option so that once it reaches 127 it inverses the map until it reaches 0 again. This is because OBS doesn't leave the transition bar at 127 but instead resets it to 0 so it is always left to right.

DFWJunior commented 2 months ago

A toggle option so that once it reaches 127 it inverses the map until it reaches 0 again. This is because OBS doesn't leave the transition bar at 127 but instead resets it to 0 so it is always left to right.

this idea seems useful. i've check some of Transition Bar design which was used like,eg,vMix. it was a MIDI bar but can be back from 127 to 0 by itself. so it need two thing:

1, your hardware design can have a self-back from 127 to 0 2.plugin only read signal to "add",like 0 to 127,but it won't check signal from 127 to 0.