📄 cd.doc
字号:
Introduction.A number of programs have been written which access the SiliconGraphics CD-ROM player. These programs all use the interface definedin readcd.py (see readcd.doc for documentation).Specifying music stretches.The programs that are capable of reading music CD's all use the samesyntax to describe which part of the CD is to be read. The syntaxclosely corresponds to the available methods in readcd.py.The music to be read is divided into stretches of music. Each stretchmust be specified as a separate argument on the command line. Astretch can be a whole CD track, specified as a single number; or itcan be a start time and a end time. The start and end times must bespecified as a tuple, thus: ``(starttime, endtime)''. Don't forget toquote the parenthesis to the shell. Both starttime and endtime can be``None'', a simple number which refers to a CD track, or a tupleconsisting of either 3 or 4 elements. A starttime of ``None'' refersto the start of the CD, an endtime of ``None'' refers to the end ofthe CD. A tuple of 3 elements is an absolute time on the CD. Thethree elements are (minutes, seconds, frames). A tuple of 4 elementsis a track-relative time. The four elements are (track, minutes,seconds, frames).When one stretch ends at the end of a track and the following stretchstarts at the next track, there is the option of either playing or notplaying the pause between the two tracks. When either the end time ofthe first stretch or the start time of the second stretch is specifiedusing absolute or track-relative times, the pause will not be played.When both times are specified as simple track numbers, the pause willbe played.If no stretches are specified, the whole CD will be played.The programs.Currently, the following programs exist.playcd [ stretch specification ] Play (part of) a CD through the system loadspeaker or headphone set.cdaiff [ file [ stretch specification ] ] Copy (part of) a CD to a file. The file will be written in AIFF format. If no file is specified, cdaiff will write to the file ``@'' in the current directory.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -