Example #1
0
 public FluentStream Mix(FluentStream alpha, FluentStream beta, double divisor)
 {
     monoStream = LinearMixer.Mix(alpha.monoStream, beta.monoStream, divisor);
     return this;
 }
Example #2
0
 static void MakeQuietSquare(string filename)
 {
     FluentStream F = new FluentStream(44100).Square(5000d, 440).Square(5000d, 880).Square(5000d, 1760).ScaleVolume(.05);
     F.SaveFile(filename, 16, 44100 * 4);
 }
Example #3
0
 static void MakeSquare(string filename)
 {
     FluentStream F = new FluentStream(44100).Square(5000d, 440).Square(5000d, 880).Square(5000d, 1760);
     F.SaveFile(filename, 16, 44100 * 4);
 }
Example #4
0
 static void MakeQuietMixed(string filename)
 {
     FluentStream F = new FluentStream(44100).Square(3000d, 440).Square(3000d, 880).Sine(3000d, 220).Sine(3000, 110).ScaleVolume(.05);
     F.SaveFile(filename, 16, 44100 * 4);
 }