Solved

Controlling recording Input level

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using Powershell in Visual Studio 2015 SP1 Community Edition 4 92
VS2015 compilation and missing DLLs 9 147
SignTool Error with Windows 10 5 148
windbg taking it's time 32 90
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 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