C++ programming(access to sound card)

  • Context: C/C++ 
  • Thread starter Thread starter markoX
  • Start date Start date
  • Tags Tags
    C++ Sound
Click For Summary

Discussion Overview

The discussion revolves around accessing the sound card in C++ using the LCC compiler, with a focus on obtaining sound data and processing it. Participants explore various libraries and APIs suitable for sound programming, particularly in the context of Windows XP.

Discussion Character

  • Exploratory, Technical explanation, Debate/contested

Main Points Raised

  • One participant suggests that programming the sound card at the IO level can be challenging for beginners and recommends looking into sound libraries or OS APIs, asking for clarification on the operating system in use.
  • Another participant mentions DirectSound Wrapper Classes available on CodeProject but notes that it may require DirectSound and Visual C++, which may not be compatible with LCC.
  • A different participant expresses a preference for OpenAL, citing its cross-platform capabilities and ease of use.
  • One participant specifies their need for a prepared C library compatible with LCC-win32 for a project involving real-time sound intensity processing from a microphone to speakers.
  • Another participant suggests additional libraries, FMOD and BASS, indicating a personal preference for FMOD.
  • A later reply requests guidance on reading sound card data online in Windows XP for further processing.

Areas of Agreement / Disagreement

Participants express differing preferences for sound libraries and approaches, indicating that multiple competing views remain regarding the best method to access and process sound card data.

Contextual Notes

Limitations include the specific requirements of the LCC compiler, the compatibility of suggested libraries with Windows XP, and the varying levels of experience among participants in programming sound card access.

Who May Find This Useful

Individuals interested in sound programming, particularly those using C++ and the LCC compiler on Windows XP, may find this discussion relevant.

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 ·
Replies
22
Views
6K
Replies
86
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 4 ·
Replies
4
Views
996
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 8 ·
Replies
8
Views
1K