Esempio n. 1
0
        public Machine()
        {
            Generators = new Machines.Generator[this.MaxGenerators];
            Processors = new Machines.Processor[this.MaxProcessors];

            Generators[0] = new Machines.Osc();
            GeneratorTypes[0] = Generators[0].GetType().ToString();
            Processors[0] = new Machines.Mixer();
            ProcessorTypes[0] = Processors[0].GetType().ToString();
        }
Esempio n. 2
0
        /*public void InitOscillators()
        {
            Oscs = new Oscilator[3];
            Oscs[0] = new Oscilator();
            Oscs[1] = new Oscilator();
            Oscs[2] = new Oscilator();

            Oscs[0].Enabled = true;
            Oscs[0].WaveType = Generator.TypeSine;
        }

        public void InitMixers()
        {
            Mixers = new MixerSettings[2];

            for(int emx = 0; emx < Mixers.Length; emx++)
            {
                if(Mixers[emx] == null)
                {
                    Mixers[emx] = new MixerSettings();
                }
            }
        }*/
        public void InitGenerators()
        {
            Generators = new Machines.Generator[1];
            Generators[0] = new Machines.Osc();
            Generators[0].Enabled = true;
        }