blaxpot / traktor-s4-mk1-midify

Get MIDI signals from a Traktor S4 DJ controller under linux
MIT License
10 stars 2 forks source link

Problem with Mixxx communications #2

Open jmanera opened 1 year ago

jmanera commented 1 year ago

As we told on Mixxx forum,

I have successfully gotten the controller to send messages to Mixxx correctly. But, when Mixxx sends messages to the controller, it returns these errors:

In Mixx (controller debug): Warning [Controller]: Error sending short message “traktor-s4-mk1-midify: status 0xB0 (ch 1, opcode 0xB), ctrl 0x46, val 0x00” Warning [Controller]: PortMidi error: PortMidi: `Host error’

In traktor-s4-mk1-midify: MidiInAlsa::alsaMidiHandler: unknown MIDI input error! System reports: Resource temporarily unavailable

I have tried if they are permission issues, but I get the same results. And if I send commands from traktor-s4-mk1-midify to the controller, everything works fine…

Maybe is an OS problem o miss configuration…

I hope some of you can help me. And many thanks again!

blaxpot commented 1 year ago

I don't think it's a configuration problem on your end. I have the same issue.

It seems that the program is having trouble handling the MIDI messages to control the vu meter LEDs for some reason. I haven't quite figured out why yet but it's certainly on my TODO list.

jmanera commented 1 year ago

Fine! If you need some help to resolve it, please, let me know.

I'll try to do some testing on my own.

Thanks!

jmanera commented 1 year ago

Hi! I have created a repo (based on your idea) for the Traktor Kontrol S4 Mk1 Driver for Mixxx. Please, could you take a look: https://github.com/jmanera/traktor-kontrol-s4-mk1-driver-linux.

I solved issues related to Leds, VU Meters, and Beat Loop size.

I expect that you are happy with this!

Thanks. (Sorry for my English)

jmanera commented 1 year ago

The problem of this issue is related to print on the Midi In Callback, if you send some information to the console, it produces a Port Host error in the driver. Maybe errors or information.

I can solve it by sending the information to a log file.

Regards.