Git Product home page Git Product logo

Comments (15)

lebaston100 avatar lebaston100 commented on May 24, 2024

Thanks for your feedback. I will investigate this.

For the future there are some changes in the recent websocket plugin release that i have to implement but this will be a few weeks.

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

I pushed a fix for this. Can you download it again and try it? Waiting for your response.

from miditoobs.

OGAwal avatar OGAwal commented on May 24, 2024

Setup.py is crashing. See screen cap.

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

Well, that's a new one. shouldn't have anything to do with the other bugfix. Is the device still open in another application?

from miditoobs.

OGAwal avatar OGAwal commented on May 24, 2024

That was the cause. I have the controller attached to voicemeeter. I closed it down setup.py is working. It seems like the hotfix is working. It is hiding/unhiding the sources appropriately. Thank you. Do you know if there is a way to modify the config file to attach 2 sources to the same midi key?

Unfortunately, I did not know I couldn't have both voicemeeter and your script running. They conflict. :(

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

Now there is one :D Download your custom build from here: https://drive.google.com/file/d/1j6mR7vZGPm-ErW7JxjzYAq3GxUlhBki_/view?usp=sharing
How to setup:
Set the functions up as normal on 2 different buttons. Now stop the setup.py and open the config with a text editor.
Change the "msgNoC" value of the 2. button to the value of the first button: Here is an example:
Before: https://imgur.com/a/m2aje
After: https://imgur.com/a/XFXYo
Now start the main.py as normal and it should send it at the same time.
There is no limit on how many different functions you can assign. You should even be able to mix different ones but this is not tested.

from miditoobs.

OGAwal avatar OGAwal commented on May 24, 2024

Wow thank you. Your link is giving me a 404 error. Also, just as a question of curiosity... The script you wrote has the ability to toggle mute in OBS. This ability is not available for rendering sources... is that an OBS limitation? I don't know coding, so please pardon my ignorance.

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

Try again as i had edited the link earlier.
I basically just use the api provided by the websocket plugin as seen here: https://github.com/Palakis/obs-websocket/blob/master/docs/generated/protocol.md
It has a function to toggle the mute status of a source but not for visibility. As i said earlier there is some work to do and i will add this to the todo list.

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

I will close this issue because the problem is fixed, Feel free to contact me again if there are any problems.

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

Just to give you an update with the latest update i've implemented the macro support and a toogle for the visibility.

from miditoobs.

OGAwal avatar OGAwal commented on May 24, 2024

Hi lebaston! I just wanted to let you know I got your message about the update. I appreciate your on going effort with this plugin. It still is the only thing I can find that functions well. With the update to "togglesourcevisibility"... it works, but it doesnt. I tried to set 2 sources to toggle on the same button. I want one to become visible and the other to become invisible with the same key press. Though I change the script appropriately, it doesn't work. Any easy fix to that?

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

I will try it and get back to you.

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

Found the bug and hopefully fixed it now with the last commit.

from miditoobs.

OGAwal avatar OGAwal commented on May 24, 2024

Works amazing! Thank you very much. I would love to post this on the OBS forums with your permission. Should it work with most midi devices?

from miditoobs.

lebaston100 avatar lebaston100 commented on May 24, 2024

Thanks for letting me know. I can't fix what I don't know.
I have thought about posting it in the scripts section of the forum but i won't do that.
But feel free to suggest it if someone asks in the forum or discord or wherever.

from miditoobs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.