commit e4ef255d78f97316fc303b93978b5dbfdcf34a7f
parent a4706628275676f49ecdd00c639a10343760b49f
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Tue, 20 Feb 2024 09:11:58 +0100
Merge pull request #394 from baconpaul/noteon-wildcard
Documentation: WildCards for PCK not allowed in note on
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/include/clap/events.h b/include/clap/events.h
@@ -144,6 +144,12 @@ enum {
// Well constructed plugins will search for voices and notes using
// the entire tuple.
//
+// In the case of note on events:
+// - The port, channel and key must be specified with a value >= 0
+// - A note-on event with a '-1' for port, channel or key is invalid and
+// can be rejected or ignored by a plugin or host.
+// - A host which does not support note ids should set the note id to -1.
+//
// In the case of note choke or end events:
// - the velocity is ignored.
// - key and channel are used to match active notes