Ejemplo n.º 1
0
        public MainWindow()
        {
            frqLog = Math.Log10(fMax / fMin);

            // Init Audio
            driverOut = new WaveOut();
            driverOut.DesiredLatency = 100;
            wave = new ADSRSignalGenerator();
            osc1 = new SignalGenerator();
            osc2 = new SignalGenerator();
            osc3 = new SignalGenerator();
            driverOut.Init(wave);
            envEnabled = false;

            // Init UI
            InitializeComponent();
        }
Ejemplo n.º 2
0
        public MainWindow()
        {
            frqLog = Math.Log10(fMax / fMin);

            // Init Audio
            driverOut = new WaveOut();
            driverOut.DesiredLatency = 100;
            wave = new ADSRSignalGenerator();
            osc1 = new SignalGenerator();
            osc2 = new SignalGenerator();
            osc3 = new SignalGenerator();
            driverOut.Init(wave);
            envEnabled = false;

            // Init UI
            InitializeComponent();
        }