473,470 Members | 1,840 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Feb 21 '06 #1
3 2285
> 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"
Feb 21 '06 #2
larry wrote:
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
Feb 21 '06 #3
Thank you very much Bruno and Arnaud. I realy appreciate your help. I
know where should I start now.

Best regards,

Larry

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Feb 22 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Peter | last post by:
Hi all, I'm using windows media player as an object in visual basic 6. I have two sound cards in the PC. The default sound card is used for explorer "clicks" and statup / shutdown sounds in...
22
by: The Road To Utopia | last post by:
Here's one for the trolls...a common jibe from them is setting up audio/video hardware under linux. Ok, true story: at work today, someone asked me if I could tell him why his XP Home would play...
4
by: Robert Gravereaux | last post by:
I'm putting together a C# .Net forms project on win2k. The application requires some sort of horn sound. I've never implemented any audio in .Net, so I'm not sure how best to accomplish this. ...
3
by: June Li | last post by:
H I got a problem with detecting sound card with Windows x I use SDK function waveInGetNumDevs() to test if there is a sound card. But even if there is no sound card installed, the function...
0
by: June Li | last post by:
H I got a problem with detecting sound card with Windows xp I am working on an application to test microphone. First I need detect if there is a sound card installed (or integrated audio...
3
by: pealy2 | last post by:
Sorry if this is in the wrong group, I've searched long & hard without finding anything even slightly useful. (recommendations for a more relevant group gratefuly received) I need to change the...
7
tpgames
by: tpgames | last post by:
I know that an internal sound card has to be one listed as for a specific mother board. However, does this rule apply to external sound cards? I use a satellite A75-s2112 toshiba laptop, intel pent...
3
by: =?Utf-8?B?SlZE?= | last post by:
In my system, i have two sound card installed. I am developing one multimedia application in c# using DirectShow. I want to select particular sound card and play one audio file and, play another...
2
by: lazzypink | last post by:
hi guys! i having a problem in my project which is create a media player and let the user choose the sound card for audio output. Let say i have 2 sound card in my computer, i want to select the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.