Class: Musicality::MidiEvent::Expression
- Inherits:
-
Musicality::MidiEvent
- Object
- Musicality::MidiEvent
- Musicality::MidiEvent::Expression
- Defined in:
- lib/musicality/performance/midi/midi_events.rb
Constant Summary
Constants inherited from Musicality::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 Musicality::MidiEvent
Constructor Details
#initialize(volume) ⇒ Expression
Returns a new instance of Expression.
24 25 26 |
# File 'lib/musicality/performance/midi/midi_events.rb', line 24 def initialize volume @volume = volume end |
Instance Attribute Details
#volume ⇒ Object (readonly)
Returns the value of attribute volume.
23 24 25 |
# File 'lib/musicality/performance/midi/midi_events.rb', line 23 def volume @volume end |