Class: Musicality::NoteSequence::Element
- Inherits:
-
Struct
- Object
- Struct
- Musicality::NoteSequence::Element
- Defined in:
- lib/musicality/performance/model/note_sequence.rb
Instance Attribute Summary collapse
-
#attack ⇒ Object
Returns the value of attribute attack.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#pitch ⇒ Object
Returns the value of attribute pitch.
Instance Attribute Details
#attack ⇒ Object
Returns the value of attribute attack
4 5 6 |
# File 'lib/musicality/performance/model/note_sequence.rb', line 4 def attack @attack end |
#duration ⇒ Object
Returns the value of attribute duration
4 5 6 |
# File 'lib/musicality/performance/model/note_sequence.rb', line 4 def duration @duration end |
#pitch ⇒ Object
Returns the value of attribute pitch
4 5 6 |
# File 'lib/musicality/performance/model/note_sequence.rb', line 4 def pitch @pitch end |