Order of precedence
There are five places where options for Csound performance may be set. They are processed in the following order:
- Csound's own defaults
- File defined by the
CSOUND7RCenvironment variable, or.csound7rcfile in the HOME directory - A
.csound7rcfile in the current directory - The
<CsOptions>tag in a.csdfile - Passed on the Csound command line
The later options in the list will override any earlier ones. As of version 5.01 of Csound, sample and control rate override flags (-r and -k) specified anywhere override sr, kr, and ksmps defined in the orchestra header.