> Hi, my friends,
My boss asked me to use sound card to do analog to digital conversion
for my application. I know when we record sound, sound card changes
anolog signal to digital file. I have no idea where should I start? Do I
need to write a driver for sound card? Is there any tool from Visual
Stuido? Would you like to help me? H e l p !
Hi,
you don't have to write a driver for your soundcard.
the principle behind the idea is quite simple. a sound card can record an
analog signal at certain frequencies. the signal is converted from analog to
a digital waveform with a specific resolution, depending on what your card
can do (typically 8, 12 or 16 bits i think).
there are different approaches, among them the multimedia functions in the
platform SDK and the DirectSound functions in DirectX.
for some practical samples you can search for 'recording' on
www.codeproject.com. that will give you a number of examples.
these examples are about audio recording, but of course audio is just an
analog signal. if you hook up a function generator or a sensor, you can
record it.
be sure though to check the input signal specifications of your sound card.
otherwise you might blow up your sound card.
--
Kind regards,
Bruno.
br**********************@hotmail.com
Remove only "_nos_pam"