CLAP has its own API for playing notes. 'CLAP_NOTE_DIALECT_CLAP'
'clap_event_note' includes a 'note_id' a 'key' and a ''channel'.
Code: Select all
typedef struct clap_event_note {
clap_event_header_t header;
int32_t note_id; // -1 if unspecified, otherwise >=0
int16_t port_index;
int16_t channel; // 0..15
int16_t key; // 0..127
double velocity; // 0..1
} clap_event_note_t;The reason I bought MPE and MIDI 2.0 into the conversation is to provide evidence that a fully-featured system can and does exist without any need for a 'note_id'. That you can achieve all the benefits of CLAP without 'note_id'.
Solo asked a very reasonable question:
This is the conversation we are having. I am not saying "throw out CLAP_NOTE_DIALECT_CLAP and use MIDI instead".Is there a reason why PCK can’t be a note ID by itself in the standard. I mean, Is there a situation PCK is not unique enough, ie, two different playing notes are having the same port, same channel and same key? If not, then why have note ID in the first place.
It's a very simple question. I'm not hearing the answer.
