Class: Music::Performance::LegatoElement

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



10
11
12
# File 'lib/music-performance/model/note_sequence.rb', line 10

def accented
  @accented
end

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



10
11
12
# File 'lib/music-performance/model/note_sequence.rb', line 10

def duration
  @duration
end

#pitchObject

Returns the value of attribute pitch

Returns:

  • (Object)

    the current value of pitch



10
11
12
# File 'lib/music-performance/model/note_sequence.rb', line 10

def pitch
  @pitch
end

Instance Method Details

#accented?Boolean

Returns:

  • (Boolean)


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

def accented?; accented; end

#articulationObject



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

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

#slurred?Boolean

Returns:

  • (Boolean)


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

def slurred?; false; end