Class: MIDI::ActiveSense

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) ⇒ ActiveSense

Returns a new instance of ActiveSense.


395
396
397
# File 'lib/midilib/event.rb', line 395

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

Instance Method Details

#to_sObject


398
399
400
# File 'lib/midilib/event.rb', line 398

def to_s
  return super << "act sens"
end