Class: Music::Performance::FinalElement

Inherits:
Struct
  • Object
show all
Defined in:
lib/music-performance/model/note_sequence.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#accentedObject

Returns the value of attribute accented

Returns:

  • (Object)

    the current value of accented



16
17
18
# File 'lib/music-performance/model/note_sequence.rb', line 16

def accented
  @accented
end

#articulationObject

Returns the value of attribute articulation

Returns:

  • (Object)

    the current value of articulation



16
17
18
# File 'lib/music-performance/model/note_sequence.rb', line 16

def articulation
  @articulation
end

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



16
17
18
# File 'lib/music-performance/model/note_sequence.rb', line 16

def duration
  @duration
end

#pitchObject

Returns the value of attribute pitch

Returns:

  • (Object)

    the current value of pitch



16
17
18
# File 'lib/music-performance/model/note_sequence.rb', line 16

def pitch
  @pitch
end

Instance Method Details

#accented?Boolean

Returns:

  • (Boolean)


18
# File 'lib/music-performance/model/note_sequence.rb', line 18

def accented?; accented; end

#slurred?Boolean

Returns:

  • (Boolean)


17
# File 'lib/music-performance/model/note_sequence.rb', line 17

def slurred?; false; end