Recent

Author Topic: Read a CD TrackList  (Read 532 times)

amedeo

  • New Member
  • *
  • Posts: 16
Read a CD TrackList
« on: April 17, 2021, 04:40:12 pm »
Pleas can somebody tell me how read the CD TrackList?
Sorry for the poor question
Amedeo

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 535
  • Professional amateur ;-P
Re: Read a CD TrackList
« Reply #1 on: April 17, 2021, 08:42:42 pm »
Hey Amedeo,

From a quick Google search I was able to find that UOS - United OpenLib of Sound, from our good friend Fre;D has a unit that contains code to read the tracks:
https://github.com/fredvs/uos/blob/master/src/uos_cdrom.pas

Hope this helps.

Cheers,
Gus
Lazarus 2.1.0(trunk) FPC 3.3.1(trunk) Ubuntu 21.04 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.2(stable) Ubuntu 21.04 64b Dark Theme
http://github.com/gcarreno

winni

  • Hero Member
  • *****
  • Posts: 2414
Re: Read a CD TrackList
« Reply #2 on: April 17, 2021, 09:06:13 pm »
Hi!

Not all CDs support the extension "CD Text" of the red book.
If not then you get an info like "Track01 ... Track02 .... Track03...
Not very helpfull

With Linux living is always easier:

Code: Bash  [Select][+][-]
  1. cdda2wav -J -v titles -D /dev/sr0


Winni

amedeo

  • New Member
  • *
  • Posts: 16
Re: Read a CD TrackList
« Reply #3 on: April 18, 2021, 10:14:15 am »
Thanks for the answers, now I'll try to use its to implement my DBMusic program.
Amedeo

 

TinyPortal © 2005-2018