Solved

get actual audio output level

Posted on 2010-09-02
5
586 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 500 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

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!

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

728 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