qtractor icon indicating copy to clipboard operation
qtractor copied to clipboard

add JACK midi support

Open grammoboy2 opened this issue 5 years ago • 8 comments

Please add Jack Midi support for better timing

From non-sequencer manual: "3.1.1. About Jack MIDI Connections

Since Jack MIDI is new and not all programs support it, many find themselves confused. This section attempts to explain Jack MIDI ports.

The ALSA sequencer interface has long been the standard MIDI routing subsystem on Linux. But many (all) of the programs we use for synthesis these days use Jack for their audio IO. It makes more sense for those MIDI related programs utilizing the Jack Transport for synchronization to also use Jack ports for MIDI delivery. Therefore, ALSA MIDI is quickly becoming obsolete.

Jack MIDI ports are not related to ALSA MIDI ports in any way. Jack MIDI ports are just like Jack audio ports, except that the data being transmitted in each buffer are raw, timestamped MIDI events instead of floating point audio samples. Jack MIDI is sample-accurate. This means that a MIDI Note On event can occur concurrently with a sound, and the two will never drift apart as often happens to some extent with ALSA.

In essence, Jack MIDI is a way of expressing a direct temporal correlation between audio and MIDI data. " http://non-sequencer.tuxfamily.org/MANUAL.html

grammoboy2 avatar Feb 19 '20 19:02 grammoboy2

that's all true and applies mostly when dealing with several and different JACK client applications; rest assured that inside and internal to qtractor, all tracks, busses and respective plugins, all MIDI processing is sample-accurate, have no doubt about that.

rncbc avatar Feb 20 '20 08:02 rncbc

On 20-02-2020 09:13, Rui Nuno Capela wrote:

that's all true and applies mostly when dealing with several and different JACK client applications; rest assured that inside and internal to qtractor, all tracks, busses and respective plugins, all MIDI processing is sample-accurate, have no doubt about that.

I think we should push our standards here. Midi applications on Linux should have JACK MIDI support. Especially those which are important for music composition like Qtractor. Timing is very important in music obviously and it seems also be important for JACK Transport to work as reliable as possible.

grammoboy2 avatar Feb 20 '20 08:02 grammoboy2

Pleasepleaseplease add jack midi. The only lack feature that stops me using qtractor always.

RarogCmex avatar Mar 07 '20 14:03 RarogCmex

On 3/7/20 3:27 PM, Reva Denis wrote:

Pleasepleaseplease add jack midi. The only lack feature that stops me using qtractor always.

Now you got me curious. Why is that so important for you?

grammoboy2 avatar Mar 07 '20 14:03 grammoboy2

you can always run a2jmidid -e & and bang! :) qtractor won't ever be rewritten all over again just to tell it's now using jack-midi for x sake! not in my watch, sorry cheers

rncbc avatar Mar 07 '20 17:03 rncbc

On 3/7/20 6:16 PM, Rui Nuno Capela wrote:

you can always run |a2jmidid -e &| and bang! Then you can connect JACK MIDI  to JACK MIDI indeed. But will it give JACK MIDI performance, that's the question.

grammoboy2 avatar Mar 07 '20 18:03 grammoboy2

On 3/7/20 3:27 PM, Reva Denis wrote: Pleasepleaseplease add jack midi. The only lack feature that stops me using qtractor always. Now you got me curious. Why is that so important for you? Direct connection to synthesizers

RarogCmex avatar Mar 08 '20 05:03 RarogCmex

Pleasepleaseplease add jack midi. The only lack feature that stops me using qtractor always. Now you got me curious. Why is that so important for you? Direct connection to synthesizers

only if those synths are jack-midi only! if it's about hardware/outboard synths then you simply have no big advantage to sticking with jack-midi--often it is worse; if the synth has a plug-in implementation (eg. LV2) then please use it on qtractor instead.

rncbc avatar Mar 08 '20 10:03 rncbc