9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] cd ripper
@ 2008-02-06 21:54 john
  2008-02-06 22:08 ` john
  0 siblings, 1 reply; 4+ messages in thread
From: john @ 2008-02-06 21:54 UTC (permalink / raw)
  To: 9fans

At Ron's request, I've whipped together a pair of rc scripts to do
audio CD ripping. 'cdripper' will sit and watch your CD drive; when
you insert a disc, it copies the audio tracks /tmp/cdtracks, gets
the cddb info for the disc, and calls cdprep. 'cdprep' then takes
the output of cddb and encodes the audio tracks to mp3 files in
/lib/music/<artist>/<album>
The code is in /n/sources/contrib/john
Send questions to me, complaints about inflexibility to /dev/null ;)

John


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] cd ripper
  2008-02-06 21:54 [9fans] cd ripper john
@ 2008-02-06 22:08 ` john
  2008-02-06 22:14   ` cinap_lenrek
  0 siblings, 1 reply; 4+ messages in thread
From: john @ 2008-02-06 22:08 UTC (permalink / raw)
  To: 9fans

> At Ron's request, I've whipped together a pair of rc scripts to do
> audio CD ripping. 'cdripper' will sit and watch your CD drive; when
> you insert a disc, it copies the audio tracks /tmp/cdtracks, gets
> the cddb info for the disc, and calls cdprep. 'cdprep' then takes
> the output of cddb and encodes the audio tracks to mp3 files in
> /lib/music/<artist>/<album>
> The code is in /n/sources/contrib/john
> Send questions to me, complaints about inflexibility to /dev/null ;)
>
> John

Ok, so I spoke too soon... now that I finally have sound working
again I've tried playing some of the mp3's generated and found
that they're just noise... I'll figure this out ASAP and get the
fixed code up.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] cd ripper
  2008-02-06 22:08 ` john
@ 2008-02-06 22:14   ` cinap_lenrek
  2008-02-06 22:19     ` john
  0 siblings, 1 reply; 4+ messages in thread
From: cinap_lenrek @ 2008-02-06 22:14 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 30 bytes --]

pcm samples byte swaped? ;-)

[-- Attachment #2: Type: message/rfc822, Size: 3189 bytes --]

From: john@csplan9.rit.edu
To: 9fans@cse.psu.edu
Subject: Re: [9fans] cd ripper
Date: Wed, 6 Feb 2008 17:08:07 -0500
Message-ID: <a0167e88d07b362797f7ef2a223039c2@csplan9.rit.edu>

> At Ron's request, I've whipped together a pair of rc scripts to do
> audio CD ripping. 'cdripper' will sit and watch your CD drive; when
> you insert a disc, it copies the audio tracks /tmp/cdtracks, gets
> the cddb info for the disc, and calls cdprep. 'cdprep' then takes
> the output of cddb and encodes the audio tracks to mp3 files in
> /lib/music/<artist>/<album>
> The code is in /n/sources/contrib/john
> Send questions to me, complaints about inflexibility to /dev/null ;)
>
> John

Ok, so I spoke too soon... now that I finally have sound working
again I've tried playing some of the mp3's generated and found
that they're just noise... I'll figure this out ASAP and get the
fixed code up.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] cd ripper
  2008-02-06 22:14   ` cinap_lenrek
@ 2008-02-06 22:19     ` john
  0 siblings, 0 replies; 4+ messages in thread
From: john @ 2008-02-06 22:19 UTC (permalink / raw)
  To: 9fans

> pcm samples byte swaped? ;-)

That seems to be the problem; using dd -conv swab seems to have
fixed it. Updated cdprep is up.

John


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-02-06 22:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-06 21:54 [9fans] cd ripper john
2008-02-06 22:08 ` john
2008-02-06 22:14   ` cinap_lenrek
2008-02-06 22:19     ` john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).