Class: Musicality::MidiEvent::NoteOff

Inherits:
Musicality::MidiEvent show all
Defined in:
lib/musicality/performance/midi/midi_events.rb

Constant Summary

Constants inherited from Musicality::MidiEvent

ORDERING

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#notenumObject (readonly)

Returns the value of attribute notenum.



16
17
18
# File 'lib/musicality/performance/midi/midi_events.rb', line 16

def notenum
  @notenum
end