How to take ADC readings on windows machine?

Discussion in 'Programmer's Corner' started by goutham1995, Jul 13, 2018.

  1. goutham1995

    Thread Starter Member

    Feb 18, 2018
    72
    2
    Hi,
    How can I take the ADC of an input signal given to the microphone input of a windows machine? Is there any program or library to do so?
     
  2. ericgibbs

    Moderator

    Jan 29, 2010
    5,475
    1,023
    hi 1995,
    This might do what your asking, I use it for creating plots, it can save audio mike/line input files in different formats.
    https://www.audacityteam.org/

    E
     
    Reloadron likes this.
  3. danadak

    Well-Known Member

    Mar 10, 2018
    1,455
    296
    You can start with a PC sound card based scope for free. Will give you basically
    audio range scope, spectrum analyzer, and function generator all using your
    PC sound card.


    https://www.zeitnitz.eu/scope_en


    http://www.zelscope.com/


    http://www.ledametrix.com/oscope/


    http://www.virtins.com/downloads.shtml


    But first build a simple circuit to protect sound card inputs so you do not
    ruin from transients, overvoltage. Google "protect sound card input".


    For example http://makezine.com/projects/sound-card-oscilloscope/

    Regards, Dana.
     
  4. goutham1995

    Thread Starter Member

    Feb 18, 2018
    72
    2
    Thanks. I have already used this. But I want to do it in a c/c++ program and not using a dedicated software as I have to perform some algorithms on it
     
  5. goutham1995

    Thread Starter Member

    Feb 18, 2018
    72
    2
    I am looking for a C/C++ program or a library to monitor the microphone input and store the ADC values in a buffer. I do not want to use any other software or circuit. Just like how we can take ADC on Arm microcontroller, I want to know how to do the same on my PC.
     
  6. Ian Rogers

    Active Member

    Dec 12, 2012
    392
    95
  7. goutham1995

    Thread Starter Member

    Feb 18, 2018
    72
    2
    Can it be used on windows 10? And can it record audio input whenever there is a speech event and store the values in a buffer? I want to take FFT of this buffer later
     
  8. Ian Rogers

    Active Member

    Dec 12, 2012
    392
    95
    No Idea! download and try it... Its free..
     
Loading...