How can I play a sound based on waveform data that my .NET program is generating from user input and mathematical functions?
By \"waveform data\" I mean SPL (sound press
Check out this thread on loading up a DirectSound buffer with arbitrary data and playing it.
Per comment: Yes, I know. You will need to translate the C++ into C# or VB.NET. But, the concept is what's important. You create a secondary DirectSound buffer and then use it to stream over to your primary buffer and play.