Solved

Microphone volume peek meter

Posted on 2004-04-20
10
660 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now