Needed a program(code) for capturing sound from a microphone, concurrent writing data into WAV file and put in memory buffer(just array of float)
1. Code ?/C++ for Linux 64 bit(core 3.1.x) - and detailed comments in code;
2. Program is console application - parameters:
a - write WAV file or not
b - mask for WAV file name
c - duration of each WAV file is from 1 to 30 seconds
d - discretization frequency in Hz
e - capture in mono or stereo
f - size for memory buffer(array) - max 30 seconds
3. Capturing data should last during the whole time of program running (think about ringbuffer)
4. Use API ALSA
5. Capture data from microphone should be written in memory buffer(array of float) and concurrently should be written into WAV files
6. Use pthread for concurrency
Will be waiting for proposals regarding time and price
This is very trivial ringbuffer program. I wouldn't be surprised if parsing the command-line arguments ended up using more lines-of-code than the ringbuffer/fileoutput!
Hello,
We are embedded programmers with loads of experience with programming over Linux OS, both for embedded and desktop targets.
More details of the bid are sent to your mailbox.
Thanks.