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

Connect to an arduino to build a hardware mixer #503

Open
mydudechris opened this issue Jun 12, 2021 · 4 comments
Open

Connect to an arduino to build a hardware mixer #503

mydudechris opened this issue Jun 12, 2021 · 4 comments

Comments

@mydudechris
Copy link

Is it possible to use this in combination with an Arduino to build a hardware mixer? Something like this:

https://www.thingiverse.com/thing:4627779

I'm imagining it's something like connect the arduino to midi devices then have them picked up by BGMusic?

I'm looking for something similar to Deej, hoping this is might work. Thanks for your hard work!

@kyleneideck
Copy link
Owner

@marcuswu recently added some properties to the AppleScript interface that you should be able to use for that.

Have a look at #457 and omriharel/deej#7.

@marcuswu
Copy link
Contributor

marcuswu commented Jun 13, 2021

The owner of the deej project stated he wouldn't merge my branch because it has external dependencies. You can find my branch with mac support at https://github.com/marcuswu/deej/tree/macSupport

@marcuswu
Copy link
Contributor

marcuswu commented Jun 14, 2021

Oh, one note about that branch -- I also added "event" support. It's basically just binary event passing as opposed to the analog data deej normally works on for volume control. This is helpful for other controls such as buttons. The config.yaml in that branch has an example event_mapping field which maps events to commands. Events are passed through the serial connection the same way as the volumes for deej are. All events are appended to the volume data following the same pattern of separating fields by the '|' character.

In my case I connected a button to both a USB switch and to the arduino. The button triggers the USB switch directly, but the arduino can also sense it which sends the event along to deej. When deej sees that button has been pressed, it executes a command to switch my monitor input source (via DDC). This in effect gives me a cheap KVM switch. I also built a simple audio mixer for my headphones with two input sources (two computers) into it.

@BeansIsFat
Copy link

@marcuswu, does your Mac version of deej communicate with MIDI control surfaces or is it Arduino-only? I already have a Behringer X-Touch Mini that I would prefer to use rather than build new hardware.

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

4 participants