public SoundGenForm(SoundGenerator soundGen)
 {
     this.soundGen = soundGen;
     float min = -1f;
     float max = 1f;
     float speedLeft = 0.01f;
     float speedRight = 0.03f;
     SawWaveData data = new SawWaveData(min, max, speedLeft, speedRight);
     wave = new SawWave(data);
     InitializeComponent();
 }
Esempio n. 2
0
 static void Main()
 {
     using (SoundGenerator soundGen = new SoundGenerator())
     {
     }
 }