We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So I am working on this thingy where I use my MIDI Keyboard with drumpads as a kind of streamdeck but than different.
I need to use a:
async def mainloop(): running = True while running: for msg in midi_in.iter_pending(): # do stuff here with msg
What ever I try, it doesn't want to run both at the same time
Here is a list with things I tried:
loop.create_task(mainloop())
loop.run_forever
asyncio.run_coroutine_threadsafe(mainloop(), loop)
But yeah I just need to listen on the CurrentProgramSceneChanged and CurrentSceneCollectionChanged events and the events from my midi input.
CurrentProgramSceneChanged
CurrentSceneCollectionChanged
Please help me out!
P.s. There is some kind of pressure on this, cause it is needed pretty soon!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
So I am working on this thingy where I use my MIDI Keyboard with drumpads as a kind of streamdeck but than different.
I need to use a:
What ever I try, it doesn't want to run both at the same time
Here is a list with things I tried:
loop.create_task(mainloop())
loop.run_forever
and runningasyncio.run_coroutine_threadsafe(mainloop(), loop)
But yeah I just need to listen on the
CurrentProgramSceneChanged
andCurrentSceneCollectionChanged
events and the events from my midi input.Please help me out!
P.s. There is some kind of pressure on this, cause it is needed pretty soon!
The text was updated successfully, but these errors were encountered: