<p>Try the sox package. It has utilities to play back and record, which you can then script from cron or at.</p>
<p>Neil.</p>
<p>P.S. Sorry for the brevity, this is typed on my phone.</p>
<div class="gmail_quote">On May 1, 2012 2:38 AM, "Tim Dobson" <<a href="mailto:lists@tdobson.net">lists@tdobson.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok Guys,<br>
<br>
This is an end-user question... which is strange because I usually think<br>
I should know the answer to a question like this... but I don't.<br>
<br>
It is reputed that I snow. Allegedly, when camping, people have confused<br>
the sound with that of a quadbike due the the volume and consistency.<br>
<br>
I'm not however, asking for anti-snoring advice - I have that in hand.<br>
<br>
Given, that I've not heard it myself, it's difficult to empathise and so<br>
I'd like to record myself snoring.<br>
<br>
This creates some problems:<br>
<br>
I don't want to record 7 hours of PCM audio.<br>
<br>
I don't know any commandline tools to record from pulseaudio.<br>
<br>
What I really need is a:<br>
<br>
at 03:00 recordfrompulsemic1 for 600 seconds to ~/file.wav<br>
<br>
Or something along those lines. I don't care if it's graphical or shell,<br>
but I'm sure this isn't too difficult to do, so I'd be interested in<br>
hearing what people thought.<br>
<br>
Cheers,<br>
<br>
Tim<br>
<br>
--<br>
<a href="mailto:ubuntu-uk@lists.ubuntu.com">ubuntu-uk@lists.ubuntu.com</a><br>
<a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk</a><br>
<a href="https://wiki.ubuntu.com/UKTeam/" target="_blank">https://wiki.ubuntu.com/UKTeam/</a><br>
</blockquote></div>