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
- STATUS =
0x9
- DATA =
[:channel, :note, :velocity].freeze
- DISPLAY_NAME =
"Note On"
- CONSTANT =
{ "Note" => :note }.freeze
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
116 117 118 |
# File 'lib/midi-message/messages.rb', line 116 def to_note_off NoteOff.new(channel, note, velocity) end |