Пример #1
0
 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();
 }
Пример #2
0
 internal SawWave(SawWaveData data)
     : base()
 {
     this.data = data;
 }