Re: [LAD] successive note on midi events

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Wednesday, April 14, 2010 - 1:13 am

> A string of note-ons following each other all for the same pitch n without

No.

MIDI note-on represents a key press. Note-OFF - key release.

There is no logical way a key can be pressed a second time without first
releasing it.

It might be *technically* possible for a MIDI stream to contain two note-ons
(for the same key)...but it's SEMATICALLY incorrect to launch two voices
because you have no unambiguous way to turn just one instance off.

Back to your question.

a) Nothing, the note is already on.
b) Re-trigger, the voice is reset and the note gets played from the top.
c) Trigger, a new voice is assigned and will play simultaneously to previous
voices.

Given that it does happen accidentally. 'a' and 'b' are reasonable. 'c' is
wrong because with MIDI a key is either 'ON' or 'OFF', it can't be 'ON'
twice.

Anyone deliberately wanting the same key on twice must resort to using two
MIDI channels. Anyone wanting the same pitch twice must either resort to
multiple MIDI channels or to MIDI microtuning commands.

Best Regards,
Jeff

_______________________________________________
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] successive note on midi events, Jeff McClintock, (Wed Apr 14, 1:13 am)
Re: [LAD] successive note on midi events, Paul Davis, (Wed Apr 14, 2:04 am)
Re: [LAD] successive note on midi events, Jens M Andreasen, (Wed Apr 14, 10:22 am)
Re: [LAD] successive note on midi events, Ralf Mardorf, (Wed Apr 14, 12:39 pm)
Re: [LAD] successive note on midi events, James Morris, (Wed Apr 14, 11:19 pm)