Closed sadko4u closed 1 year ago
To answer your questions (but I agree we can expand these). A lot of it depends on https://github.com/free-audio/clap/blob/main/include/clap/ext/note-ports.h this extension.
Also, give the event.h
documentation a read for more details on what those events do: https://github.com/free-audio/clap/blob/main/include/clap/events.h
OK, now it's clear, thanks.
When I look at message types, it is pretty unclear for me, what's the difference between
CLAP_EVENT_NOTE_ON
,CLAP_EVENT_NOTE_OFF
andCLAP_EVENT_MIDI
andCLAP_EVENT_MIDI2
messages which also can be suitable for sendingNOTE ON
andNOTE OFF
events.What's the difference? When I will receive the
MIDI NOTE ON
event and when I will receiveCLAP_EVENT_NOTE_ON
?What's the
port_index
field responsible for in event structures likeclap_event_midi
andclap_event_midi2
?I think it will be nice to have more details about the difference in the comments to the headers.