Solved

Controlling recording Input level

Posted on 1997-10-27
4
191 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…

737 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