Is it possible to generate complex tones in C#?
I need to create a sound containing tones of many different frequencies. Is there any way to do this in C#? The only tone generating methods I've seen so far involve console.beep, which works, but only for pure tones (single frequencies). The Audiere library makes this extremely easy to do. Here's a nearly complete C# program to generate the DTMF tone for the "1" button: AudioDevice device = new AudioDevice(); OutputStream tone1a = device.CreateTone(697); // part A of DTMF for "1" button OutputStream tone1b = device.CreateTone(1209); // part B tone1a.Volume = 0.25f; tone1b.Volume = 0.25f;