MIDIBASE::Clock class of PicoRuby
Singleton methods
new
MIDIBASE::Clock.new(?time_signature: Array[Integer]) -> void
Instance methods
bar
instance.bar() -> Integer
beat
instance.beat() -> Integer
clock_running?
instance.clock_running?() -> bool
observe
instance.observe(event_t event, ?Integer? timestamp_us) -> event_t
position
instance.position() -> Array[Integer]
reset
instance.reset() -> self
tick
instance.tick() -> Integer
time_signature=
instance.time_signature=(Array[Integer] signature) -> Array[Integer]
Attr accessors
bpm (reader)
instance.bpm -> Float?
time_signature (reader)
instance.time_signature -> Array[Integer]