obs-midi

obs-midi 0.9.3-Alpha-3x

Kumi_de

New Member
Hi.
I am using a Korg Nanokontrol2.
The usage of the transport "rec" and "stop" controls works flawless.
When i start recording the led on the button turns on and stays on when i press the stop button. How can i make the "rec" led only turned on during recording and turning off when i press the stop button?
Thanx in advance,
Kumi
 

khaver

Member
I tried compiling the source and there are several problems. First, the compile on Windows 10 64bit, using Visual Studio 16 2019 Community Version, it creates the plugin with the name obs-studio.dll. In OBS, I can open the OBS MIDI Settings and select a device in the list, but when I check "Enable" OBS crashes.

Here's the pertinent part of the crash report:
Code:
Unhandled exception: c0000005
Date/Time: 2022-04-12, 20:43:37
Fault address: 7FFB93FC4300 (e:\obs-dev\obs-studio\build64\rundir\relwithdebinfo\obs-plugins\64bit\obs-studio.dll)
libobs version: 27.2.0-249-g14b1d34a0-modified (64-bit)
Windows version: 10.0 build 19043 (release: 2009; revision: 1586; 64-bit)
CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz


Thread EEC: (Crashed)
Stack            EIP              Arg0             Arg1             Arg2             Arg3             Address
000000C0BE33A738 00007FFB93FC4300 000000C0BE33A7F4 00007FFB93FA8D86 000001E6F6F3A390 000000000000000F obs-studio.dll!libremidi::midi_in::is_port_open+0x0
000000C0BE33A740 00007FFB93FA8BFA 000001E6E94A6F01 FFFFFFFFFFFFFFFF 0000000000000000 000001E6F798DD00 obs-studio.dll!MidiAgent::open_midi_input_port+0x3a
000000C0BE33A7D0 00007FFB93FB166F 000000C0BE33A9A0 0000000000000001 000001E6E94ED901 00007FFB728F1C9A obs-studio.dll!PluginWindow::on_check_enabled_state_changed+0x20f
000000C0BE33A8B0 00007FFB724F0B37 000001E6F6F4EEF0 000000C00000000C 000001E6F6F4EEF0 000000C0BE33B401 qt5core.dll!0x7ffb724f0b37
000000C0BE33AA00 00007FFB72FDCDDA 000001E600000002 000001E6F7084F60 0000000000000000 0000001000000010 qt5widgets.dll!0x7ffb72fdcdda
000000C0BE33AA40 00007FFB72FCE94D 000001E6E9507110 000000C0BE33AB08 000001E6F669FEF0 00007FFB72F467E3 qt5widgets.dll!0x7ffb72fce94d
000000C0BE33AA70 00007FFB72FCF69D 0000000800000005 000001E6E9507110 000000C0BE33B430 000001E6F6F4EEF0 qt5widgets.dll!0x7ffb72fcf69d
000000C0BE33AAA0 00007FFB72F27812 000001E6E9507110 000001E6E9507110 000000C0BE33B430 000000C0BE33B430 qt5widgets.dll!0x7ffb72f27812
000000C0BE33AB30 00007FFB72F04980 000000C0BE33B430 000000C0BE33AC60 0000000000000000 000000C0BE33AC60 qt5widgets.dll!0x7ffb72f04980
000000C0BE33AB60 00007FFB72F028A0 0000000000000000 000001E6E94ED990 000000C0BE33B430 000001E6E94ED990 qt5widgets.dll!0x7ffb72f028a0
000000C0BE33B0A0 00007FFB724D19CA 3FF0000000000000 0000000000000000 0000000000000000 3FF0000000000000 qt5core.dll!0x7ffb724d19ca
000000C0BE33B110 00007FFB72F05B85 0000000000000000 000001E6F6F4EEF0 0000000000000000 000001E6F70945C0 qt5widgets.dll!0x7ffb72f05b85
000000C0BE33B1D0 00007FFB72F500DB 0000000000000000 0000000000000215 0000000000000000 00007FFBA17C47EE qt5widgets.dll!0x7ffb72f500db
000000C0BE33B560 00007FFB72F4E0A4 000001E6E9507110 000001E6E94ED810 000000C0BE33BF10 000001E6F72113E0 qt5widgets.dll!0x7ffb72f4e0a4
000000C0BE33B630 00007FFB72F04980 000001E6E9507110 000000C0BE33B760 00007FFB72EF0000 00007FFB725F7D10 qt5widgets.dll!0x7ffb72f04980
000000C0BE33B660 00007FFB72F03A03 000001E6E950B3A0 000001E6E94ED990 000000C0BE33BF10 000001E6E94ED990 qt5widgets.dll!0x7ffb72f03a03
000000C0BE33BBA0 00007FFB724D19CA 000001E6E950B3A0 0000000000000003 000001E6E950B3A0 0000000000000000 qt5core.dll!0x7ffb724d19ca
000000C0BE33BC10 00007FFB72913076 00007FFB72EA4548 0000000000000024 0000000000000001 000001E6F162BA80 qt5gui.dll!0x7ffb72913076
000000C0BE33C0C0 00007FFB728FECD0 0000000000000000 00007FFB72EA4548 000000C0BE33C1F0 000001E6F75DA580 qt5gui.dll!0x7ffb728fecd0
000000C0BE33C0F0 00007FFB7251A83A 000001E6E950B240 0000000000000000 000001E6F75DA580 0000000000000000 qt5core.dll!0x7ffb7251a83a
000000C0BE33F210 00007FFBA1812619 0000000000000000 00007FFB00000014 0000000000000000 0000000000000040 qwindows.dll!0x7ffba1812619
000000C0BE33F240 00007FFB724CDE7C 000001E6E94C90B8 0000000000000000 000000C0BE33F7D0 00007FFB725EFC90 qt5core.dll!0x7ffb724cde7c
000000C0BE33F2A0 00007FFB724D0994 00007FF761CBC960 000000C0BE33F710 00007FF761CBC960 000000C0BE33F7D0 qt5core.dll!0x7ffb724d0994
000000C0BE33F300 00007FF761A01330 0000000000000000 000001E6E94DB440 000001E600000000 000001E6E94DB620 obs64.exe!run_program+0x950
000000C0BE33F6D0 00007FF761A038D0 0000000000000000 0000000000000000 0000000000000000 FFFFFFFFFFFFFFFF obs64.exe!main+0x6f0
000000C0BE33F8A0 00007FF761BA97B7 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs64.exe!WinMain+0x157
000000C0BE33F930 00007FF761BA9062 0000000000000000 0000000000000000 0000000000000000 0000000000000000 obs64.exe!__scrt_common_main_seh+0x106
000000C0BE33F970 00007FFBC0D87034 0000000000000000 0000000000000000 0000000000000000 0000000000000000 kernel32.dll!0x7ffbc0d87034
000000C0BE33F9A0 00007FFBC2622651 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!0x7ffbc2622651
 

torpex2002

New Member
hi there, love that I can use MIDI gear to control OBS with this, can I ask though, since the plugin occasionally dumps the mappings which need to be rebuilt from scratch, where are the mappings actually saved, so we might find a way to frig the system and just copy that data back in when it disappears?
Thanks
 

pietropavan77

New Member
Hello
I just tried the OBS Midi plugin on macOS Monterey, everything works fine, I can control OBS through an AKAI MPK mini.
I would like to be able to control OBS from an Ableton Live CLIP. How can I do this ?
I tried creating a dummy clip sending a CC to the AKAI mini in the hope it would reach the OBS, but it does not work...
Any ideas ?

Thanks
 

pietropavan77

New Member
Hello,

Is it possible to control OBS with dummy clips from a DAW ? I manage to use a MIDI controller to control OBS with this plugin, but I wanted to be able to do it from a dummy clip inside Ableton.
I try to map Ableton clip to output on the AKAI MPC mini, but it only works if I use the controller, and it will not work from a dummy clip.
Not to familiar with GitHub, and was wondering if this could be asked to the developers of the plugin...
 

EB123

Member
ive contolled OBS from Reaper previously which should be fundamentally the same as Ableton.. i think i just did a midi cable loop on my audio interface and seemed to work ok.. a midi loop back driver would probably work also..
 

Flex!

New Member
I just discovered this plugin today and testing it out. It's so close to working how I need it to for my setup! Unfortunately certain actions aren't working how I would hoped for, more specifically volume control, mute toggle, play/pause media, start and stop record.

I have tried to setup the action for Set Volume on the audio source as close as possible like what is shown in the videos (the matrix looks a little different on my end, picture included) and the closest thing I could get it to do is either an on or off for the volume control on either a fader or knob as someone else described. Using the Listen Many would automatically select Pitch Bend in which the Value would show the proper Value 0<->127, but nothing would happen on the fader after the fact. If using a knob, the Message Type would automatically change to Control Change and I would only get an on off action after the fact.

For the mute toggle action, it does the action (mute) when I press the button that I assigned it to, but as soon as I let go/depress the button it toggles the mute button off instead of staying on until I press the button again. Also, none of the LED's are activating like shown in the videos.

Play/pause Media is similar to Toggle mute in which it will pause the media when I press the button I assigned it to, and then play as soon as I depress the button. If that is what these actions where intended to do then they are working correctly, but I would just prefer that they run as described for the toggle mute. Other actions could probably be combined like Start record, stop record, etc.

The other actions in my settings work great. Do Transition works perfectly on the buttons I assigned them to for all of my scenes. Stop media does exactly what it supposed to though I wouldn't have a need for this action if the play/pause worked how I described for the Toggle mute. Same for the Start and Stop Record actions.

Anyway, thank you for all the hard work you put into this plugin it's really helping our workflow! I'm looking forward to see how this progresses.
OBS Midi Settings.png
OS: Kubuntu 20.04
OBS: OBS-Studio 27.1.3
Controller: Tascam US-2400

Side note: The Tascam US-2400 has built-in presets for things like Mackie Protocol, Pro Tools, Nuendo, and other DAWS which might play a role in how it will react to your plugin. I currently have it set to Mackie Protocol.
 

Gitago

Member
I use this fairly routinely but not to the extent in which I would like to..
Unfortunately nearly every time I load OBS I have to reset my macros for my midi devices since it doesnt save them properly...

It would be great to see this fixed as well as adding in the ability to move/zoom/rotate sources via sliders and knobs
 

lcalder

Member
I use this everyday and some of the settings (Rotate) don't save. So I have to reinput every time.
I've been watching and hoping for an update but haven't seen activity from the developers for over a year I think.
Maybe if someone has some experience with these kind of plugins they might consider taking it over. I would be willing to pay for a few bugs to be fixed.
This project seems to be 95% there...
 

4reil

New Member
Aha! I think I fixed it, I think it was an issue with my launchkey, it was a specific hidden option to disable the driver mode, so it hides the storage on windows. Seems stupid now, but it was really simple, if you are wondering its a Launchkey Mini MK3, the solution was to hold shift, and plug it in, and tap the yellow button so it turns to a dim yellow. Hope this helps, not a problem with the addon, it had me really confused.
Bro, you are the best. i was about to go on for a year with the same launchkey but you saved me. Thank you sm
 

Dittsche

New Member
Thanks for the plugin. I would love to use it, but my mapping is „always“ resetting. On Windows 10 an macOS Monterey.

So my question is where are the settings for the mapping saved on WIN and MAC, maybe I could save them for the next time.

Thank you.
 
Thanks for the plugin. I would love to use it, but my mapping is „always“ resetting. On Windows 10 an macOS Monterey.

So my question is where are the settings for the mapping saved on WIN and MAC, maybe I could save them for the next time.

Thank you.

I've posted about this earlier in the thread, but having used this plugin recently for a live theatre show, if by resetting you mean it's deleting your saved mappings, it's almost certainly due to a project with too long a name, or sources names that are too long, or have non-standard characters. This can even be if you open up an old project and then go back to the one you're using your midi bindings for.

I had made sure the scene collections I was using for the show all used short simple names for the collection, scene and source names, and eliminated any issues with the bindings going missing. However when I then opened up a different scene collection for a different show, when I returned to the other one the bindings had again been deleted.

TLDR: make sure all your scene collection names, scenes and source names are short with no special characters, even if you're not using them with obs-midi
 
Hey,
Love the plugin and have been using it to control OBS using a Midifighter controller on my arm macs.

This doesn't appear to be compatible with the upcoming Arm version of OBS now (v28).
Any plans to update this one? Would love to have it so I can update!
 

thecanniboss

New Member
Feeling like I must be missing something here, as I've gone thru the forums, used the installer, but I cannot find the OBS Midi plugin anywhere within OBS. Was hoping to use my Launchpad with this plugin, but seem to be stuck... I have a feeling I must be doing something wrong, and don't know what i'm really looking at when it comes to the ins and outs of my computer files, but would appreciate any help one could lend. Thanks!
 

EB123

Member
Feeling like I must be missing something here, as I've gone thru the forums, used the installer, but I cannot find the OBS Midi plugin anywhere within OBS. Was hoping to use my Launchpad with this plugin, but seem to be stuck... I have a feeling I must be doing something wrong, and don't know what i'm really looking at when it comes to the ins and outs of my computer files, but would appreciate any help one could lend. Thanks!
it should be under the tools menu.. also check youtube i think there are some setup tutorials..
 

nhielost

Member
I love this plugin. It serves my needs well, and works great. Unfortunately, I have also experienced similar problems to those listed in this discussion, but this is not as devastating for me as I only use two mappings.

I noticed that OBS Studio v28 will kill this plugin since it is not Qt 6 compatible. This plugin also seems to have lost its maintenance, as it has not been seriously updated since 2021 (as of this post).

So three months ago, after the announcement of the Qt 6 upgrade, I decided to begin making a new v28 compatible plugin that behaves the same way that this plugin does. The UI is a little different, but in my opinion looks a lot cleaner. This new plugin is not completely finished, but development is coming along well.

If desired, this new plugin can be found here. If you do try the new plugin out, feel free to share any issues or feedback that you may have. I hope the new plugin lives up to this one!
 

EB123

Member
ahhh awesome... i was starting to wonder if the old plugin was abandoned so its great to see development on a new version.. hopefully this one can evolve and get better, the last one had some bugs.. i will test it out and report any findings.. thanks..
 
Top