Solved

Microphone volume peek meter

Posted on 2004-04-20
10
672 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
[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
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi : could not find program, '...exe' 2 212
Comparing dates in Delphi. Greater than/ Less than 3 293
Delphi Form ownership 4 125
delphi parse string to params 3 153
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

762 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