MidiProto.Message protocol (midi_proto v0.2.0)
Common behaviour for all MIDI message types.
Allows you to check the capabilities of a MIDI message or encode it into a message for transmission.
Summary
Functions
Is the message a active sense message?
Is the message a channel pressure message?
Is the message a continue message?
Is the message a control change message?
Encode the message into a binary for sending.
Is the message a note-off message?
Is the message a note-on message?
Is the message a pitch bend message?
Is the message a polyphonic pressure message?
Is the message a program change message?
Is the message a realtime message?
Is the message a song position message?
Is the message a song select message?
Is the message a start message?
Is the message a stop message?
Is the message a system message?
Is the message a system reset message?
Is the message a time code quarter frame message?
Is the message a timing clock message?
Is the message a tune request message?
Types
@type t() :: term()
All the types that implement this protocol.
Functions
active_sense?(message)
Is the message a active sense message?
channel_pressure?(message)
Is the message a channel pressure message?
continue?(message)
Is the message a continue message?
control_change?(message)
Is the message a control change message?
encode(message)
Encode the message into a binary for sending.
note_off?(message)
Is the message a note-off message?
note_on?(message)
Is the message a note-on message?
pitch_bend?(message)
Is the message a pitch bend message?
polyphonic_pressure?(message)
Is the message a polyphonic pressure message?
program_change?(message)
Is the message a program change message?
realtime?(message)
Is the message a realtime message?
song_position?(message)
Is the message a song position message?
song_select?(message)
Is the message a song select message?
start?(message)
Is the message a start message?
stop?(message)
Is the message a stop message?
system?(message)
Is the message a system message?
system_reset?(message)
Is the message a system reset message?
time_code_quarter_frame?(message)
Is the message a time code quarter frame message?
timing_clock?(message)
Is the message a timing clock message?
tune_request?(message)
Is the message a tune request message?