Ejemplo n.º 1
0
        public Sequencer(SynthEngine synthEngine, TrackInfo trackInfo)
        {
            InitializeComponent();
            this.synthEngine = synthEngine;
            this.trackInfo   = trackInfo;

            if (this.trackInfo.BPM == 0)
            {
                this.trackInfo.BPM = tb_BPM.Value * 4;
            }
        }
Ejemplo n.º 2
0
        private void InitAudio()
        {
            synthEngine = new SynthEngine(48000, 32)
            {
                Amplitude = 0.1f
            };
            trackInfo = new TrackInfo();

            audioOutput = new AsioOut();
            audioOutput.Init(synthEngine);
            audioOutput.Play();
        }
Ejemplo n.º 3
0
        public Synthesizers(SynthEngine synthEngine)
        {
            InitializeComponent();
            noiseMakingUtils = new NoiseMakingUtils();
            this.synthEngine = synthEngine;

            Osc1_waveform.SelectedIndex = 0;
            Osc2_waveform.SelectedIndex = 0;
            Osc3_waveform.SelectedIndex = 0;

            LFO_Waveform.SelectedIndex = 0;

            FilterType.SelectedIndex = 0;
        }
Ejemplo n.º 4
0
 public PianoRoll(SynthEngine synthEngine)
 {
     InitializeComponent();
     this.synthEngine = synthEngine;
 }