silveirago / traktorino

The open-source DIY MIDI Controller for DJs.
159 stars 36 forks source link

Mixxx profile #3

Open arthurlutz opened 5 years ago

arthurlutz commented 5 years ago

It would be nice to be able to use traktorino with a Mixxx https://www.mixxx.org/ the open source DJ software.

I've started a profile by detecting the Input Mapping, but am having trouble with the output mapping (turn on and off LEDs)

arthurlutz commented 5 years ago

Here is the "initial" config file I've started : https://gist.github.com/arthurlutz/25ea0970a9d26ba0394d54f1b79cdaea

Put it in $HOME/.mixxx/controllers/

arthurlutz commented 5 years ago

Here is the Mixxx documentation for this mapping, https://mixxx.org/wiki/doku.php/midi_controller_mapping_file_format

Unfortunatelly the Traktor XML file https://github.com/silveirago/traktorino/blob/master/Traktor/Traktorino.tsi is unreadable, I was hoping to get information from there. If anyone has a way to decrypt/decode it, that would be greate, or a screenshot of the configuration in traktor would be nice too.

WieFel commented 4 years ago

Thanks for your config! I have the exact same problem. My LEDs are not lighting up.

dulouie commented 3 years ago

Hi guys, I created a javascript profile for Mixxx some time ago. All sliders, pots and also the LEDs work. Unfortunately there are still a few bugs. For example, sometimes you have to click into the list again when selecting a song. I hope I will have more time to develop further soon. https://github.com/dulouie/traktorino/tree/mixxxscript/Mixxx

arthurlutz commented 3 years ago

Awesome @dulouie it works great ! (not sure what what "shift" does, and filter on/off seems to not work in my setup)

To get it working I had to cp Traktorino.midi.xml ~/.mixxx/controllers/Traktorino_MIDI_1.midi.xml (not sure why it needs the _MIDI_1 addition).

I think these files should be shipped directly with Mixxx so traktorino works out of the box, how would you feel about submitting them to https://github.com/mixxxdj/mixxx/tree/main/res/controllers ? Do you want help with that ?

dulouie commented 3 years ago

I think the shift-button allows a double assignment of the other buttons, you can theoretically control 4 decks, but I don't use it. Yes, I noticed the "_MIDI_1" but I have no idea why it only works with that. My goal is also a pull request to Mixx, but I want to fix the remaining bugs and clean up a bit frist, the logic to create the decks is not quite clean yet. If you like you can help me, i have the new branch for a PR here: https://github.com/dulouie/mixxx/tree/traktorino/

WieFel commented 3 years ago

@arthurlutz @dulouie really cool guys!! 👏🏼