Homebrew Controller - can't send MIDI to controller

Fixxx your Mixxx

Moderator: garth

Homebrew Controller - can't send MIDI to controller

Postby dings » Mon Apr 02, 2012 9:58 pm

I'm working on an Arduino-based homebrew controller. At the moment I'm using ttymidi - http://www.varal.org/ttymidi/

Signals from the Controller to Mixx works fine, but not the other direction.

I've got in the Javascript:
Code: Select all
           midi.sendShortMsg(0x94, 0x02, 1);   // Turn on the Play LED1 on
           script.debug(1, 'playing', value, '', 'channel 1 playing sent');

mixxx --debugMidi shows only the debug message, ttymidi -v does not seem to receive it and the RX-Led on the arduino also stays dark.

On startup mixxx says:
Code: Select all
Debug: [Main]:  Found output device # 1 MIDI in
Debug: [Main]:  Found input device # 0 MIDI out

But in the preferences I see only the "0. MIDI out". The Output Select-Box keeps empty.

Any ideas?

Running mixxx-1.10.0 on Gentoo Linux 32Bit
dings
 
Posts: 12
Joined: Sun Apr 26, 2009 8:53 pm

Re: Homebrew Controller - can't send MIDI to controller

Postby Pegasus » Mon Apr 02, 2012 10:20 pm

Mixxx currently guesses at the association of MIDI in and out devices based on their names. It assumes both devices will have the same name. In your case, they don't so Mixxx thinks they're two separate controllers. You will have to change the code in midienumerator.cpp to ignore "in" and "out" at the end of device names and that should work.
"D.J. Pegasus"
Mixxx Developer - Controller Specialist
Mixxx Windows package maintainer
User avatar
Pegasus
Mixxx Developer
 
Posts: 1649
Joined: Thu Jan 29, 2009 7:48 pm
Location: Spangdahlem, RP, Germany

Re: Homebrew Controller - can't send MIDI to controller

Postby dings » Mon Apr 02, 2012 11:11 pm

Thank you!

I changed the names in ttymidi - this compiles much faster than mixxx ;)
dings
 
Posts: 12
Joined: Sun Apr 26, 2009 8:53 pm


Return to Troubleshooting & FAQ

Who is online

Users browsing this forum: No registered users and 1 guest