[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1623
  • Last Modified:

Using sound card as ADC/DAC

I want to use a sound card as a primitive ADC/DAC.
How can I read input voltage in a microphone socket and output certain voltage to a headphone socket using C++?
0
Tim2945
Asked:
Tim2945
2 Solutions
 
masheikCommented:
0
 
PCBONEZCommented:
There are a number of projects that use a sound card as a basic oscilloscope.
Might help to look at their code. You seem to be doing about the same thing.
This is just one, there are several around.
http://zeitnitz.de/Christian/Scope/Scope_en.html
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now