How to change sound card to a A/D card?

  • Thread starter Thread starter larry
  • Start date Start date
L

larry

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 !

Regards,



Larry
 
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.
(e-mail address removed)
Remove only "_nos_pam"
 
larry said:
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 !

If the aim is just to record incoming signal in real-time, DirectShow is
probably the best solution. See the Platform SDK documenation on DirectShow
and audio sources.

Arnaud
MVP - VC
 
Thank you very much Bruno and Arnaud. I realy appreciate your help. I
know where should I start now.

Best regards,



Larry
 
Back
Top