midi_proto v0.1.0 MidiProto.Firmata

This module converts incoming MIDI messages into Firmata messages if possible.

Link to this section Summary

Functions

Given a MIDI message struct, convert it to it's equivalent Firmata message.

Link to this section Types

Link to this type

t()

t() ::
  MidiProto.Firmata.AnalogMappingQuery
  | MidiProto.Firmata.AnalogMappingResponse
  | MidiProto.Firmata.CapabilityQuery
  | MidiProto.Firmata.CapabilityResponse
  | MidiProto.Firmata.ExtendedAnalog
  | MidiProto.Firmata.FirmwareQuery
  | MidiProto.Firmata.FirmwareResponse
  | MidiProto.Firmata.PinStateQuery
  | MidiProto.Firmata.PinStateResponse
  | MidiProto.Firmata.SamplingInterval
  | MidiProto.Firmata.StringData

Link to this section Functions

Link to this function

convert(arg1)

convert(MidiProto.Message.t()) :: {:ok, Firmata.t()} | {:error, reason :: any()}

Given a MIDI message struct, convert it to it's equivalent Firmata message.