public SoundTime Time() { SoundTime sum = new SoundTime(44100, 0); for (int i = 0; i < soundWaves.Count; i++) { sum += soundWaves[i].Time(); } return(sum); }
public SinOscillator(SoundTime time, UInt32 cyclesPerSecond, Int16 amplitude) { this.time = time; this.cyclesPerSecond = cyclesPerSecond; this.amplitude = amplitude; }
public SillyOscillator(SoundTime time, Byte cycleIncrementer) { this.time = time; this.cycleIncrementer = cycleIncrementer; }