Click here to Skip to main content
15,885,868 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey guys!

I've found loads of useful posts regarding recording sound data from a microphone but can't seem to find anything on how to get what you hear from the sound card.

Basically what I'm trying to make is:
a program that visualizes the output sound that you actually hear coming from the sound card.
I'm planning to use Jeff Morton's "Sound visualizer in C#" as a base for the visualization. By the way this program doesn't seem to work on my computer, still need to figure that out...

Thank you ahead,
Gabor
Posted
Updated 8-Mar-11 9:34am
v2
Comments
OriginalGriff 8-Mar-11 14:58pm    
And your question is?
LloydA111 8-Mar-11 15:14pm    
You mean speech recognition?
wizardzz 8-Mar-11 15:32pm    
I figured it out. He wants something to capture (for analysis) the outbound sound coming from the sound card to visualize. His wording it as the opposite of recording is confusing.
Sergey Alexandrovich Kryukov 8-Mar-11 16:15pm    
It was my guess, to, but I afraid to ask ...:-)
--SA
fjdiewornncalwe 8-Mar-11 15:55pm    
The OP is referring to http://www.codeproject.com/KB/audio-video/SoundViewer.aspx
Perhaps you could ask on that article's Comments and Discussions section. If you post there, the author of the article will see your question and you may be able to get an answer from him directly.

1 solution

You may want to check out Filters. A filter is part of a codec (coder / decoder) which enables you to 'break' into the entire sequence your machine uses to get sound from the very first source, to your speakers.

To understand this better you may want to download 'GraphEdit' and render an audio file (for example a mp3 file). Graphedit will show the filters used to decode the mp3 and finally get the audio to your speakers.

In your code, you'll be able to add / remove filters and the connections inbetween. Your filter analyses the audio and passes the audio to the speakers. Then wat it does with the analysed audio is up to you!

I bet you'll find some examples in the DirectX SDK!

Good luck!

Eduard
 
Share this answer
 
Comments
Nagamo 10-Mar-11 11:32am    
Sounds like a promising idea. I will definitely dig into it once I get some free time :)
Thank you very much!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900