Click here to Skip to main content
16,004,678 members
Articles / Desktop Programming / MFC
Article

Audio level Compressor by Cyril COMTE and Steven de Toni

Rate me:
Please Sign up or sign in to vote.
1.97/5 (9 votes)
15 Oct 2006 37.9K   2.2K   31   1
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!

Image 1

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
France France
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 1 Pin
tuan082-Feb-09 16:04
tuan082-Feb-09 16:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.