e/midi@0.1.0

License: MIT

Basic abstractions to work with MIDI. Used in e/usb-midi, e/serial-midi and other libraries.
NodeDescription
control-change
Creates a Control Change message
filter-by-channel
Allows only messages with a specific channel to pass through. If a message is not channel specific (like system messages), it will still be let through.
message
Creates a MIDI message
mod-wheel
Creates a Control Change message for Modulation Wheel
note-off
Creates a Note Off message
note-on
Creates a Note On message
on-control-change
Extracts values from incoming CC messages with a specified Control number, ignores the rest.
on-mod-wheel
Extracts values from incoming Modulation Wheel CC messages, ignores the rest.
on-note-off
Extracts note number and velocity from incoming Note Off messages, ignores the rest.
on-note-on
Extracts note number and velocity from incoming Note On messages, ignores the rest.
on-pitch-bend
Extracts values from incoming Pitch Bend messages, ignores the rest.
on-program-change
Extracts program number from incoming Program Change messages, ignores the rest.
pitch-bend
Creates a Pitch Bend message
program-change
Creates a Program Change message
receiveNo description
sendNo description
unpack-message
Unpacks type, channel number and data bytes from a MIDI message
To use the nodes in your project you should have the e/midi library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.