class SMF::TimeSignature

Attributes

bb[RW]
cc[RW]
dd[RW]
nn[RW]

Public Class Methods

new(offset, nn, dd, cc, bb) click to toggle source
Calls superclass method SMF::Meta::new
# File lib/smf.rb, line 691
def initialize(offset, nn, dd, cc, bb)
  # nn,cc,bb:1/2**8-1, dd:0/2**8-1
  super(offset)
  @nn, @dd, @cc, @bb = nn, dd, cc, bb
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method SMF::Event#==
# File lib/smf.rb, line 699
def == (other)
  super &&
    nn == other.nn &&
    dd == other.dd &&
    cc == other.cc &&
    bb == other.bb
end