Class: Music::Performance::MidiEvent::Expression
- Inherits:
-
Music::Performance::MidiEvent
- Object
- Music::Performance::MidiEvent
- Music::Performance::MidiEvent::Expression
- Defined in:
- lib/music-performance/arrangement/midi/midi_events.rb
Constant Summary
Constants inherited from Music::Performance::MidiEvent
Instance Attribute Summary collapse
-
#volume ⇒ Object
readonly
Returns the value of attribute volume.
Instance Method Summary collapse
-
#initialize(volume) ⇒ Expression
constructor
A new instance of Expression.
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
#volume ⇒ Object (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 |