Class: MIDIMessage::NoteOn
- Inherits:
-
Object
- Object
- MIDIMessage::NoteOn
- Includes:
- NoteMessage
- Defined in:
- lib/midi-message/messages.rb
Overview
MIDI Note-On message
Constant Summary collapse
- DATA =
[:channel, :note, :velocity]
- DISPLAY_NAME =
"Note On"
- CONSTANT =
{ "Note" => :note }
Instance Method Summary collapse
-
#to_note_off ⇒ Object
returns the NoteOff equivalent of this object.
Methods included from NoteMessage
#abs_note, included, #note_name, #octave, #octave=
Instance Method Details
#to_note_off ⇒ Object
returns the NoteOff equivalent of this object
95 96 97 |
# File 'lib/midi-message/messages.rb', line 95 def to_note_off NoteOff.new(channel, note, velocity) end |