tags:

views:

578

answers:

2

I am using the Skype4Com COM object to intercept audio from the microphone. I know that it is 16 bit mono, but how do I find out what its sample rate is?

A: 

The microphone doesn't have a sample rate, it's up to the software to decide what sample rate to encode at. Mind you cheap microphones will simply sound poor.

It's better to have a good mic on a low sample rate, then a bad mic on a high sample rate. And of course a good mic on a good sample rate beats all.

Voice doesn't require sampling as high as music, I've heard Skype only samples at 8khz. Also it's most likely no matter what sample rate the user sets, Skype will probably resample the audio and output only a certain rate, as obviously the ability to set a sampling rate can double or triple the amount of bandwidth Skype has to push.

TravisO
Yes, but I need to know what sample rate Skype has chosen, because it is giving me the samples and I am modifying them. Unless I know the sample rate I cannot perform DSP correctly on the incoming signal.
Mark Heath
A: 

It would seem that there is no facility in Skype4Com to determine the microphone sample rate at the moment. Just assume that it is 44.1kHz. (it probably gets resampled to a lower sample rate before it is actually transmitted)

Mark Heath