Sb input scanning

I currently write a program which purpose is recording a conversation via SB. I would like to know how should I implement the SB input scanning. How do I get the input from the microphone_in of SB16?
What is the best interval between probes in order to not make the system overload?
What is the algoritm should look like, in order to find out when is silence and where is some conversation is taking place?

The best of all - an example of source code.
LVL 1
ranidfAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chensuCommented:
You can use the wave meter control of recording. Take a look at my article at CodeGuru.

Audio Mixer Functions Demo
http://www.codeguru.com/multimedia/ADMixer.shtml

When a threshold of volume has been reached and lasted for a certain time, you can consider the conversation has taken place.
0
ranidfAuthor Commented:
Chensu, if I'm not mistaken you should answer in order for me to give you the points.

For a fast look at your article its about what I need. I'll check it later.

Thank you.

PS. Did you have any experience of implementing WMA or other encoding techniques?
0
chensuCommented:
Thank you.

For WMA, take a look at Windows Media Format SDK component (Windows Media Audio SDK). It comes with documentation and samples. It is very straightforward.

http://msdn.microsoft.com/workshop/c-frame.htm?944437056110#/workshop/imedia/windowsmedia/sdk/wmsdk_fmt.asp
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
chensuCommented:
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.