On Thu, Jun 10, 2010 at 5:13 PM, O. <smallfloralprint@gmail.com> wrote:
hello. Im fairly new to pd, and am trying to write a patch that when a volume threshold is broken (from the built in laptop mics), it i will record audio for duration x, and save it as a file, however if the threshold is broken again during duration x, duration x is reset and only saves out the file until the threshold isnt broken for duration x. when the file is done recording, and the threshold is broken again, I would like it to start recording another file. the reason I'm making this is because ive been made aware that i've been saying strange things in my sleep (that i dont remember), and I wanted to try and record them. Eventually with the onboard webcam too, but just audio for now.
 
Not a true solution, but if you have the sound recorded in VBR mp3 and you set the minimum bitrate to 0, at least it won't eat up your disk space when no sound.

BTW by the time you make this patch up, you'll talk about Pd in your dreams! Don't be surprised :)

Andras