class SMF::KeySignature

Attributes

mi[RW]
sf[RW]

Public Class Methods

new(offset, sf, mi) click to toggle source
Calls superclass method SMF::Meta::new
# File lib/smf.rb, line 711
def initialize(offset, sf, mi)
  # sf:-2**7/2**7-1, mi:0/1
  super(offset)
  @sf, @mi = sf, mi
end

Public Instance Methods

==(other) click to toggle source
Calls superclass method SMF::Event#==
# File lib/smf.rb, line 719
def == (other)
  super && sf == other.sf && mi == other.mi
end