Class: Musicality::NoteSequence::Element

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

Instance Attribute Summary collapse

Instance Attribute Details

#attackObject

Returns the value of attribute attack

Returns:

  • (Object)

    the current value of attack



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

def attack
  @attack
end

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



4
5
6
# File 'lib/musicality/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/musicality/performance/model/note_sequence.rb', line 4

def pitch
  @pitch
end