Re: audio CD/CD-TEXT

2012-12-08 Thread Waitman Gobble
On Thu, Nov 29, 2012 at 2:50 PM, Juergen Lock n...@jelal.kn-bremen.dewrote:

 On Wed, Nov 28, 2012 at 10:30:36PM -0800, Waitman Gobble wrote:
  Hi,
 Hi!
 
  A girl sent me her CD and it appears that she created a mixed mode
  disc with CD-TEXT info of her lyrics. I can't recall playing/noticing
  such a disc in the past 10 years so I'm at a loss.
 
  I can dump the audio tracks (cdda2wav) and/or play the audio disc with
 mplayer.
 
  Anyone with a pointer on how to get at the CD-TEXT info? ie, read the
  lyrics. THANKS!
 
  If the lyrics are really cd-text maybe cdrdado read-cd can read them:

 http://www.freshports.org/sysutils/cdrdao

 At least I've seen cd-text records in the toc files it produces...

  HTH, :)
 Juergen
 
  # cd-info /dev/cd0
  cd-info version 0.83 amd64-portbld-freebsd9.0
  CD location   : /dev/cd0
  CD driver name: FreeBSD
 access mode: CAM
 
  Vendor  : hp
  Model   : CDDVDW SN-208BB
  Revision: HH01
  Hardware  : CD-ROM or DVD
  __
 
  Disc mode is listed as: CD-ROM Mixed
  CD-ROM Track List (1 - 12)
#: MSF   LSNType   Green? Copy? Channels Premphasis?
1: 00:02:00  00 audio  false  no2no
2: 03:51:30  017205 audio  false  no2no
3: 08:25:73  037798 audio  false  no2no
4: 13:10:19  059119 audio  false  no2no
5: 17:19:00  05 audio  false  no2no
6: 22:24:01  100651 audio  false  no2no
7: 27:24:54  123204 audio  false  no2no
8: 32:41:17  146942 audio  false  no2no
9: 37:41:26  169451 audio  false  no2no
   10: 40:48:05  183455 audio  false  no2no
   11: 44:18:38  199238 audio  false  no2no
   12: 51:36:41  232091 data   false  no
  170: 51:42:43  232543 leadout (521 MB raw, 518 MB formatted)
  Media Catalog Number (MCN): 0
  TRACK  1 ISRC: 
  TRACK  2 ISRC: 
  TRACK  3 ISRC: 
  TRACK  4 ISRC: 
  TRACK  5 ISRC: 
  TRACK  6 ISRC: 
  TRACK  7 ISRC: 
  TRACK  8 ISRC: 
  TRACK  9 ISRC: 
  TRACK 10 ISRC: 
  TRACK 11 ISRC: 
  TRACK 12 ISRC: 
  Last CD Session LSN: failed
  audio status: no status
  volume level port 0: 216 (0..255)  84 (0..100)
  volume level port 1: 216 (0..255)  84 (0..100)
  volume level port 2:   0 (0..255)   0 (0..100)
  volume level port 3:   0 (0..255)   0 (0..100)
  __
  CD Analysis Report
  Audio CD, CDDB disc ID is 9f0c1c0c
  ++ WARN: command data missing
  cd-info: Found 0 matches in CDDB
 
  CD-TEXT for Disc:
PERFORMER: Anomie Belle
TITLE: sleeping patterns
  CD-TEXT for Track  1:
PERFORMER:
TITLE: down
  CD-TEXT for Track  2:
PERFORMER:
TITLE: how can i be sure
  CD-TEXT for Track  3:
PERFORMER:
TITLE: american view
  CD-TEXT for Track  4:
PERFORMER:
TITLE: john q public
  CD-TEXT for Track  5:
PERFORMER:
TITLE: cascade
  CD-TEXT for Track  6:
PERFORMER:
TITLE: greenhouse
  CD-TEXT for Track  7:
PERFORMER:
TITLE: bedtime stories
  CD-TEXT for Track  8:
PERFORMER:
TITLE: before you leave me
  CD-TEXT for Track  9:
PERFORMER:
TITLE: february sun
  CD-TEXT for Track 10:
PERFORMER:
TITLE: dox amsterdam
  CD-TEXT for Track 11:
PERFORMER:
TITLE: amy song
  CD-TEXT for Track 12:
  CD-Plus/Extra
  session #2 starts at track 12, LSN: 232091, ISO 9660 blocks: 232190
  ISO 9660: 232190 blocks, label `SLEEPING_PATTERNS_LYRICS'
 
 
 
  Something strange, sleeve lists 11 tracks. 12 is identified as data. if
 i try
  # mplayer -cdrom-device /dev/cd0 cdda://12
  MPlayer SVN-r35192-4.6.4 (C) 2000-2012 MPlayer Team
 
  Playing cdda://12.
  Found audio CD with 12 tracks.
 
  ...It sits there for a really, really long time, possibly waiting
  until the end of time (but I bailed).
  however, when I use cdda2wav to dump all the tracks I get 12 wav files.
 
  # mplayer audio_12.wav
  plays a recording of a telephone operator saying press 9 over and
  over again like 50 times maybe.
  which is odd because info claims it's txt (?) and i can't ...
 
 
  Thank you,
  Waitman Gobble
  San Jose California
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 
 


Thanks,

Tonight I experimented with cdrdao.

And now I think I've messed up on the terminology. As I believe I have come
to understand, The song titles are from 'CD-TEXT' which are being read and
displayed. It wasn't actually a problem. AFAIK This 

Re: audio CD/CD-TEXT

2012-11-29 Thread ill...@gmail.com
On 29 November 2012 01:30, Waitman Gobble gobble...@gmail.com wrote:
 Hi,

 A girl sent me her CD and it appears that she created a mixed mode
 disc with CD-TEXT info of her lyrics. I can't recall playing/noticing
 such a disc in the past 10 years so I'm at a loss.

 I can dump the audio tracks (cdda2wav) and/or play the audio disc with 
 mplayer.

 Anyone with a pointer on how to get at the CD-TEXT info? ie, read the
 lyrics. THANKS!

It's been a decade or more, but I remember that Tori Amos's
Raspberry Swirl CD-single had a couple of real-media tracks
tacked onto it, which I was able to successfully extract some-
how, though I don't recall exactly how at the moment.  I also
don't have any such disc handy, but does FreeBSD still create
the individual nodes for tracks (a la /dev/cd0t1, /cd0t2, . . .)?
You may be able to dd(1) the track  see if it has anything
resembling text in it, or perhaps is mountable as an iso.

-- 
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: audio CD/CD-TEXT

2012-11-29 Thread Waitman Gobble
On Nov 29, 2012 7:08 AM, ill...@gmail.com ill...@gmail.com wrote:

 On 29 November 2012 01:30, Waitman Gobble gobble...@gmail.com wrote:
  Hi,
 
  A girl sent me her CD and it appears that she created a mixed mode
  disc with CD-TEXT info of her lyrics. I can't recall playing/noticing
  such a disc in the past 10 years so I'm at a loss.
 
  I can dump the audio tracks (cdda2wav) and/or play the audio disc with
mplayer.
 
  Anyone with a pointer on how to get at the CD-TEXT info? ie, read the
  lyrics. THANKS!

 It's been a decade or more, but I remember that Tori Amos's
 Raspberry Swirl CD-single had a couple of real-media tracks
 tacked onto it, which I was able to successfully extract some-
 how, though I don't recall exactly how at the moment.  I also
 don't have any such disc handy, but does FreeBSD still create
 the individual nodes for tracks (a la /dev/cd0t1, /cd0t2, . . .)?
 You may be able to dd(1) the track  see if it has anything
 resembling text in it, or perhaps is mountable as an iso.

 --
 --
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

Thanks for the reply.

it does not appear to create the device nodes for each track, the manual
says it does that for atapi devices.

I did notice that cdda2wav created a txtinfo file resembling the data
track, but it appears to be mostly unintelligible with bits of
recognizeable english words mixed in, file cmd says its binary. I suppose
I'll need to do some research and experimentation with the cdda2wav program
to get at the meats.

Waitman Gobble
San Jose California
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: audio CD/CD-TEXT

2012-11-29 Thread Steve Randall
On Wed, 28 Nov 2012 22:30:36 -0800
Waitman Gobble gobble...@gmail.com wrote:

 Hi,
 
 A girl sent me her CD and it appears that she created a mixed mode
 disc with CD-TEXT info of her lyrics. I can't recall playing/noticing
 such a disc in the past 10 years so I'm at a loss.
 
 I can dump the audio tracks (cdda2wav) and/or play the audio disc
 with mplayer.
 
 Anyone with a pointer on how to get at the CD-TEXT info? ie, read the
 lyrics. THANKS!
 
 
 # cd-info /dev/cd0
 cd-info version 0.83 amd64-portbld-freebsd9.0
 CD location   : /dev/cd0
 CD driver name: FreeBSD
access mode: CAM
 
 Vendor  : hp
 Model   : CDDVDW SN-208BB
 Revision: HH01
 Hardware  : CD-ROM or DVD
 __
 
 Disc mode is listed as: CD-ROM Mixed
 CD-ROM Track List (1 - 12)
   #: MSF   LSNType   Green? Copy? Channels Premphasis?
   1: 00:02:00  00 audio  false  no2no
   2: 03:51:30  017205 audio  false  no2no
   3: 08:25:73  037798 audio  false  no2no
   4: 13:10:19  059119 audio  false  no2no
   5: 17:19:00  05 audio  false  no2no
   6: 22:24:01  100651 audio  false  no2no
   7: 27:24:54  123204 audio  false  no2no
   8: 32:41:17  146942 audio  false  no2no
   9: 37:41:26  169451 audio  false  no2no
  10: 40:48:05  183455 audio  false  no2no
  11: 44:18:38  199238 audio  false  no2no
  12: 51:36:41  232091 data   false  no
 170: 51:42:43  232543 leadout (521 MB raw, 518 MB formatted)
 Media Catalog Number (MCN): 0
 TRACK  1 ISRC: 
 TRACK  2 ISRC: 
 TRACK  3 ISRC: 
 TRACK  4 ISRC: 
 TRACK  5 ISRC: 
 TRACK  6 ISRC: 
 TRACK  7 ISRC: 
 TRACK  8 ISRC: 
 TRACK  9 ISRC: 
 TRACK 10 ISRC: 
 TRACK 11 ISRC: 
 TRACK 12 ISRC: 
 Last CD Session LSN: failed

The above could indicate a problem.


 audio status: no status
 volume level port 0: 216 (0..255)  84 (0..100)
 volume level port 1: 216 (0..255)  84 (0..100)
 volume level port 2:   0 (0..255)   0 (0..100)
 volume level port 3:   0 (0..255)   0 (0..100)
 __
 CD Analysis Report
 Audio CD, CDDB disc ID is 9f0c1c0c
 ++ WARN: command data missing
 cd-info: Found 0 matches in CDDB
 
 CD-TEXT for Disc:
   PERFORMER: Anomie Belle
   TITLE: sleeping patterns
 CD-TEXT for Track  1:
   PERFORMER:  
   TITLE: down
 CD-TEXT for Track  2:
   PERFORMER:  
   TITLE: how can i be sure
 CD-TEXT for Track  3:
   PERFORMER:  
   TITLE: american view
 CD-TEXT for Track  4:
   PERFORMER:  
   TITLE: john q public
 CD-TEXT for Track  5:
   PERFORMER:  
   TITLE: cascade
 CD-TEXT for Track  6:
   PERFORMER:  
   TITLE: greenhouse
 CD-TEXT for Track  7:
   PERFORMER:  
   TITLE: bedtime stories
 CD-TEXT for Track  8:
   PERFORMER:  
   TITLE: before you leave me
 CD-TEXT for Track  9:
   PERFORMER:  
   TITLE: february sun
 CD-TEXT for Track 10:
   PERFORMER:  
   TITLE: dox amsterdam
 CD-TEXT for Track 11:
   PERFORMER:  
   TITLE: amy song
 CD-TEXT for Track 12:
 CD-Plus/Extra
 session #2 starts at track 12, LSN: 232091, ISO 9660 blocks: 232190
 ISO 9660: 232190 blocks, label `SLEEPING_PATTERNS_LYRICS'

So the disk should be mountable using mount_cd9660. But if it can't
find the last session by itself, you would have to pass -s 232091 to
it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org