<- C I ->

DIRECTORIES and FILES:

Many generators and the Csound command itself specify filenames to be read from or written to. These are optionally full pathnames, whose target directory is fully specified. When not fullpath, filenames are sought in several directories in order, depending on their type and on the setting of certain environment variables. The latter are optional, but they can serve to partition and organize the directories so that source files can be shared rather than duplicated in several user directories. The environment variables can define directories for soundfiles (SFDIR), sound samples (SSDIR), and sound analysis (SADIR). The search order is:

Soundfiles being written are placed in SFDIR (if it exists), else the current directory.

Soundfiles for reading are sought in the current directory, then SSDIR, then SFDIR.

Analysis control files for reading are sought in the current directory, then SADIR.

<- C I ->
Prepared from the MIT Media Lab Csound Manual, PJN, Nov 1994.