MML class of PicoRuby
Type aliases
command_t
:volume | :env_shape | :env_period | :legato | :lfo | :pan | :timbre | :mixer | :noise | :mute
play_t
:play
segno_t
:segno
event_t
[(play_t | segno_t | command_t), Integer, Integer]
Singleton methods
compile_multi
MML.compile_multi(Array[String] tracks, ?exception: bool, ?loop: bool) { (Integer delta, Integer channel, command_t | play_t | segno_t command, *Integer args) -> untyped } -> Integer
new
MML.new(Integer track_id, String track, ?exception: bool, ?loop: bool) -> void
Instance methods
reduce_next
instance.reduce_next() -> (event_t | nil)
Attr accessors
track_id (reader)
instance.track_id -> Integer