I created a device with
In the demo you are using
Can't I read from the stream, not from the file?
Do I have to save stream to a file, playback and visualize it with AudioFileReader(), remove, and save again continously?
WasapiLoopbackCapture.GetDefaultLoopbackCaptureDevice()
and a waveStream with newWasapiLoopbackCapture(device).
It's recording everything being played through my speakers (I tried saving it to a file and it works), but I'm lost, and I can't find how do I add the visualizer to the project, so it reads from the stream, not from the file.In the demo you are using
var inputStream = new AudioFileReader(fileName);
to start playback and visualization from the file using FftCalculated & MaximumCalculated and other methods, right?Can't I read from the stream, not from the file?
Do I have to save stream to a file, playback and visualize it with AudioFileReader(), remove, and save again continously?







