Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

audio CD/CD-TEXT

69 views
Skip to first unread message

Waitman Gobble

unread,
Nov 29, 2012, 1:30:36 AM11/29/12
to
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 LSN Type Green? Copy? Channels Premphasis?
1: 00:02:00 000000 audio false no 2 no
2: 03:51:30 017205 audio false no 2 no
3: 08:25:73 037798 audio false no 2 no
4: 13:10:19 059119 audio false no 2 no
5: 17:19:00 077775 audio false no 2 no
6: 22:24:01 100651 audio false no 2 no
7: 27:24:54 123204 audio false no 2 no
8: 32:41:17 146942 audio false no 2 no
9: 37:41:26 169451 audio false no 2 no
10: 40:48:05 183455 audio false no 2 no
11: 44:18:38 199238 audio false no 2 no
12: 51:36:41 232091 data false no
170: 51:42:43 232543 leadout (521 MB raw, 518 MB formatted)
Media Catalog Number (MCN): 0000000000000
TRACK 1 ISRC: 000000000000
TRACK 2 ISRC: 000000000000
TRACK 3 ISRC: 000000000000
TRACK 4 ISRC: 000000000000
TRACK 5 ISRC: 000000000000
TRACK 6 ISRC: 000000000000
TRACK 7 ISRC: 000000000000
TRACK 8 ISRC: 000000000000
TRACK 9 ISRC: 000000000000
TRACK 10 ISRC: 000000000000
TRACK 11 ISRC: 000000000000
TRACK 12 ISRC: 000000000000
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-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

ill...@gmail.com

unread,
Nov 29, 2012, 10:08:08 AM11/29/12
to
On 29 November 2012 01:30, Waitman Gobble <gobb...@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.

--
--

Waitman Gobble

unread,
Nov 29, 2012, 10:29:28 AM11/29/12
to
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

Steve Randall

unread,
Nov 29, 2012, 11:04:08 AM11/29/12
to
On Wed, 28 Nov 2012 22:30:36 -0800
Waitman Gobble <gobb...@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!
>
>
The above could indicate a problem.
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.

Juergen Lock

unread,
Nov 29, 2012, 5:50:53 PM11/29/12
to
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
> 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

Waitman Gobble

unread,
Nov 30, 2012, 1:18:03 AM11/30/12
to
On Thu, Nov 29, 2012 at 8:04 AM, Steve Randall <srand...@fastmail.fm> wrote:
> On Wed, 28 Nov 2012 22:30:36 -0800
> Waitman Gobble <gobb...@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!
>>
>>
> The above could indicate a problem.
>
>
> 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-...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Thanks. I am not able to mount the CD. i tried another one of the CD's
she sent to check, it's a completely different title produced 4 years
after the other disc, by a different studio/entity.


# mount_cd9660 -s 232091 /dev/cd0 /cdrom/
mount_cd9660: /dev/cd0: Invalid argument

# mount -t cd9660 -s 232091 /dev/cd0 /cdrom
mount: illegal option -- s

# mount -t cd9660 /dev/cd0 /cdrom
mount_cd9660: /dev/cd0: Invalid argument

# camcontrol devlist
<ST750LX003-1AC154 SM12> at scbus0 target 0 lun 0 (ada0,pass0)
<hp CDDVDW SN-208BB HH01> at scbus1 target 0 lun 0 (cd0,pass1)

# camcontrol start /dev/cd0
Unit started successfully

# mount /dev/cd0 /cdrom/
mount: /dev/cd0: Invalid sectorsize 2352 for superblock size 8192:
Invalid argument

# mount_cd9660 -s 232091 /dev/cd0 /cdrom/
mount_cd9660: /dev/cd0: Invalid argument

# cd-info
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 - 6)
#: MSF LSN Type Green? Copy? Channels Premphasis?
1: 00:02:00 000000 audio false no 2 no
2: 03:53:61 017386 audio false no 2 no
3: 07:05:42 031767 audio false no 2 no
4: 11:26:43 051343 audio false no 2 no
5: 15:36:48 070098 audio false no 2 no
6: 21:37:62 097187 data false no
170: 21:52:41 098291 leadout (220 MB raw, 218 MB formatted)
Media Catalog Number (MCN): 0000000000000
TRACK 1 ISRC: 000000000000
TRACK 2 ISRC: 000000000000
TRACK 3 ISRC: 000000000000
TRACK 4 ISRC: 000000000000
TRACK 5 ISRC: 000000000000
TRACK 6 ISRC: 000000000000
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 4e051e06
++ WARN: command data missing
cd-info: Found 0 matches in CDDB

CD-TEXT for Disc:
PERFORMER: Anomie Belle
TITLE: Machine
CD-TEXT for Track 1:
PERFORMER: Anomie Belle
TITLE: Slither
CD-TEXT for Track 2:
PERFORMER: Anomie Belle
TITLE: Machine (feat. Mr Lif)
CD-TEXT for Track 3:
PERFORMER: Anomie Belle
TITLE: Electric Lullaby (Tapage Remix)
CD-TEXT for Track 4:
PERFORMER: Anomie Belle
TITLE: Bodies Offering (Other Lovers Mix)
CD-TEXT for Track 5:
PERFORMER: Anomie Belle
TITLE: Machine (Big Spider's Back Remix) [feat. Mr Lif]
CD-TEXT for Track 6:
CD-Plus/Extra
session #2 starts at track 6, LSN: 97187, ISO 9660 blocks: 952
ISO 9660: 952 blocks, label `DIGITAL BOOKLET '

# camcontrol start /dev/cd0
Unit started successfully

# mount_cd9660 -s 097187 /dev/cd0 /cdrom/
mount_cd9660: /dev/cd0: Invalid argument

# mount /dev/cd0 /cdrom
mount: /dev/cd0: Invalid sectorsize 2352 for superblock size 8192:
Invalid argument


However, I can play and/or rip the disc.

# mplayer -cdrom-device /dev/cd0 cdda://1
MPlayer SVN-r35192-4.6.4 (C) 2000-2012 MPlayer Team

Playing cdda://1.
Found audio CD with 6 tracks.

Track 1
rawaudio file format detected.
{music}



The GNU libcdio documentation is interesting reading, especially stuff
about LSN and LBA.

I think maybe the "Invalid sectorsize 2352 for superblock size 8192:
Invalid argument" is a hint, checking it out.

Thanks,
Waitman
0 new messages