65.9K
CodeProject is changing. Read more.
Home

Audio level Compressor by Cyril COMTE and Steven de Toni

starIcon
emptyStarIcon
starIcon
emptyStarIconemptyStarIconemptyStarIcon

1.97/5 (9 votes)

Sep 23, 2006

viewsIcon

37900

downloadIcon

2215

Audio level Compressor

Compressor is an evolution of the "Simple Audio Out Oscilloscope and Spectrum Analyzer" from Steven de TONI.

Introduction

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: "waveOutSetVolume(NULL, ValeurWave);"

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!