mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.25k stars 1.24k forks source link

Add MIDI output message delay queue #5632

Open mixxxbot opened 1 year ago

mixxxbot commented 1 year ago

Reported by: Pegasus-RPG Date: 2010-11-05T05:44:02Z Status: Confirmed Importance: Low Launchpad Issue: lp671277 Tags: controllers, midi


Some MIDI controllers require a certain amount of time (usually 10-15ms) between certain or all output messages. Currently, script programmers either use busy-wait loops or do some very clever (and very difficult) timer programming. We should implement an output command queue whose timer can be adjusted, but defaults to 1ns (which I think is the current value.) This way scripts can change the value on the fly for just the commands that need a bit longer, then change it back to the default.
Ideally this queue should be used for non-scripted controller output mappings as well, and add an <option> to adjust the timer for that command.

Examples: (Some?) Hercules controllers need 10ms between all output messages, and the SCS.3m needs 10ms between slider mode-change messages.

mixxxbot commented 1 year ago

Commented by: rryan Date: 2014-03-24T22:15:45Z


Freeing this one up.

mixxxbot commented 1 year ago

Commented by: ubuntu-linux-user Date: 2021-09-30T06:08:05Z


This issue affects the controller Behringer DDM4000, see https://github.com/mixxxdj/mixxx/pull/4318