?
Solved

get actual audio output level

Posted on 2010-09-02
5
Medium Priority
?
592 Views
Last Modified: 2013-12-17
how to programmatically sample the current level of audio output to the default sound card in windows? this is NOT a question about how to detect the volume i.e. it could be silent nothign coming out of the speakers, but the volume setting could still be high: the question is how to determine the actual output stream level sent to audio card, something that i imagine is used for VU meters or oscilloscopes in any media player application.

any help would be much appreciated, ideally for vb.net, but any other vs language is good too.
0
Comment
Question by:KristjanLaane
[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
5 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 2000 total points
ID: 33613148
0
 

Author Comment

by:KristjanLaane
ID: 33613957
Wow, great links! Ill try them out!
0
 

Author Closing Comment

by:KristjanLaane
ID: 33613966
Wow, great links! Ill try them out!
0
 

Author Comment

by:KristjanLaane
ID: 33617465
i the AnalogSignalMeter to work, but turns out the source is the default input device/Microphone for it, rather than the default output device: is there a way to change that?

e.g. i could access teh default speakers with
audioDevices = new DevicesCollection();
instead of
audioDevices = new CaptureDevicesCollection();

but the rest of that code does not work with a DevicesCollection instance, its made to work with CaptureDevicesCollection instance only ... any chance you know how to fix that or if there is another source out there that is coded for output device metering?
0
 

Author Comment

by:KristjanLaane
ID: 33617486
or to be more precise, the code is written to work with, which only enables work with input devices:

new Capture(audioDevices[currentDeviceIndex].DriverGuid);

but the code does not work with:

 new Microsoft.DirectX.DirectSound.Device(audioDevices[currentDeviceIndex].DriverGuid);

0

Featured Post

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!

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 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