SMF module

Classes

Sequence

Super Class

Object

Included Modules

Enumerable

Class Methods

decode(str)
read(io)
load(fn)
new([format=1[, division=96[,tc=nil]]])

The three methods decode(), read() and load() replace NoteOn with NoteOff when its velocity is zero.

Accessors

format
division
tc

Methods

This nearly have all methods of array object. In addition, this also have the following methods.

ntrks
self >> tr
each{|tr| ...}
join
join!
encode
write(io)
save(fn)

The iterator each{} ignores all nil elements.

Track

Super Class

Object

Included Modules

Enumerable

Class Methods

new

Methods

This nearly have all methods of array object. In addition, this also have the following methods.

nevts
self >> ev
each{|ev| ...}

The iterator each{} ignores all nil elements and sorts events (stable).

Event

Super Class

Object

Included Modules

Comparable

Accessors

offset