I know... and that's the reason why I can specify that, using the asound.conf. The source audio file is in 16 bit, 44100, stereo... but when I record with arecord, it does with 8bit, 8k, mono. So I must change this before arecord "record" the audio... where? .. I suppose this should be in asound.conf (or .asoundrc)... setting in the plug parameters "format", "channels" and "rate"... this way : pcm.plugfile{ type plug slave { pcm infile format S16_LE channels 2 rate 44100 } } but this does not work... thanks anyway On 22/12/2007, Lee Revell <rlrevell@xxxxxxxxxxx> wrote: > On Dec 21, 2007 9:39 PM, Carlos Hernandez <dspcarlos@xxxxxxxxx> wrote: > > Here the "format", "rate" and "channels" are set up, and these are the > > same as the original audio file. Then I suppose I would not have to > > specify these parameters with arecord. > > running arecord: > > > > carlos@chaos:~$ arecord -D plugfile out.wav > > Recording WAVE 'out.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono > > > > arecord does not do any kind of format detection on its input. It > records with whatever format you tell it to (in this case, the default > of 8Khz 8-bit mono) > > Lee > -- -------------------------------------- Universidad de Talca Facultad de Ingeniería Ingeniería Civil en Computación -------------------------------------- Movil +56 9 92624541 Skype dspcarlos ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user