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
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