MIDIPlayer.Event.Note (MIDIPlayer v0.1.0) View Source

An event which plays the given tone for the given timespan.

Link to this section Summary

Link to this section Functions

Link to this function

new(channel, tone, start_time, end_time, velocity)

View Source

Specs

new(
  MIDISynth.Command.channel(),
  non_neg_integer(),
  non_neg_integer(),
  non_neg_integer(),
  MIDISynth.Command.velocity()
) :: %MIDIPlayer.Event.Note{
  channel: term(),
  end_time: term(),
  start_time: term(),
  tone: term(),
  velocity: term()
}