Start recording after threshold on mic reached

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux