Class: MIDI::Marker

Inherits:
MetaEvent show all
Defined in:
lib/midilib/event.rb

Instance Attribute Summary

Attributes inherited from MetaEvent

#data, #meta_type

Attributes inherited from Event

#delta_time, #print_channel_numbers_from_one, #print_decimal_numbers, #print_note_names, #status, #time_from_start

Instance Method Summary collapse

Methods inherited from MetaEvent

bytes_as_str, #data_as_bytes, #data_as_str, str_as_bytes, #to_s

Methods inherited from Event

#<=>, #channel_to_s, #data_as_bytes, #number_to_s, #quantize_to, #to_s

Constructor Details

#initialize(msg, delta_time = 0) ⇒ Marker

Returns a new instance of Marker.



500
501
502
# File 'lib/midilib/event.rb', line 500

def initialize(msg, delta_time = 0)
  super(META_MARKER, msg, delta_time)
end