audio CD/CD-TEXT
Waitman Gobble
gobble.wa at gmail.com
Fri Nov 30 06:18:04 UTC 2012
On Thu, Nov 29, 2012 at 8:04 AM, Steve Randall <srandall52 at fastmail.fm> wrote:
> On Wed, 28 Nov 2012 22:30:36 -0800
> Waitman Gobble <gobble.wa at 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 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
>
> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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
More information about the freebsd-questions
mailing list