Class: Webmidi::SMF::Track::NoteSpan
- Inherits:
-
Struct
- Object
- Struct
- Webmidi::SMF::Track::NoteSpan
- Defined in:
- lib/webmidi/smf/track.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#end_time ⇒ Object
Returns the value of attribute end_time.
-
#note ⇒ Object
Returns the value of attribute note.
-
#note_off ⇒ Object
Returns the value of attribute note_off.
-
#note_on ⇒ Object
Returns the value of attribute note_on.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel
8 9 10 |
# File 'lib/webmidi/smf/track.rb', line 8 def channel @channel end |
#duration ⇒ Object
Returns the value of attribute duration
8 9 10 |
# File 'lib/webmidi/smf/track.rb', line 8 def duration @duration end |
#end_time ⇒ Object
Returns the value of attribute end_time
8 9 10 |
# File 'lib/webmidi/smf/track.rb', line 8 def end_time @end_time end |
#note ⇒ Object
Returns the value of attribute note
8 9 10 |
# File 'lib/webmidi/smf/track.rb', line 8 def note @note end |
#note_off ⇒ Object
Returns the value of attribute note_off
8 9 10 |
# File 'lib/webmidi/smf/track.rb', line 8 def note_off @note_off end |
#note_on ⇒ Object
Returns the value of attribute note_on
8 9 10 |
# File 'lib/webmidi/smf/track.rb', line 8 def note_on @note_on end |
#start_time ⇒ Object
Returns the value of attribute start_time
8 9 10 |
# File 'lib/webmidi/smf/track.rb', line 8 def start_time @start_time end |