Re: [Alsa-user] (arecord 24 bit (was RE: Alsa-user digest, Vol 1 #1389 - 17 msgs)
Brought to you by:
perex
|
From: Erik de C. L. <eri...@me...> - 2003-09-06 08:56:02
|
On Sat, 6 Sep 2003 01:20:09 -0700 "Jamie Lutch" <jl...@al...> wrote: > ok, so I was able to get it to work but was wondering why the help docs > list S24_LE as a valid format, but when I try to use it, I get: > > arecord: set_params:809: Sample format not available > > it seems to work fine with s32_le, though. this follows what erik said: > > >I don't think arecord can handle 24 bit WAV files. You might try S32_LE and > >then converting to 24 bits externally is SoX or sndfile-convert which is > >one of the example programs which comes with libsndfile. > > >The other possibility is that I could post some code which uses libsndfile > >to write to a 24 bit WAV file. What platform are you on? > > SuSE 8.2 > > also, is this program robust enough to use, or is it more of a 'test' > program. What is recommended for simple audio capture? You might have seen Jaroslav's suggestion to use the format S24_3LE > also, It shows the card as supporting 192K, but wont let me record at that > rate: > > linux:~ # amixer -c PDAudioCF cget iface=PCM,name='IEC958 External Rate' > numid=5,iface=PCM,name='IEC958 External Rate' > ; type=INTEGER,access=r----,values=1,min=0,max=192000,step=0 > : values=192000 > > when I try to record, I get: > > arecord: main:418: bad speed value 192000 I believe that the current version of PDAudioCF only goes to 96k. Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo no...@me... (Yes it's valid) +-----------------------------------------------------------+ Q. What is the difference between Jurassic Park and Microsoft? A. One is an over-rated high tech theme park based on prehistoric information and populated mostly by dinosaurs, the other is a Steven Spielberg movie. |