• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 706
  • Last Modified:

Microphone volume peek meter

Hello All,

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

Need it ASAP.

Thanks.

0
dosware
Asked:
dosware
  • 4
  • 2
  • 2
  • +1
1 Solution
 
Ivanov_GCommented:

uses MMSystem;

function waveOutGetVolume(hwo: HWAVEOUT; lpdwVolume: PDWORD): MMRESULT; stdcall;
function waveOutSetVolume(hwo: HWAVEOUT; dwVolume: DWORD): MMRESULT; stdcall;
0
 
doswareAuthor Commented:
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
 
Lee_NoverCommented:
you can check deAudio components - www.droopyeyes.com
0
Technology Partners: 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!

 
Ivanov_GCommented:
0
 
shaneholmesCommented:
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
 
shaneholmesCommented:
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
 
Lee_NoverCommented:
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
 
shaneholmesCommented:
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
 
doswareAuthor Commented:
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
 
shaneholmesCommented:
Good, im glad you found a solution that worked.....

Shane
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now