class SMF::ControllerDestinationSetting

Public Class Methods

new(offset, id2, ch, pp_rr, dev=0x7f) click to toggle source
Calls superclass method SMF::ExclusiveF0::new
# File lib/smf/toy/gm.rb, line 190
def initialize(offset, id2, ch, pp_rr, dev=0x7f)
  # id2:1|3, ch:0/15, pp:0/5, rr:0/2**7-1
  super(offset, [0x7f, dev, 0x09, id2, ch, pp_rr, 0xf7].
          flatten.pack('C*'))
end