Solved

Controlling recording Input level

Posted on 1997-10-27
4
187 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now