Hi,

I am using Visual Studio 2008 with .NET, on Windows XP.

Does anyone know how to (in C++):
*Recieve a trigger signal(1bit) from an external device, ie throught a generic microphone input(jack).
* Play/stream a 1D table of raw data(double/long) as an audible sound throught the sound card. Assume data is audio.

NB:
Latency is highly important. The time from recieving the trigger signal to the sending of the sound should not exeed 30ms. The sound is 500ms long.

If you have code samples, that would be best. Consider me a novice in C++.

Recommended Answers

All 2 Replies

Hi,

I am using Visual Studio 2008 with .NET, on Windows XP.

Does anyone know how to (in C++):
*Recieve a trigger signal(1bit) from an external device, ie throught a generic microphone input(jack)

Here's a link on microphone input in Windows. But for a 1 bit input I would suggest the serial or parallelport.

Here's a link on microphone input in Windows. But for a 1 bit input I would suggest the serial or parallelport.

Thanks for the timely response.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.