Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public SinOscillator(SoundTime time, UInt32 cyclesPerSecond, Int16 amplitude)
 {
     this.time            = time;
     this.cyclesPerSecond = cyclesPerSecond;
     this.amplitude       = amplitude;
 }
Exemplo n.º 3
0
 public SillyOscillator(SoundTime time, Byte cycleIncrementer)
 {
     this.time             = time;
     this.cycleIncrementer = cycleIncrementer;
 }