Re: burncd audio produces white noise

2006-05-20 Thread Par Leijonhufvud
Michael A. Koerber [EMAIL PROTECTED] [2006.05.16] wrote:
   1.  Starting with a known good audio CD
   2.  Rip via dd if=/dev/acd0t01 ... etc
   3.  burncd -f /dev/acd0 track01.cdr ... etc

I've also used this, but have some problems: there is sometimes a
blank section in before the tracks, and allways a long one after (and
the CD player does not automatically detect that it should change to the
next track. Is this a problem with the CD player in my car and CD-R, or
with my procedure? I'll try a dd of the whole CD next, but being able to
select tracks would be great.

/Par

-- 
Par Leijonhufvud   [EMAIL PROTECTED]
The Hawaiian-Welsh Exchange:
Getting vowels and consonants to those in need.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd audio produces white noise

2006-05-20 Thread [LoN]Kamikaze

Par Leijonhufvud wrote:
 Michael A. Koerber [EMAIL PROTECTED] [2006.05.16] wrote:
   1.  Starting with a known good audio CD
   2.  Rip via dd if=/dev/acd0t01 ... etc
   3.  burncd -f /dev/acd0 track01.cdr ... etc
 


This might be because you don't use the appropriate blocksize. A more
secure way would be

# cp /dev/acd0t01 track01.cdr

or to copy the whole CD at once

# cp /dec/acd0 audiocd.image
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd audio produces white noise

2006-05-20 Thread Ulrich Spoerlein
[LoN]Kamikaze wrote:
 Par Leijonhufvud wrote:
  Michael A. Koerber [EMAIL PROTECTED] [2006.05.16] wrote:
1.  Starting with a known good audio CD
2.  Rip via dd if=/dev/acd0t01 ... etc
3.  burncd -f /dev/acd0 track01.cdr ... etc
  
 This might be because you don't use the appropriate blocksize. A more
 secure way would be
 
 # cp /dev/acd0t01 track01.cdr
 
 or to copy the whole CD at once
 
 # cp /dec/acd0 audiocd.image

recoverdisk has recently been enhanced to do exactly this kind of stuff.

It has not been MFC'ed yet, so you might want to download it from here:
http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/tools/tools/recoverdisk/recoverdisk.c?rev=1.6content-type=text/plain

Ulrich Spoerlein
-- 
 PGP Key ID: 20FEE9DD   Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.


pgpu6LZ61wNto.pgp
Description: PGP signature


Re: burncd audio produces white noise

2006-05-16 Thread Michael A. Koerber
All,

  Thanks for the responses.  Based on your input I did find that,
following the handbook,

  1.  Starting with a known good audio CD
  2.  Rip via dd if=/dev/acd0t01 ... etc
  3.  burncd -f /dev/acd0 track01.cdr ... etc

worked just fine.

  Thus the MP3 to CDR conversion had to be the cause.  I used the
command (tnx Lars Eighner)

  mpg123 -sr 44100 filename.mp3  filename.cdr

and then burncd'd these tracks...worked!  I don't know if the
underlying cause is sample rate, or byte-order.  But I have a
solution...So...I'm back to getting music together for my daughter's
wedding...I'll solve the final mystery another day :-)

tnx all

Mike

At Mon, 15 May 2006 08:00:48 -0400,
Michael A. Koerber wrote:
 
 All,
 
   Once upon a time, I think with 5.x or perhaps earlier, the command
 (ATAPI drive)
 
 burncd -ef /dev/acd0 audio *.cdr fixate
 
 would produce an audio CD for me.  However, under 6.0 and recently 6.1
 this same command produces an CD filled with white noise only.  The entire
 procedure I've used is:
 
   1.  Start w/ some MP3 files.
 
   2.  Use sox (or lame) to convert to CDR format
 
   3.  Verify the CDR format with 'xine filename.cdr'  (sounds good)
 
   4.  Make CD with above command.
 
   5.  Play CD on two different players (one on PC, one on entertainment 
 system) 
   (sounds like white noise)
 
   6.  Extract a CD track with dd if=/dev/acd0t01 of=tmp.cdr bs=2532
 
   7.  Test ripped track with 'xine tmp.cdr' sound just like the original MP3!
 
 To ensure that there weren't permissions problems along the way, I've executed
 these commands as root, though I once did this as a normal user.
 
 Any ideas on what I should look at to fix this problem?
 
 tnx in advance
 
 mike
 -- 
 There are no short cuts to anywhere worth going.
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd audio produces white noise

2006-05-15 Thread Albert Lee
On Mon, May 15, 2006 at 08:00:48AM -0400, Michael A. Koerber wrote:
 Any ideas on what I should look at to fix this problem?

What kind of CPU are you using?  Perhaps this is an endianness issue,
and swapping bytes around using the -x option to sox might do the
trick.

-Albert
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd audio produces white noise

2006-05-15 Thread Stephen Hurd

Michael A. Koerber wrote:

All,

  Once upon a time, I think with 5.x or perhaps earlier, the command
(ATAPI drive)

burncd -ef /dev/acd0 audio *.cdr fixate

would produce an audio CD for me.  However, under 6.0 and recently 6.1
this same command produces an CD filled with white noise only.  The entire
procedure I've used is:

  1.  Start w/ some MP3 files.

  2.  Use sox (or lame) to convert to CDR format

  3.  Verify the CDR format with 'xine filename.cdr'  (sounds good)

  4.  Make CD with above command.

  5.  Play CD on two different players (one on PC, one on entertainment system) 
  (sounds like white noise)


  6.  Extract a CD track with dd if=/dev/acd0t01 of=tmp.cdr bs=2532

  7.  Test ripped track with 'xine tmp.cdr' sound just like the original MP3!

To ensure that there weren't permissions problems along the way, I've executed
these commands as root, though I once did this as a normal user.

Any ideas on what I should look at to fix this problem?
  
Yeah, I've noticed that too now that you mention it.  When it happened 
to me, I switched to using atapicam and cdrecord with the -swab parameter.
Also, you may want to look at audio/mp3burn (still need to pass -swab 
though)


I would recommend that you file a PR on this one.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd audio produces white noise

2006-05-15 Thread Max Laier
On Tue, May 16, 2006 4:55 am, Stephen Hurd wrote:
 Michael A. Koerber wrote:
 All,

   Once upon a time, I think with 5.x or perhaps earlier, the command
 (ATAPI drive)

 burncd -ef /dev/acd0 audio *.cdr fixate

 would produce an audio CD for me.  However, under 6.0 and recently 6.1
 this same command produces an CD filled with white noise only.  The
 entire
 procedure I've used is:

   1.  Start w/ some MP3 files.

   2.  Use sox (or lame) to convert to CDR format

   3.  Verify the CDR format with 'xine filename.cdr'  (sounds good)

   4.  Make CD with above command.

   5.  Play CD on two different players (one on PC, one on entertainment
 system)
   (sounds like white noise)

   6.  Extract a CD track with dd if=/dev/acd0t01 of=tmp.cdr bs=2532

   7.  Test ripped track with 'xine tmp.cdr' sound just like the original
 MP3!

 To ensure that there weren't permissions problems along the way, I've
 executed
 these commands as root, though I once did this as a normal user.

 Any ideas on what I should look at to fix this problem?

 Yeah, I've noticed that too now that you mention it.  When it happened
 to me, I switched to using atapicam and cdrecord with the -swab parameter.
 Also, you may want to look at audio/mp3burn (still need to pass -swab
 though)

 I would recommend that you file a PR on this one.

Obviously you are giving the wrong options to sox/lame.  Most likely you
are confusing byte-order.  Might also be a problem with the configuration
options for the respective ports.

-- 
/\  Best regards,  | [EMAIL PROTECTED]
\ /  Max Laier  | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign  | Against HTML Mail and News

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd audio produces white noise

2006-05-15 Thread Stephen Hurd

Max Laier wrote:

Yeah, I've noticed that too now that you mention it.  When it happened
to me, I switched to using atapicam and cdrecord with the -swab parameter.
Also, you may want to look at audio/mp3burn (still need to pass -swab
though)

I would recommend that you file a PR on this one.



Obviously you are giving the wrong options to sox/lame.  Most likely you
are confusing byte-order.  Might also be a problem with the configuration
options for the respective ports
Something was confusing byte-order, that's for sure (or -swab wouldn't 
help) however, when I ripped, I would use madplay, not sox... and I 
*believe* that I had tried the dd method from CD to CD as outlined in 
the handbook and it failed too.  I'm groping for details because I don't 
burn audio CDs very often, but when something is converted from mp3 to 
cda, then the resulting cda is burnt to a CD on the same system that did 
the conversion, it should Just Work.  iirc, the CDA format uses the 
hosts byte order so burncd (or morelikely, the device) would need to use 
swab() when burning on BE systems.


Definitely something for Michael to try is following the steps outlined 
in the handbook for copying a CD and see if he still has the 
byte-swapping problem.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]