The audio CD should be inserted only after play3401 has prompted the user for it. Unless the -e option is given play3401 will eject the CD again when it has completed playing.
If you wish to record a standard 16-bit stereo 44.1 kHz soundfile to the standard output specify the -r option. By default playing of the sound is disabled while recording. If you wish to play and record use the -p option as well as the -r option.
The arguments to play3401 are a series of `durations' which are played by play3401 in the order specified. A number of different formats for durations exist.
Times may be specified in several different formats down to frame (= 1/75th of a second) accuracy.
Play the entire CD over and over again.
play3401 - repeat
Play and record to the file threetracks.snd the tracks 7, 5 and 9 of the CD (in that order) and then stop.
play3401 -r #7 #5 #9 >threetracks.snd
Every time an audio CD is inserted a large number of warning messages will appear on the console. All those messages indicate is that the CD ROM is not in one of the standard data formats which should not come as a surprise.
`Can't find Toshiba 3401 CD player -- %s only works with it.': play3401 explicitly checks that the CD ROM drive used is a Toshiba 3401 as sending random non-standard SCSI commands to a different device may have tragic consequences.
`Can't eject CD.': Possibly the drive was installed with the eject prevention jumper installed.
`No free generic SCSI device': play3401 needs to use generic SCSI device of which there are only four. This message indicates that all four of them are being used by other processes.
Most available audio CDs are copyrighted. Making direct digitial recordings of them for your own use may or may not be a violation of that copyright. Completely copying your favorite CDs to your harddisk and then uploading them to every ftp server in sight is not only almost certainly a violation of that copyright but also the greatest waste of network resources since the creation of misc.activism.progressive.
Mike Andrews <kramer@fragile.termfrost.org> contributed code to record sounds. Some code for NS/FIP compatibility was incorporated from patches sent by J Daniel Ashton <jdashton@southern.edu>.