[Klug-general] Linux Sound Programming

Peter Childs peterachilds at gmail.com
Fri Mar 19 15:49:59 UTC 2010


On 19 March 2010 15:40, Thomas Edward Groves <teg451013 at freeuk.com> wrote:
> I've been thinking about Peter Childs' problem which seems to be to carry
> out a long recording
> and then chop it into files each containing 15 minutes' worth of audio.
>
> One tactic would be to launch an instance of rec recording into a large ogg
> file and then use
> ogg123 to chop this into 15 minute long chunks in wav files (ogg123 won't
> output to ogg or mp3)
> and then do a bulk convert to ogg or mp3.
>
> Problems with this are: it's going to be big file and how do you stop the
> recording.
>
> Another tactic would be to have a program which spawns instances of rec
> recording into mp3 and
> then kills them every 15 minutes.
> Problems here are: timing between instances and, as before, what's the
> stopping rule.
>
> All of this follows from the fact that rec runs until it's hit over the head
> with cntrl-C.
>
> Audio is a mess.
>
> Tom Groves
>
> Incidentally if this isn't the right way to respond to a thread then
> a) I apologise and b) just let me know.
>
>
>

arecord has a -d switch that means record the x seconds, Rather a pain
is that parec does not.

Peter



More information about the Kent mailing list