Class: MIDI::Start

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

Instance Attribute Summary

Attributes inherited from Event

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

Instance Method Summary collapse

Methods inherited from Realtime

#data_as_bytes

Methods inherited from Event

#<=>, #channel?, #data_as_bytes, #meta?, #note?, #note_off?, #note_on?, #number_to_s, #quantize_to, #realtime?, #system?

Constructor Details

#initialize(delta_time = 0) ⇒ Start

Returns a new instance of Start.



408
409
410
# File 'lib/midilib/event.rb', line 408

def initialize(delta_time = 0)
	super(START, delta_time)
end

Instance Method Details

#to_sObject



411
412
413
# File 'lib/midilib/event.rb', line 411

def to_s
	return super << "start"
end