uklotzde / djio

5 stars 2 forks source link

Add controller Traktor Kontrol S2 MK3 #8

Open Siilwyn opened 9 months ago

Siilwyn commented 9 months ago

:wave: nice project! I'm just starting to experiment with Rust by creating a GUI for my controller but have no experience with hardware... How do I add a new controller? I own the Traktor Kontrol S2 MK3 so it could be similar to the S4MK3?

uklotzde commented 9 months ago

The S4 MK3 only supports HID. The S2 MK3 might also support MIDI.

I suggest to start playing with Mixxx that already contains a mapping for the S2 MK3. Adding a MIDI mapping like for the Kaoss DJ and the DDJ-400 should be straightforward.

The USB HID code for the S4 MK3 code is directly imported from Moire and is in a very rough state. More or less unmaintained.

Unfortunately, we don't have a real use case for this library yet. Only a private, experimental project that uses web-audio-api-rs for the audio backend. If you want to start an app yourself I am glad to help.

flosse commented 9 months ago

I'm just starting to experiment with Rust by creating a GUI for my controller

I am very curious which framework you are using to build the GUI. I've also played around a bit with egui and iced, but I'm not completely convinced yet.

Siilwyn commented 9 months ago

Might have written too early, just got excited to discover this project right as I am playing with this stuff. But good idea I'll have a look at Mixxx and Moiré!

To expand on this I'm trying out Relm4, writing a simple interfact to play and mix songs if I ever get that far.