Пример #1
0
        public SoundTime Time()
        {
            SoundTime sum = new SoundTime(44100, 0);

            for (int i = 0; i < soundWaves.Count; i++)
            {
                sum += soundWaves[i].Time();
            }
            return(sum);
        }
Пример #2
0
 public SinOscillator(SoundTime time, UInt32 cyclesPerSecond, Int16 amplitude)
 {
     this.time            = time;
     this.cyclesPerSecond = cyclesPerSecond;
     this.amplitude       = amplitude;
 }
Пример #3
0
 public SillyOscillator(SoundTime time, Byte cycleIncrementer)
 {
     this.time             = time;
     this.cycleIncrementer = cycleIncrementer;
 }