Thread Closed

C++ programming(access to sound card)

 
Share Thread
Jul5-08, 03:16 AM   #1
 

C++ programming(access to sound card)


hello,How can I access to sound card in lcc? I mean getting data and so on.could you give a simple example? thanks
PhysOrg.com science news on PhysOrg.com

>> City-life changes blackbird personalities, study shows
>> Origins of 'The Hoff' crab revealed (w/ Video)
>> Older males make better fathers: Mature male beetles work harder, care less about female infidelity
Jul5-08, 04:23 AM   #2
 
Admin
If you have never done that before programming sound card at the IO level will be hard. I would look for sound libraries or OS API. A lot depends on what you plan to do.

What operating system do you use?
Jul5-08, 09:03 PM   #3
zyh
 
DirectSound Wrapper Classes
in http://www.codeproject.com/KB/directx/dsoundwc.aspx
But I think this code need Directsound and visual c++ not the compiler as you mentioned LCC.

and there are many stuffs in the "www.codeproject.com ", you can just dig into this site.
Jul5-08, 09:12 PM   #4
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus

C++ programming(access to sound card)


I would prefer OpenAL, which is cross platform and very easy to use.

http://en.wikipedia.org/wiki/OpenAL

- Warren
Jul12-08, 03:34 AM   #5
 
Thanks, My OS is windows xp 32bit. actually I need a prepared C library which can be used in lcc-win32. My project is quite simple; It should recieve in each instant the intensity of an external sound from mic, doing some quick processess, and after that send an calculated intensity to speaker immediately.
Jul12-08, 07:03 PM   #6
 
Recognitions:
Gold Membership Gold Member
You can also try
fmod: http://www.fmod.org/ and
bass: http://www.un4seen.com/
I personally prefer fmod.
Apr17-09, 04:40 AM   #7
 
Hi

I am doing the same job as yours. Could you please guide me how to read sound card online in windows xp. my aim is to process the data afterwards.

Many thanks
Mohammad
Thread Closed

Similar discussions for: C++ programming(access to sound card)
Thread Forum Replies
Sound Card Line-In Electrical Engineering 1
Generating electrical signals with my sound card? Electrical Engineering 7
USB Headset and Sound Card Computing & Technology 1
Do we still need sound card ? Computing & Technology 4