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

Split jackmix into 2 pieces: one for Jack processing and one for the UI... #13

Open
alamaral opened this issue Jan 29, 2021 · 0 comments

Comments

@alamaral
Copy link

alamaral commented Jan 29, 2021

I was planning on using jackmix for an embedded project I'm working on, but since it's tightly bound to Qt, and I don't have an X display to use, I can't. I've had to basically write a matrix switcher, similar to what jackmix does, but entirely controlled by MIDI.

My suggestion would be to split apart jackmix into the part that does the Jack processing, and a separate UI. Comms could be achieved by MIDI, by coming up with a scheme to map controller ID's to the various volume controls, based on the (maybe maximum) number of inputs and outputs. You could then add a query function using Sysex commands and replies so that you can poll for the state of the knobs, or use a pub/sub model of some sort over MIDI and have jackmix send the updated states of the knobs to a different MIDI output which could be connected to the UI.

You could make it so that if you run the UI it spins up the Jack processor and automatically connects to it, so it would work exactly as it does now, but with the ability to run only the Jack processor if you don't want a UI.

By doing this you could then run jackmix as a standalone embedded app with no UI, maybe with a configuration file to set the initial conditions, and you could also run multiple UI instances, each of which might only control a subset of the inputs/outputs.

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

1 participant