Class: Music::Performance::SlurredElement
- Inherits:
-
Struct
- Object
- Struct
- Music::Performance::SlurredElement
- Defined in:
- lib/music-performance/model/note_sequence.rb
Instance Attribute Summary collapse
-
#accented ⇒ Object
Returns the value of attribute accented.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#pitch ⇒ Object
Returns the value of attribute pitch.
Instance Method Summary collapse
Instance Attribute Details
#accented ⇒ Object
Returns the value of attribute accented
4 5 6 |
# File 'lib/music-performance/model/note_sequence.rb', line 4 def accented @accented end |
#duration ⇒ Object
Returns the value of attribute duration
4 5 6 |
# File 'lib/music-performance/model/note_sequence.rb', line 4 def duration @duration end |
#pitch ⇒ Object
Returns the value of attribute pitch
4 5 6 |
# File 'lib/music-performance/model/note_sequence.rb', line 4 def pitch @pitch end |
Instance Method Details
#accented? ⇒ Boolean
7 |
# File 'lib/music-performance/model/note_sequence.rb', line 7 def accented?; accented; end |
#articulation ⇒ Object
6 |
# File 'lib/music-performance/model/note_sequence.rb', line 6 def articulation; Music::Transcription::Articulations::NORMAL; end |
#slurred? ⇒ Boolean
5 |
# File 'lib/music-performance/model/note_sequence.rb', line 5 def slurred?; true; end |