Class: Music::Performance::MidiEvent::Expression

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(volume) ⇒ Expression

Returns a new instance of Expression.



25
26
27
# File 'lib/music-performance/arrangement/midi/midi_events.rb', line 25

def initialize volume
  @volume = volume
end

Instance Attribute Details

#volumeObject (readonly)

Returns the value of attribute volume.



24
25
26
# File 'lib/music-performance/arrangement/midi/midi_events.rb', line 24

def volume
  @volume
end