954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Raw sound data in VS C++

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++.

herrepeder
Newbie Poster
3 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

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.

Nick Evan
Not a Llama
Moderator
10,112 posts since Oct 2006
Reputation Points: 4,142
Solved Threads: 403
 
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.

herrepeder
Newbie Poster
3 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You