Reading samples from an audio stream at an USB port.
The USB port would receive a raw audio signal from a device similar to a soundcard.
The goal is to directly read samples from that sound-stream and find the resulting (average) amplitude and the significant frequency (by FFT) and write the result to a file in 1 second intervals. There is no user interface,
The program should run as a batch program under all standard OS like Windows, Mac OS X, and Linux (i86 or ARM). It is therefor required to bypass the OS specific audio modules, like ALSA/portaudio etc. completely.
- for detecting and direct reading from USB device: libusb [login to view URL]
- for Freqeuncy analyzys any FFT lib e.g. FFTW [login to view URL]
12 freelancers are bidding on average $1220 for this job
By using the libusb and FFTW, it seems a straight forward project. How can I get the raw audio device? If I got one, I can develop this program quikly.