Class: MIDI::Start

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

Instance Attribute Summary

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 Realtime

#data_as_bytes

Methods inherited from Event

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

Constructor Details

#initialize(delta_time = 0) ⇒ Start

Returns a new instance of Start.


368
369
370
# File 'lib/midilib/event.rb', line 368

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

Instance Method Details

#to_sObject


371
372
373
# File 'lib/midilib/event.rb', line 371

def to_s
  return super << "start"
end