pico-example-midi
pico-example-midi copied to clipboard
Using MIDI with a Raspberry Pi Pico, TinyUSB, and the C++ SDK>
On my installation (from Raspberry site), the function "tudi_midi_write24" is not defined. I had to do so as follows : ``` static inline uint32_t tudi_midi_write24(uint8_t jack_id, uint8_t b1, uint8_t b2,...
Replaced tudi_midi_write24 which is sperseded by tud_midi_n_stream_write. To do so, it requires to add an array to store the MIDI message : msg[3]. Closes #1
You could avoid calculation the previous note by sending NOTE OFF before incrementing the counter, like that : ``` // Send Note Off for actual note. tud_midi_write24(0, 0, 0x80, note_sequence[note_pos],...