Beispiel #1
0
 // konstruktor
 public MidiCentral(
     MIDIOXLib.MoxScriptClass m,
     Device h)
 {
     mox  = m;
     host = h;
 }
 public HuiCentral(
     MIDIOXLib.MoxScriptClass m,
     Device d)
 {
     mox     = m;
     huiHost = d;
 }
 // konstruktor
 public Controller(
     MIDIOXLib.MoxScriptClass m,
     Device h)
 {
     mox  = m;
     host = h;
 }
 public CGuru(MIDIOXLib.MoxScriptClass m, int b, int p, string name)
 //initialisiert alle parameter beim ersten aufruf
 {
     dateiName = name;
     bcrLinks  = b;
     mox       = m;
     port      = p;
     for (int i = 0; i != 512; i++)
     {
         pads[i] = presets[i % 8];
     }
 }
Beispiel #5
0
        public InstrController(MIDIOXLib.MoxScriptClass m, Device h, int rowsCount)
        {
            mox  = m;
            host = h;

            rows    = new List <List <Instrument> > ();
            actuals = new List <Instrument>();

            for (int i = 0; i < rowsCount; i++)
            {
                rows.Add(new List <Instrument>());
                actuals.Add(new Instrument(new Device(mox, 0), ""));                //TODO dummy?
            }
        }
 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 CMixer(MIDIOXLib.MoxScriptClass m, int g, int c, int offset)
 {
     mox = m; geraet = g; channel = c; pageOffset = offset;
 }
Beispiel #8
0
 public CGuru(MIDIOXLib.MoxScriptClass _mox,
              int _port)
 {
     mox  = _mox;
     port = _port;
 }
 public CBehringer(MIDIOXLib.MoxScriptClass m)
 {
     mox = m;
 }
Beispiel #10
0
 public Device(MIDIOXLib.MoxScriptClass m, int d)
 {
     mox      = m;
     deviceID = d;
 }
Beispiel #11
0
 public DEV(MIDIOXLib.MoxScriptClass m)
 {
     mox = m;
 }