Skip to content

Commit

Permalink
Documentation: WildCards for PCK not allowed in note on
Browse files Browse the repository at this point in the history
The NoteOn event needs port/channel/key specified. Add this
fact to the documentation.
  • Loading branch information
baconpaul committed Feb 19, 2024
1 parent a470662 commit bcdc1ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/clap/events.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
// - 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
Expand Down

0 comments on commit bcdc1ef

Please sign in to comment.