libDaisy
libDaisy copied to clipboard
[MIDI] Basic output generation w/out dealing with bytes directly
This was originally intended to be added when we added parsing, and it must have just gotten glossed over.
There are some ideas in this forum post.
Also, as an alternative, we could flesh out the MidiEvent
types a bit more, and have SendMessage
dispatch those.
Overall, open to ideas, but currently the only method to deal with MIDI out is to directly manage the bytes.
A great source of inspiration is the MIDI lib used by Teensy:
https://github.com/FortySevenEffects/arduino_midi_library
I often look here when I need a specific snippet of code for MIDI output.
any update on this?
bump
@SnazzyBlanket thanks for the bump here, I must have missed the notifications.
We're wrapping up some improvements to the transport in #557, and then I think it'll be pretty easy to add some message specific functions like the teensy library above.
Something like:
midi.SendNoteOn(chn, nn, vel);
midi.SendNoteOff(chn, nn, vel);
midi.SendControlChange(chn, cc, val);
etc.
I'll try to shoot for having this in there by end of February :)
That would be great
Thanks for the heads up
Sent from my iPhone
On Jan 26, 2023, at 10:00 AM, Stephen Hensley @.***> wrote:
@SnazzyBlanket thanks for the bump here, I must have missed the notifications.
We're wrapping up some improvements to the transport in #557, and then I think it'll be pretty easy to add some message specific functions like the teensy library above.
Something like:
midi.SendNoteOn(chn, nn, vel); midi.SendNoteOff(chn, nn, vel); midi.SendControlChange(chn, cc, val); etc.
I'll try to shoot for having this in there by end of February :)
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.
Any update on this? :)