public void write(CMixer m)
 {
     m.mox.OutputMidiMsg(m.geraet, 192, m.pageOffset + physicalPage, 0);
     for (int i = 0; i != 32; i++)
     {
         m.mox.OutputMidiMsg(m.geraet, channel, offset + i, words[i]);
     }
     m.write();
 }
 public CBehringer(MIDIOXLib.MoxScriptClass m, int l, int r)
 {
     mixer[0]   = new CMixer(m, l, midiChannel[13], 0);
     mixer[1]   = new CMixer(m, r, midiChannel[14], 0);
     mixer[2]   = new CMixer(m, r, midiChannel[15], 10);
     efx[0]     = new CBank(0, midiChannel[10], 0);
     efx[1]     = new CBank(1, midiChannel[10], 32);
     efx[2]     = new CBank(2, midiChannel[10], 64);
     efx[3]     = new CBank(3, midiChannel[10], 96);
     synth[0]   = new CBank(24, midiChannel[11], 0);
     synth[1]   = new CBank(25, midiChannel[11], 32);
     sendEfx[0] = new CBank(5, midiChannel[9], 0);
     sendEfx[1] = new CBank(6, midiChannel[9], 32);
     sendEfx[2] = new CBank(7, midiChannel[9], 64);
     sends[0]   = new CBank(31, midiChannel[13], 32);
     sends[1]   = new CBank(4, midiChannel[14], 32);
     sends[2]   = new CBank(4, midiChannel[15], 32);
 }
        public void addMixer(int ch)
        {
            CMixer neuerMixer = new CMixer(ch);

            mixer.Add(neuerMixer);
        }