• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

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.
0
ranidf
Asked:
ranidf
  • 3
1 Solution
 
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
 
chensuCommented:
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now