Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-11 Thread pffffffff
Hello Lee, sox infile -t alsa -w -s plughw:1,1 does not immediately work. There is a syntax-error and I get sox: Can't open input file 'infile': No such file or directory But in the meantime I figured out the code that works for me: sox -t alsa -w -s plughw:1,1 -t cdr ... (then I pass the

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-11 Thread pffffffff
Thanks, I give it a try! I dont know why I did not consider it but it seems to be perfect for my purposes. I gues I am one of the very few people who use SOX. So thank you all for your kind help on a subject that rather seems to be related to a (missing) SOX documentation than to ALSA! Bodo

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-11 Thread Bill Unruh
On Tue, 11 Jul 2006 [EMAIL PROTECTED] wrote: Hello Lee, sox infile -t alsa -w -s plughw:1,1 does not immediately work. There is a syntax-error and I get sox: Can't open input file 'infile': No such file or directory infile is supposed to be the NAME of the input file that you are trying

[Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread pffffffff
Hello, I would like to record Radio (TV is not very important) directly from the TV-Card without passing the Sound through my Soundcard first. Normally (with PCI-Soundcards) have have to connect Analog Audio OUT of the TV-Card with a cable to Analog IN of your soundcard and additionally the mixer

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Lee Revell
On Mon, 2006-07-10 at 20:34 +0200, [EMAIL PROTECTED] wrote: In the meantime a record for my WinTV PCI-Card is shown at /proc/asound/cards but trying to access /dev/snd/pcmC1D1c with sox sox -V -r 48000 -w -t alsa /dev/snd/pcmC1D1c -t cdr test.wav gives this error: ALSA lib

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Lee Revell
On Mon, 2006-07-10 at 21:02 +0200, [EMAIL PROTECTED] wrote: Please read the sox documentation for how to use it with ALSA. I would love to read it! Can you tell me where I find it? The only documentation I know is the man-page and there current example on how to use sox on ALSA there is

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Bill Unruh
On Mon, 10 Jul 2006, Lee Revell wrote: On Mon, 2006-07-10 at 21:02 +0200, [EMAIL PROTECTED] wrote: Please read the sox documentation for how to use it with ALSA. I would love to read it! Can you tell me where I find it? The only documentation I know is the man-page and there current example

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Lee Revell
On Mon, 2006-07-10 at 12:25 -0700, Bill Unruh wrote: Example: sox infile -t alsa -w -s /dev/snd/pcmC0D0p That's really from the sox man page? It's totally wrong. So is the page: Yup that is the man page. .alsa ALSA /dev/snd/pcmCxDxp device driver

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Lee Revell
On Mon, 2006-07-10 at 12:25 -0700, Bill Unruh wrote: When this driver is used it allows you to open up the ALSA /dev/snd/pcmCxDxp file and configure it to use the same data format as passed in to SoX. It works for both playing and recording sound samples. That's also wrong - how

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Jaroslav Kysela
On Mon, 10 Jul 2006, Lee Revell wrote: On Mon, 2006-07-10 at 12:25 -0700, Bill Unruh wrote: Example: sox infile -t alsa -w -s /dev/snd/pcmC0D0p That's really from the sox man page? It's totally wrong. So is the page: Yup that is the man page. .alsa ALSA

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Avuton Olrich
On 7/10/06, Bill Unruh [EMAIL PROTECTED] wrote: ... Try ecasound, it's an extremely good, stable recorder. -- avuton -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - Using Tomcat but need to do more?

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Lee Revell
On Mon, 2006-07-10 at 21:37 +0200, Jaroslav Kysela wrote: On Mon, 10 Jul 2006, Lee Revell wrote: No it does not. However sox pluck/p6.wav -t alsa /dev/snd/pcmC0D0p DOES work. (or with the -w -s option as well) So it seems that sox does directly access the sound files. Why does

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Bill Unruh
On Mon, 10 Jul 2006, Lee Revell wrote: On Mon, 2006-07-10 at 12:25 -0700, Bill Unruh wrote: Example: sox infile -t alsa -w -s /dev/snd/pcmC0D0p That's really from the sox man page? It's totally wrong. So is the page: Yup that is the man page. .alsa ALSA /dev/snd/pcmCxDxp

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Lee Revell
On Mon, 2006-07-10 at 13:02 -0700, Bill Unruh wrote: On Mon, 10 Jul 2006, Lee Revell wrote: Why does sox abuse the ALSA API this way? Why can't it use the alsa-lib interface like everyone else? I guess you need to ask Chris Bagwell ([EMAIL PROTECTED]) that one, but the lack of ALSA

Re: [Alsa-user] Which Card for direct Audio-Recording

2006-07-10 Thread Matthias Koenig
Lee Revell [EMAIL PROTECTED] writes: Seems like if he was able to figure out the undocumented alsa-lib - kernel interface he could have figured out how to use alsa-lib. There are tons of examples available. The sox ALSA interface has recently changed to use alsa-lib sox FILE -t alsa -w -s