Playing an audio CD

Purpose.  Reads data digitally from an audio CD and plays them via Java Sound.


java CddaPlayer

java CddaPlayer tracknumber



the number of the track on the audio CD that should be played (starting with 1).

If no argument is given, the table of content is displayed.

Bugs, limitations. The CDROM drive is hardcoded to '/dev/cdrom'. It is reported that there are problems with mixed mode CDs.

Source code.