Hi,

We are doing some audio data collection.So I need to write a program which when run would generate a beep and record from a microphone until the next beep and save it as a wave file.This repeats for n beeps with a gap of 5 seconds between beeps.
Can someone give me a basic idea on how to go about doing this?

For the beep I guess you could use an escape character. cout<<"\a"; will give you a beep... sorry I'm not into audio at all.

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.