is an evolution of the "Simple Audio Out Oscilloscope and Spectrum Analyzer" from Steven de TONI.
I have modified the original code to allow to regulate the sound level when you listen to the TV or when you listen to some music on a PC.
I'm fed up with all this MP3's different recording level or with the advertising on TV: You have to turn down the volume each time (i don't know in other countries, but that the way it's in France!)
I have used this fonction to control de wave level out:
This modification has been intersting for me to understand how to work with a sound card. I havent a lot of time to to better so if you see improvements or if you want to do modify...
NB:The option "Separated channel settings" only works with some soundcard.
"Compressor.exe ReglageSepare": This command line allows to control in a separated way the two chanels at start, only supported by some soundcards!