public void call(CBehringer be) { for (int i = 0; i != 32; i++) { be.mox.OutputMidiMsg(be.geraet, channel, i, words[i]); } }
public void call(CBehringer be) { be.mox.OutputMidiMsg(be.geraet, 192, page + (be.mixerBank * 10), 0); for (int i = 0; i != 32; i++) { be.mox.OutputMidiMsg(be.geraet, channel, i + offset, words[i]); } }
public void start() { mox.MidiInput += new MIDIOXLib._IMoxScriptEvents_MidiInputEventHandler(this.midiIn); guruA = new CGuru(mox, 4, "d:\\home\\daniel\\desk\\guruA.txt"); guruB = new CGuru(mox, 5, "d:\\home\\daniel\\desk\\guruB.txt"); behringerLinks = new CBehringer(mox); behringerLinks.addBank(24, (int)midiChannel.C11, 0); behringerLinks.addBank(25, (int)midiChannel.C11, 32); behringerLinks.addBank(26, (int)midiChannel.C11, 64); behringerLinks.addBank(27, (int)midiChannel.C11, 96); behringerLinks.addBank(28, (int)midiChannel.C9, 0); behringerLinks.addBank(29, (int)midiChannel.C9, 32); behringerLinks.addBank(30, (int)midiChannel.C9, 64); behringerLinks.addBank(31, (int)midiChannel.C13, 32); //sends mixer1 behringerLinks.addMixer((int)midiChannel.C13); behringerRechts = new CBehringer(mox); behringerRechts.addBank(0, (int)midiChannel.C10, 0); behringerRechts.addBank(1, (int)midiChannel.C10, 32); behringerRechts.addBank(2, (int)midiChannel.C10, 64); behringerRechts.addBank(3, (int)midiChannel.C10, 96); behringerRechts.addBank(4, (int)midiChannel.C14, 32); //sends mixer2 behringerRechts.addBank(4, (int)midiChannel.C15, 32); //sends mixer3 behringerRechts.addBank(5, (int)midiChannel.C9, 0); //sends mixer3 behringerRechts.addBank(6, (int)midiChannel.C9, 32); //sends mixer3 behringerRechts.addBank(7, (int)midiChannel.C9, 64); //sends mixer3 behringerRechts.addMixer((int)midiChannel.C14); behringerRechts.addMixer((int)midiChannel.C15); readConfigFile(); guru = guruA; mox.FireMidiInput = 1; mox.DivertMidiInput = 0; string a = Console.ReadLine(); mox.FireMidiInput = 0; }
public void start() { mox.MidiInput += new MIDIOXLib._IMoxScriptEvents_MidiInputEventHandler(this.midiIn); guruA = new CGuru(mox, bcrLinks, 4, "d:\\home\\daniel\\desk\\guruA.txt"); guruB = new CGuru(mox, bcrLinks, 5, "d:\\home\\daniel\\desk\\guruB.txt"); behringer = new CBehringer(mox, bcrLinks, bcrRechts); //dazu muss erst ein objekt initialisiert werden von behringer sonst crash init(); guru = guruA; mox.FireMidiInput = 1; mox.DivertMidiInput = 0; string a = Console.ReadLine(); mox.FireMidiInput = 0; }