Class: Webmidi::SMF::Track::NoteSpan

Inherits:
Struct
  • Object
show all
Defined in:
lib/webmidi/smf/track.rb

Instance Attribute Summary collapse

Instance Attribute Details

#channelObject

Returns the value of attribute channel

Returns:

  • (Object)

    the current value of channel



8
9
10
# File 'lib/webmidi/smf/track.rb', line 8

def channel
  @channel
end

#durationObject

Returns the value of attribute duration

Returns:

  • (Object)

    the current value of duration



8
9
10
# File 'lib/webmidi/smf/track.rb', line 8

def duration
  @duration
end

#end_timeObject

Returns the value of attribute end_time

Returns:

  • (Object)

    the current value of end_time



8
9
10
# File 'lib/webmidi/smf/track.rb', line 8

def end_time
  @end_time
end

#noteObject

Returns the value of attribute note

Returns:

  • (Object)

    the current value of note



8
9
10
# File 'lib/webmidi/smf/track.rb', line 8

def note
  @note
end

#note_offObject

Returns the value of attribute note_off

Returns:

  • (Object)

    the current value of note_off



8
9
10
# File 'lib/webmidi/smf/track.rb', line 8

def note_off
  @note_off
end

#note_onObject

Returns the value of attribute note_on

Returns:

  • (Object)

    the current value of note_on



8
9
10
# File 'lib/webmidi/smf/track.rb', line 8

def note_on
  @note_on
end

#start_timeObject

Returns the value of attribute start_time

Returns:

  • (Object)

    the current value of start_time



8
9
10
# File 'lib/webmidi/smf/track.rb', line 8

def start_time
  @start_time
end