I forgot to mention, I want a CLI player - e.g. commands in terminal...
"cdplay" from
cdtool does this. I'm not sure whether its available as an extension for any version of Tiny Core, but it probably wouldn't be a hard extension to create.
in piCore 64 v13. And cd player must not do convert cd tracks to wav, then play. I want a software to directly play audio CDs in realtime, like a real CD player.
Wait, now I'm lost. On PC the way you play an audio CD without converting it to wav is using the analogue audio output direct from the CD drive, which connects directly to sound card. If you're using a Raspberry Pi then you must be using some sort of USB connection to the CD drive, and these generally don't provide analogue audio output. Also I'm not sure that the USB CD-ROM drivers support the commands for playing audio CDs in analogue mode.
The Pi's onboard audio doesn't have an external input like a sound card, so even if you can get analogue audio output from the CD drive connected to a Raspberry Pi, you'll have to connect an amplifier to the drive directly. Any software that plays through the Pi's own audio output by definition
must be converting the audio to wav (or another digital format) internally.
Just a side note: As an electronics project, it should be possible to connect the Pi's GPIO to an old IDE CD drive and write a custom program to issue the "play" (etc.) commands to the drive. There used to be some DIY CD player projects that did that with microcontrollers in the early 2000s.