Class: Music::Performance::MidiEvent::NoteOff

Inherits:
Music::Performance::MidiEvent show all
Defined in:
lib/music-performance/arrangement/midi/midi_events.rb

Constant Summary

Constants inherited from Music::Performance::MidiEvent

ORDERING

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Music::Performance::MidiEvent

#<=>

Constructor Details

#initialize(notenum) ⇒ NoteOff

Returns a new instance of NoteOff.



18
19
20
# File 'lib/music-performance/arrangement/midi/midi_events.rb', line 18

def initialize notenum
  @notenum = notenum
end

Instance Attribute Details

#notenumObject (readonly)

Returns the value of attribute notenum.



17
18
19
# File 'lib/music-performance/arrangement/midi/midi_events.rb', line 17

def notenum
  @notenum
end