Re: [LAD] send midi message

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pedro Lopez-Cabanillas <pedro.lopez.cabanillas@...>
Cc: <linux-audio-dev@...>
Date: Sunday, January 8, 2012 - 3:28 pm

On Sun, Jan 8, 2012 at 6:14 AM, Pedro Lopez-Cabanillas
wrote:

>> I've always thought that Jack MIDI is easier to program and provides

this is bullshit, pure and simple.

there is no MIDI API (on Linux or anywhere else, not considering
plugin APIs) that ensures the delivery of MIDI in the same thread as
audio processing. this means that if you are doing synthesis based on
MIDI data, which after all is the original purpose that MIDI was
intended for, and you're not using JACK then you face issues of
either latency or jitter (or both). JACK MIDI aims to solve those
problems at the same time as offering developers (and users) the same
abstractions and application design and interface as they would use
for audio. Given that MIDI's primary purpose has been to drive and
control audio synthesis, that seems entirely appropriate.

Now, should you want to use MIDI for some entirely different purpose -
for example, the subsets/extensions of MIDI such as show control or
machine control, then its certainly true that JACK MIDI isn't really
the idea API for that. This would also apply if you wanted to use MIDI
to control automated equipment in your house.

Its also the case that if you are sending pre-existing MIDI data, then
JACK MIDI is somewhat more cumbersome than the type of API like
ALSA's, which allows you queue up a huge chunk of MIDI data and have
its delivery taken care of for you. Somebody could easily provide a
wrapper for this around JACK MIDI, but it hasn't happened, I suspect
because most things that send MIDI are not actually "MIDI file
players" and the "file player" type of application is already well
addressed with ALSA-based utilities. For sequencer applications like
Ardour, Muse, QTractor, Rosegarden and so on, the ALSA API actually
creates an entire additional layer ot complication if you want precise
synchronization with audio synthesis.

So, I'm not precisely sure what other use cases you see for MIDI
besides one that intimately links MIDI with audio data in real time,
but no matter what they are, this such an overwhelmingly common and
dominant use case that JACK MIDI's model of things appears to me
entirely appropriate and very far from hype and propaganda.

Yes, its true that it would have been better not to create a new API.
But if you talk to the people involved in the original design of the
ALSA sequencer, they acknowledge that for the last 6-7 years at least,
it could have been in user space and probably should have been. Nobody
is willing to put the time in to change that, and so ...
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] send midi message, Pedro Lopez-Cabanillas, (Fri Jan 6, 10:22 am)
Re: [LAD] send midi message, Dave Stikkolorum, (Fri Jan 6, 10:37 am)
Re: [LAD] send midi message, Dan Muresan, (Fri Jan 6, 11:07 am)
Re: [LAD] send midi message, Pedro Lopez-Cabanillas, (Sat Jan 7, 10:56 am)
Re: [LAD] send midi message, Dan Muresan, (Sat Jan 7, 10:13 pm)
Re: [LAD] send midi message, Pedro Lopez-Cabanillas, (Sun Jan 8, 11:15 am)
Re: [LAD] send midi message, Paul Davis, (Sun Jan 8, 3:28 pm)
Re: [LAD] send midi message, Paul Davis, (Sat Jan 7, 11:31 pm)
Re: [LAD] send midi message, Dave Stikkolorum, (Sun Jan 8, 10:48 am)
Re: [LAD] send midi message, Dave Stikkolorum, (Sat Jan 7, 11:06 am)
Re: [LAD] send midi message, thijs van severen, (Sat Jan 7, 9:35 pm)
Re: [LAD] send midi message, Ralf Mardorf, (Thu May 16, 2:10 pm)
[LAD] UIs (was Re: send midi message), Julien Claassen, (Thu May 16, 2:57 pm)
Re: [LAD] UIs (was Re: send midi message), Ralf Mardorf, (Fri May 17, 6:58 am)
Re: [LAD] UIs (was Re: send midi message), hermann meyer, (Fri May 17, 11:16 am)
Re: [LAD] UIs (was Re: send midi message), Ralf Mardorf, (Fri May 17, 11:40 am)
Re: [LAD] UIs (was Re: send midi message), hermann meyer, (Fri May 17, 11:56 am)
Re: [LAD] UIs theming problem (was Re: UIs), Nikita Zlobin, (Fri May 17, 9:38 am)
Re: [LAD] UIs theming problem (was Re: UIs), Paul Davis, (Fri May 17, 10:32 am)
Re: [LAD] send midi message, Dave Stikkolorum, (Fri Jan 6, 11:19 am)
Re: [LAD] send midi message, Dan Muresan, (Fri Jan 6, 11:33 am)
Re: [LAD] send midi message, thijs van severen, (Fri Jan 6, 10:05 pm)
Re: [LAD] send midi message, m.wolkstein@gmx.de, (Fri Jan 6, 10:21 pm)
Re: [LAD] send midi message, Dan Muresan, (Sat Jan 7, 7:59 am)
Re: [LAD] send midi message, Dave Stikkolorum, (Sat Jan 7, 11:04 am)
Re: [LAD] send midi message, Dave Stikkolorum, (Fri Jan 6, 12:14 pm)
Re: [LAD] send midi message, Paul Davis, (Fri Jan 6, 12:22 pm)
Re: [LAD] send midi message, Dave Stikkolorum, (Fri Jan 6, 12:32 pm)
Re: [LAD] send midi message, Tim E. Real, (Fri Jan 6, 8:59 pm)
Re: [LAD] send midi message, Dave Phillips, (Fri Jan 6, 12:40 pm)
Re: [LAD] send midi message, Dave Stikkolorum, (Fri Jan 6, 12:54 pm)
Re: [LAD] send midi message, Paul Davis, (Fri Jan 6, 1:02 pm)