Re: Passive metronome, sound card.

From: Poly-poly man (
Date: 11/04/05

Date: Fri, 04 Nov 2005 02:11:17 GMT

Herbert wrote:
> I want to write a program (language C, architecture Linux)
> for a passive metronome.
> The musician listens to a standard metronome. But this
> passive metronome would be different: it would listen
> to the musician.
> Presumably, doing this would involve a) selecting a sound
> card with a microphone, b) installing it into the computer,
> c) open()ing /dev/audio, and d) reading the byte stream
> and interpreting it as a wave form.
> But search engines have been of remarkably little help
> to me in filling in details, such as a) how to select an
> appropriate sound card, b) whether the above procedural
> outline is correct, and c) how to interpret the byte stream.
> Any help out there?

Sorry I can't be of any help, but I can suggest that you try a c
specific group also.

poly-p man