Sergei Steshenko escribió: > On Thu, 06 Nov 2008 20:29:53 +0100 > Eduardo García <[EMAIL PROTECTED]> wrote: > > >> Sergei Steshenko escribió: >> >>> On Thu, 06 Nov 2008 16:17:41 +0100 >>> Eduardo García <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>>> Hello! >>>> >>>> Since days ago I'm trying to capture into a wav file the sounds that my >>>> soundcard was playing in that moment, in other words "what u hear", >>>> tried several programs but I have ended trying arecord, but no success, >>>> not sure that if I'm doing it right. >>>> >>>> My soundcard is an Esi Juli@ [ICE1724], and when I try an "arecord >>>> test.wav" I only get a 44 Bytes "test.wav" file. >>>> >>>> If I try an "arecord -f dat -D hw:0,0 test.wav" I get the following, >>>> arecord: set_params:918: Sample format non available >>>> >>>> I also tested a lot of other settings but most of them returned an: >>>> arecord: main:564: audio open error: No such file or directory >>>> >>>> So any clues on how I can grab what I hear into a wav file? >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win great >>>> prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in the world >>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> _______________________________________________ >>>> Alsa-user mailing list >>>> Alsa-user@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/alsa-user >>>> >>>> >>>> >>> Hevae you tried to specify sample rate ? >>> >>> Regards, >>> Sergei. >>> >>> >>> >> Do you mean with -rate=# switch? If you mean that yes, I have tried that >> and it gives the same "arecord: set_params:918: Sample format non >> available" error. >> If not, please tell me, as I'm not alsa guru at all. >> >> > > I meant --rate=#. > > Regards, > Sergei. > > tested the following
[EMAIL PROTECTED]:~$arecord --rate=44100 test.wav Result: Another 44 Bytes wav file. So I tried. [EMAIL PROTECTED]:~$ arecord -D hw:0,0 --rate=44100 test.wav Recording WAVE 'test.wav' : Unsigned 8 bit, Ratio 44100 Hz, Mono arecord: set_params:918: ample format non available error. :S no luck right now ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user