MIDI issues in Daisy Seed since last libDaisy updates

Hello, greetings to you all !

I am working on getting a midi connection with Daisy Seed. I was sucessful using my arturia Keystep to trigger AdEnv envelopes, but as I was starting implementing an ADSR envelope, I noticed that the function asNoteOff() and the NoteOff event type were missing from the midi.h file that I cloned from the current Daisy examples repository. So, I updated my libDaisy files with the ones cloned from the current libDaisy repository, since I’ve figured out (maybe incorrectly) that the libDaisy link refered in the Daisy examples repository is leading me to an older version of the library. So, right now, with the “new version” I can’t create MidiHandler instances since it asks for some Parameters (?) and also I cannot use the some internal midi handler because the DaisySeed class does the midiUartHandler attribute.

Can someone share some light ?

Sorry for the lousy english :grimacing:

Thank you !

MIDI APIs were reworked recently, so yeah, old MidiHandler won’t work as-is. Have you looked into the updated Midi example? DaisyExamples/Midi.cpp at master · electro-smith/DaisyExamples · GitHub

Here’s actual code changes: Midi handler wrapup by beserge · Pull Request #350 · electro-smith/libDaisy · GitHub

1 Like

Thanks @brbrr ! I noticed that. Thank you for sharing the actual pull request refering to this change. I managed to solve it. It was a simple syntax fix.