public FluentStream Mix(FluentStream alpha, FluentStream beta, double divisor) { monoStream = LinearMixer.Mix(alpha.monoStream, beta.monoStream, divisor); return this; }
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); }
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); }
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); }