[pulseaudio-discuss] Start recording after threshold on mic reached

Lennart Poettering lennart at poettering.net
Thu Dec 17 03:24:40 PST 2009


On Mon, 30.11.09 14:14, david johnson (mozartatplay at gmail.com) wrote:

> Hi
> 
> I'm new to pulseaudio, I'm trying to find out if its possible to write a
> pulseaudio application which can trigger recording to start when a
> certain volume threshold its reached on the microphone. I'm writing a
> music note recognition program and I need to accurately know when a
> sound started and ended.

PA will provide you with the raw PCM stream. It should not be
difficult to do threshold checks on that. No need for special support
in PA for that.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list