Solved

Microphone volume peek meter

Posted on 2004-04-20
10
667 Views
Last Modified: 2010-04-05
Hello All,

Somebody knows any examples how can I do a microphone peek meter?

Need it ASAP.

Thanks.

0
Comment
Question by:dosware
  • 4
  • 2
  • 2
  • +1
10 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 10866532

uses MMSystem;

function waveOutGetVolume(hwo: HWAVEOUT; lpdwVolume: PDWORD): MMRESULT; stdcall;
function waveOutSetVolume(hwo: HWAVEOUT; dwVolume: DWORD): MMRESULT; stdcall;
0
 

Author Comment

by:dosware
ID: 10867016
Somebody can send example? I worked with it but it does not work when I'm using MSACM. It mean that this function always gives me a wrong result.
0
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 250 total points
ID: 10867198
you can check deAudio components - www.droopyeyes.com
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 12

Expert Comment

by:Ivanov_G
ID: 10867309
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10874099
Check out VUMeter:

If your sound card driver supports the peak functions used by
Micro$oft in their API , you can get the peak level that goes out to your
speakers. It can be used for digital or analogic style peak level meters.

http://www.torry.net/quicksearchd.php?String=VUMeter&Title=Yes

SHane
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10938985
Most of the time,  experts like to suggest free alternatives.... and only suggest commercial or shareware solutions as a last resort .....   i guess this wasn't the case....

any easy 250 points for Lee_Nover

<SMILE>

Shane
0
 
LVL 12

Expert Comment

by:Lee_Nover
ID: 10940448
I suggest what I think is best for the task - best time/expense/effort ratio
and ofcourse I provide what I can given the free time I have
dosware obviously found the commercial software to be better than the alternatives given and worth the money
I could write an example myself using MS ACM or DirectSound or DirectShow but have no time
.. and I'm not into points like some .. <smile>
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10940501
No explaination needed - i wasn't being sarcastic nor saying anything deragotory....

I was merely adding a comment for future viewers - adding a little facetiousness to it, like -" I like it when you dont have to work so hard for the points"


Relax Lee ..... Nice job!

Shane
0
 

Author Comment

by:dosware
ID: 10940548
Hi Guys!

Thank you very much for your comments and your help.

But, I knew what is it VUMeter and it can not normally work for 30-40% of customers computers therefore I could not use it.

In this case better way gave me Lee. Thank you very much Lee.

Thanks.
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10940575
Good, im glad you found a solution that worked.....

Shane
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

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