C/C++ C++ programming(access to sound card)

  • Thread starter Thread starter markoX
  • Start date Start date
  • Tags Tags
    C++ Sound
AI Thread Summary
Accessing the sound card in LCC for Windows XP 32-bit involves using sound libraries or OS APIs, as programming at the IO level can be complex for beginners. Recommended libraries include DirectSound, which may require Visual C++, and cross-platform options like OpenAL, which is user-friendly. FMOD and BASS are also suggested as alternatives for sound processing. The goal is to capture sound intensity from a microphone, process it, and output it to speakers. Resources such as CodeProject provide additional examples and information for implementing these solutions.
markoX
Messages
28
Reaction score
0
hello,How can I access to sound card in lcc? I mean getting data and so on.could you give a simple example? thanks
 
Technology news on Phys.org
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?
 
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.
 
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 receive 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.
 
Last edited:
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
 

Similar threads

Replies
22
Views
5K
Replies
17
Views
2K
Replies
2
Views
3K
Replies
24
Views
3K
Replies
14
Views
7K
Back
Top