Short: play and save digital audio Type: disk/cdrom Uploader: mlelstv@specklec.mpifr-bonn.mpg.de Author: mlelstv@specklec.mpifr-bonn.mpg.de Read audio data from a CD-DA disk (normal audio CDs) and play back via audio.device (22kHz) and store to outputfile (stereo, 16bit signed, big endian, 44.1kHz, suitable for 'sox'). usage: cdda START,LENGTH,TRACK,VOL/N,FILE,16BIT/S,MONO/S,LIST/S,DEBUG/S,BUFS/N START = startblock LENGTH = number of blocks TRACK = start relativ to track number VOL = volume in percent (0..800) 16BIT = experimental high resolution mode MONO = map stereo to single channel (for audio output only) LIST = show table of contents DEBUG = print lots of debugging info through debug.lib (use sushi!) BUFS = number of CD blocks to do in a single read.. default is 16 You can use the environment variables CDDA_DEVICE and CDDA_UNIT to choose something else than the default ("scsi.device" and 2). To accomodate for older device drivers you can ask for a specific memory type used for all SCSI-direct buffers. This is done with the environment variable CDDA_BUFMEMTYPE. A value of 2 asks for chip memory, a value of 512 asks for memory reachable by Zorro-2 DMA controllers. Even for controllers that do not need a specific memory type it might show better performance. There's a tiny program called 'led' in the archive which toggles the audio lowpass filter on newer machines. Disabling the lowpass filter will usually get better audio quality but may cause aliasing distortion depending on the bandwidth of your speakers. Michael van Elst