MIDIBASE::Looper::Track class of PicoRuby

Singleton methods

new

MIDIBASE::Looper::Track.new(EventBuffer events, source: Symbol, voice_limit: Integer, ?channel_mask: Integer) -> void

Instance methods

advance

instance.advance(Integer loop_ticks) -> Integer

copy

instance.copy() -> Track

current_event

instance.current_event() -> MIDIBASE::event_t

next_tick

instance.next_tick(Integer loop_ticks) -> Integer?

note_started

instance.note_started(MIDIBASE::event_t event) -> Array[Integer]

note_stopped

instance.note_stopped(MIDIBASE::event_t event) -> void

reset

instance.reset() -> self

seek

instance.seek(Integer absolute_tick, Integer loop_ticks) -> self

take_active_notes

instance.take_active_notes() -> Array[Integer]

Attr accessors

events (reader)

instance.events -> EventBuffer

source (reader)

instance.source -> Symbol

voice_limit (reader)

instance.voice_limit -> Integer

channel_mask (reader)

instance.channel_mask -> Integer

muted (accessor)

instance.muted -> bool
Tags: class