Class: Music::Performance::SlurredElement

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



4
5
6
# File 'lib/music-performance/model/note_sequence.rb', line 4

def accented
  @accented
end

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



4
5
6
# File 'lib/music-performance/model/note_sequence.rb', line 4

def duration
  @duration
end

#pitchObject

Returns the value of attribute pitch

Returns:

  • (Object)

    the current value of pitch



4
5
6
# File 'lib/music-performance/model/note_sequence.rb', line 4

def pitch
  @pitch
end

Instance Method Details

#accented?Boolean

Returns:

  • (Boolean)


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

def accented?; accented; end

#articulationObject



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

def articulation; Music::Transcription::Articulations::NORMAL; end

#slurred?Boolean

Returns:

  • (Boolean)


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

def slurred?; true; end