libDaisy icon indicating copy to clipboard operation
libDaisy copied to clipboard

[MIDI] Basic output generation w/out dealing with bytes directly

Open stephenhensley opened this issue 3 years ago • 7 comments

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.

stephenhensley avatar Feb 21 '22 19:02 stephenhensley

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.

makingsoundmachines avatar Mar 07 '22 16:03 makingsoundmachines

any update on this?

SnazzyBlanket avatar Jul 15 '22 23:07 SnazzyBlanket

bump

SnazzyBlanket avatar Dec 23 '22 14:12 SnazzyBlanket

@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 :)

stephenhensley avatar Jan 26 '23 15:01 stephenhensley

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.

SnazzyBlanket avatar Jan 26 '23 20:01 SnazzyBlanket

Any update on this? :)

filipforsstrom avatar Jan 18 '24 15:01 filipforsstrom