MIDISynth.midi
You're seeing just the function
midi
, go back to MIDISynth module for more information.
Specs
midi(GenServer.server(), binary()) :: :ok
Send a raw MIDI command to the synthesizer
See MIDISynth.Command
for encoding MIDI commands and MIDISynth.Keyboard
for playing simple songs.
Examples
iex> {:ok, synth} = MIDISynth.start_link([]) iex> MIDISynth.midi(synth, <<0x90, 60, 127>>) :ok