Solved

Controlling recording Input level

Posted on 1997-10-27
4
190 Views
Last Modified: 2013-12-03
I want to control the input (gain) level from the microphone. I've looked through the Window's API and see nothing for doing this. I've manually set the mic recording level to it's highest position and set the mic boost check box in the volume control dialog, but the recording is still way too low. On the Mac, I can set either an automatic gain control or set the recording level manually. I've tried several types of mic's and visited the jumpers for the sound card but nothing helps. If you speak 4 feet from the mic and in a normal volume you cannot clearly hear the audio. I'm recording speech in a quiet location and need high input gain.
0
Comment
Question by:RadNetGML
  • 2
  • 2
4 Comments
 

Author Comment

by:RadNetGML
ID: 1407925
Edited text of question
0
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 1407926
You can use Win32 Audio Mixers API (mixer*() functions) to control it. There is a sample "Mixapp: Sample Mixer Application" that comes with Win32 SDK.
0
 

Author Comment

by:RadNetGML
ID: 1407927
The specific calling order for the mixer and what api for the
input volume would of been great. Thanks for pointing me in the
right direction.

0
 
LVL 23

Expert Comment

by:chensu
ID: 1407928
1. mixerOpen()
2. mixerGetLineInfo() (MIXERLINE_COMPONENTTYPE_DST_WAVEIN or MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE)
3. mixerGetLineControls() (MIXERCONTROL_CONTROLTYPE_VOLUME)
4. mixerSetControlDetails()
5. mixerClose()

0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question