An Introduction to CDP and the ECMC-CDP tools

Document Sample
An Introduction to CDP and the ECMC-CDP tools Powered By Docstoc
					Composers’ Desktop Project (CDP)
Paul Coleman (

                 An Introduction to CDP and the ECMC-CDP tools
                               CDP version 5.0.1, January 2006

To begin a CDP session from the command line, double-click “ECMC-CDP tools” from
the desktop (or press [ctrl]+[alt]+C as a shortcut).

                                      USEFUL THINGS:
       - ALWAYS backup files and remove files no longer needed.
       - Type "cdphelp" from the command line to open the CDP main help file.
       - Press the tab key to auto-complete filenames and directories.
       - Use arrow keys (up and down) to view command history.
       - At this time there is no copy-paste option, but I'm working on it.
       - [ctrl-c] aborts current action (very useful when working with batch jobs).

Basic Navigation from the command line:

command (alt.)       description
su                   switch user (to change home directories and custom info)
cd                   change directory
                     “cd ..” changes to parent directory
mkdir (md)           make directory
rmdir (rd)           remove directory (use with care!)
ls                   lists contents of current directory
lsf                  lists all soundfiles in current directory with additional info
pwd                  print working directory (displays full path)
del (rm)             removes a file (use with care!)
cat (type)           view (but not edit) text and breakpoint files in the window
                     cat {filename} (| more)
play (p)             plays soundfiles. "play all" (p all) plays entire directory.
                     Hit "s" to skip current playing file.
                              *bug: "s" is temporarily disabled.
                              *yet to be implemented: use of multiple filenames.
copysf (cpsf)        copies soundfiles, fixes any header issues, and can be used to
                     convert between .wav and .aiff

Wildcards:           Most commands allow wildcards * and ? (? only replaces one
                     character, as * replaces any length of characters as a string)

           IMPORTANT! Always use wildcards with care, particularly when using
                     destructive commands (rm/del, mv/move)
Composers’ Desktop Project (CDP)
Paul Coleman (

Directory structure:

DOS is different from UNIX (i.e. Mac and Linux), in that directory paths use the
backslash (\) rather than slash to divide. (In the dos environment, slash was originally
used to denote a switch.)

          Example:     DOS path:     g:\paul\directory\subdirectory\etc.bat
                       UNIX path:    /paul/directory/subdirectory/etc.bat

When logged on, the user’s home path is on drive G. Access has been limited to that
drive only. If a soundfile is needed from another drive (such as SFLib, SFL96, or
removable media) copy files to your user directory from within Windows.

Text Editors and External CDP programs:

notepad (np)           Notepad is the most basic text editor in Windows. Typical GUI
                       functions, can be launched from the Windows environment or the
                       command line (preferred): notepad {filename}
vim (vi) and           VI and EMACS are very powerful text editors used primarily by
emacs                  programmers, and offer functions basic editors do not. Read
                       documentation for either program; links are on the website.
                       vi {filename}
                       emacs {filename}
brkedit                The BRKEDIT program was written by Richard Dobson, building on
                       an initial program coded by Martin Atkins. It is designed for use with
                       the CDP System, which provides a large number of time-varying
                       parameters with which to shape sound.
viewsf                 ViewSF is a simple GUI to view the waveform of a soundfile (will not
                       play the file).
grnmill (gm)           GrainMill has been prepared as the first of CDP's powerful
                       programs to have a (stable) graphic interface. It is derived from
                       GRANULA, written by Trevor Wishart for use with the CDP System.
soundshaper and        Both Soundshaper and Soundloom are GUI front-ends to the CDP
soundloom              system. Not very stable at this point, but it is encouraged for those
                       interested to experiment with both programs (both are accessible
                       from the “applications” folder and from the command line).

(other misc. tools)
flac*                  lossless audio encoder (best for backing up soundfiles)
lame*                  mp3 encoder

*NB: at this time, CDP does not support flac or mp3 playback or manipulation.