Class: Musicality::MidiEvent::NoteOff
- Inherits:
-
Musicality::MidiEvent
- Object
- Musicality::MidiEvent
- Musicality::MidiEvent::NoteOff
- Defined in:
- lib/musicality/performance/midi/midi_events.rb
Constant Summary
Constants inherited from Musicality::MidiEvent
Instance Attribute Summary collapse
-
#notenum ⇒ Object
readonly
Returns the value of attribute notenum.
Instance Method Summary collapse
-
#initialize(notenum) ⇒ NoteOff
constructor
A new instance of NoteOff.
Methods inherited from Musicality::MidiEvent
Constructor Details
#initialize(notenum) ⇒ NoteOff
Returns a new instance of NoteOff.
17 18 19 |
# File 'lib/musicality/performance/midi/midi_events.rb', line 17 def initialize notenum @notenum = notenum end |
Instance Attribute Details
#notenum ⇒ Object (readonly)
Returns the value of attribute notenum.
16 17 18 |
# File 'lib/musicality/performance/midi/midi_events.rb', line 16 def notenum @notenum end |