[LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Arnold Obdeijn
Hi all, I am using mplayer, sox and tee to capture streaming internet radio and send it both to an audio recognition program and to a file (recording). This is how I do it: mplayer -playlist {url} -nocache -af volnorm -msglevel all=1 -nolirc -vc dummy -vo null -ao pcm:file={$fifo1} & sox -S {$f

Re: [LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Paul Davis
On Thu, Apr 9, 2009 at 8:24 AM, Arnold Obdeijn wrote: > Hi all, > > I am using mplayer, sox and tee to capture streaming internet radio > and send it both to an audio recognition program and to a file > (recording). > This is how I do it: > > mplayer -playlist {url}  -nocache -af volnorm -msglevel

Re: [LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Justin Smith
On Thu, Apr 9, 2009 at 5:53 AM, Paul Davis wrote: > On Thu, Apr 9, 2009 at 8:24 AM, Arnold Obdeijn > wrote: >> Hi all, >> >> I am using mplayer, sox and tee to capture streaming internet radio >> and send it both to an audio recognition program and to a file >> (recording). >> This is how I do i

Re: [LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Adrian Knoth
On Thu, Apr 09, 2009 at 07:44:41AM -0700, Justin Smith wrote: > >> I am using mplayer, sox and tee to capture streaming internet radio > >> mplayer -playlist {url}  -nocache -af volnorm -msglevel all=1 -nolirc > Seconding the jack recommendation, I would recommend using xmms with xmms is dead. >

Re: [LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Stephen Sinclair
On Thu, Apr 9, 2009 at 8:53 AM, Paul Davis wrote: > On Thu, Apr 9, 2009 at 8:24 AM, Arnold Obdeijn > wrote: >> Hi all, >> >> I am using mplayer, sox and tee to capture streaming internet radio >> and send it both to an audio recognition program and to a file >> (recording). >> This is how I do i

Re: [LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Justin Smith
On Thu, Apr 9, 2009 at 11:17 AM, Stephen Sinclair wrote: > On Thu, Apr 9, 2009 at 8:53 AM, Paul Davis wrote: >> On Thu, Apr 9, 2009 at 8:24 AM, Arnold Obdeijn >> wrote: >>> Hi all, >>> >>> I am using mplayer, sox and tee to capture streaming internet radio >>> and send it both to an audio recog

Re: [LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Paul Davis
On Thu, Apr 9, 2009 at 2:28 PM, Justin Smith wrote: > On Thu, Apr 9, 2009 at 11:17 AM, Stephen Sinclair wrote: >> On Thu, Apr 9, 2009 at 8:53 AM, Paul Davis >> wrote: >>> On Thu, Apr 9, 2009 at 8:24 AM, Arnold Obdeijn >>> wrote: >> On that note, is there a JACK command-line utility that

Re: [LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Luis Garrido
> On that note, is there a JACK command-line utility that is as easy to > use as "|"? > > That would be cool, if a, b, and c were JACK-enabled applications: > > $ jack-pipe a : b : c > The gstreamer framework has a pipe-like approach. See, for instance, the examples here: http://linux.die.net/ma

Re: [LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Paul Davis
On Thu, Apr 9, 2009 at 3:06 PM, Luis Garrido wrote: >> On that note, is there a JACK command-line utility that is as easy to >> use as "|"? >> >> That would be cool, if a, b, and c were JACK-enabled applications: >> >> $ jack-pipe a : b : c >> > > The gstreamer framework has a pipe-like approach.

Re: [LAD] audio recording through pipe using mplayer and sox

2009-04-09 Thread Kjetil S. Matheussen
Arnold Obdeijn: > > Hi all, > > I am using mplayer, sox and tee to capture streaming internet radio > and send it both to an audio recognition program and to a file > (recording). > This is how I do it: > > mplayer -playlist {url} -nocache -af volnorm -msglevel all=1 -nolirc > -vc dummy -vo null

Re: [LAD] audio recording through pipe using mplayer and sox sometimes has incorrect speed

2009-04-09 Thread Luis Garrido
> GStreamer is strictly an *intra* application framework. It has > capability (other than interfacing with JACK) to connect multiple > applications. > Indeed (you obviously meant it *hasn't* the capability, of course.) I didn't explicit clearly the context of my answer, sorry. I was more thinking