Sound corruption while recording with "16-bit sampling" using MCI

K

kimiraikkonen

Hi,
I tried to capture sound using MCI. It records without error except
random sound distortions if i use "16-bit" instead of 8-bit

For example if i record with one of the highest PCM quality settings:
44100 freq, 2 channels(stereo), 16-bit sampling, this random
distortion/corruption is occured because of using 16-bits sampling. No
problem with these settings in Windows Sound Recorder which comes
built-in within "Accessories" on the "same" system.

If i use 8-bit instead of 16-bit sampling using MCI, no corruption is
occured.

I use this code to capture with 44100 freq, 2 channels, 16-bit
settings:

mciSimpleSendString("close all")
mciSimpleSendString("open new type waveaudio alias capture")
mciSimpleSendString("set capture bitspersample 16")
mciSimpleSendString("set capture samplespersec 44100")
mciSimpleSendString("set capture channels 2")
mciSimpleSendString("record capture")

which records with no error but results sound problems in captured
sound.

Is there a way to resolve this issue or someone has a deep experience
with MCI?

Thanks
 
K

kimiraikkonen

To clarify better, this very annoying corruption whose reason is 16-
bit sampling using MCI, is audible while playing recorded sound, not
during recording.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top