Original Post
Hi, I'm trying to generate some white noise or just a single tone from in sound buffer and play it. Really I want to make my own Stream class that can be fed to a SecondaryBuffer and constantly play. Just as an exercise really and a prelude to something else I'm working on. What I'm getting is "value does not fall within expected range" ArgumentException. If someone could post a link to a simple example of something generating data for a secondary buffer without loading anything from any wave files, in C#, that would be great. Cheers, Paul