Thread: Code to access Sound Card / Line in

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    11

    Code to access Sound Card / Line in

    Hey,

    I'm writing an application that will use information from music (using Fast Fourier Transform to break it down) such as the frequencies and their amplititudes for different things.

    However, I really don't have any idea how to get information from the sound card (eg the mic and line in) to work with.

    Could anyone advise me on how to do this or better still, any libraries which have this low level code already written to access the sound coming into the sound card.

    I've read through the source code of a few programs (such as "WaveInFFT" which does exactly this but they seem to have been created using programs to automatically generate the code and as a result, they are virtually unreadable).

    I'll be writing it in C++ for windows using MS Visual Studio.


    Any help is greatly appreciated.
    Thanks,
    Conor.
    Last edited by conor20_ie; 10-04-2006 at 06:51 AM.

  2. #2
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    I am not sure, but you may use Directx.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  3. #3
    ... arjunajay's Avatar
    Join Date
    May 2005
    Posts
    203
    This is most probably platform specific.
    Try win or linux board.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help again with scrolling without wrapping
    By Dukefrukem in forum C Programming
    Replies: 8
    Last Post: 09-21-2007, 12:48 PM
  2. Blackjack
    By Tommo in forum C Programming
    Replies: 10
    Last Post: 06-20-2007, 08:07 PM
  3. ASM beginner gets 24 compiler errors on hello world...
    By Desolation in forum Tech Board
    Replies: 12
    Last Post: 06-16-2007, 10:21 PM
  4. Sound Card problems
    By Daesom in forum Tech Board
    Replies: 2
    Last Post: 11-30-2006, 04:01 PM
  5. How can I access a struct (from a header file)?
    By loxslay in forum C++ Programming
    Replies: 3
    Last Post: 10-07-2006, 01:25 PM