Re: [LAD] basic MIDI note-on/note-off questions

From: Clemens Ladisch <clemens@email-addr-hidden>
Date: Fri Jun 25 2010 - 16:29:13 EEST

James Morris wrote:
> 1) Notes of zero duration?
>
> Are these legal MIDI?

Yes. There are synthesizers that can play percussion sounds at their
natural length and ignore note-off messages, so, sometimes, note-off
timing isn't available.

> Do I send a note-on with simultaneous note-off?

Yes. Some standards say that each note-on must have a corresponding
note-off.

> 2) note x ending simultaneously with note y beginning
>
> For example, a sequence of eighth notes, each an eighth in duration.
>
> As far as processing of these events goes, which should be processed first?

This depends. It is possible that a synthesizer plays these notes in
legato for certain instruments, but only if the note-on of the second
note is received before the note-off of the first note. And it's
possible that certain other notes are _not_ intended to be played legato.

Multiple messages with the same timestamp should never be reordered by
the sequencer.

Regards,
Clemens
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Jun 25 20:15:02 2010

This archive was generated by hypermail 2.1.8 : Fri Jun 25 2010 - 20:15:02 EEST