Solved

Controlling recording Input level

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
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 is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

707 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