Ok. thanks for your great help. For now, I choose the simplicity and * use the state files provided with the fr * use the -D plughw:0,0 option to record only a mono file and use -r 8000 to record at 8khZ
So my line becomes: arecord -D plughw:0,0 -r 8000 $userfolder"/"$myname & This saves a lot of space : 2MO --> 100 kO for a 10 seconds record. I am about to release version 2 :D 2009/2/22 Rask Ingemann Lambertsen <r...@sygehus.dk> > On Sun, Feb 22, 2009 at 01:30:52PM +0100, kimaidou wrote: > > Hi guys > > > > I have a question : why not just pass the good parameters to arecord so > that > > it recors in 8bit, Mono, 8kHz as : > > arecord -D hw -f S16_LE -t wav -c 1 -r 8000 myfile.wav > > $ arecord -D hw -f S16_LE -t wav -c 1 -r 8000 myfile.wav > Recording WAVE 'myfile.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, > Mono > arecord: set_params:923: Channels count non available > > $ arecord -D hw -f S8 -t wav -c 2 -r 8000 myfile.wav > Recording WAVE 'myfile.wav' : Signed 8 bit, Rate 8000 Hz, Stereo > arecord: set_params:918: Sample format non available > > $ arecord -D hw -f U8 -t wav -c 2 -r 8000 myfile.wav > Recording WAVE 'myfile.wav' : Unsigned 8 bit, Rate 8000 Hz, Stereo > arecord: set_params:918: Sample format non available > > -- > Rask Ingemann Lambertsen > Danish law requires addresses in e-mail to be logged and stored for a year > > _______________________________________________ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community >
_______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community