Class: MIDIEvents::NoteOn
- Inherits:
-
Object
- Object
- MIDIEvents::NoteOn
- Includes:
- NoteMessage
- Defined in:
- lib/midi-events/messages.rb
Overview
MIDI Note-On message
Constant Summary collapse
- STATUS =
0x9- DATA =
[:channel, :note, :velocity].freeze
- DISPLAY_NAME =
'Note On'.freeze
- 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
102 103 104 |
# File 'lib/midi-events/messages.rb', line 102 def to_note_off NoteOff.new(channel, note, velocity) end |