csound
is a command for passing an
orchestra file and
score file to Csound to generate a soundfile. The score file can be in one of many different formats, according to user preference. Translation, sorting, and formatting into orchestra-readable numeric text is handled by various preprocessors; all or part of the score is then sent on to the orchestra. Orchestra performance is influenced by command flags, which set the level of displays and console reports, specify 1/0 filenames and sample formats, and declare the nature of realtime sensing and control.The format of a command is:
csound [-flags] orchname scorename
where the arguments are of 2 types: flag arguments (beginning with a "-"), and name arguments (such as filenames). Certain flag arguments take a following name or numeric argument. The available flags are:
-U
-I, -n
-iName, -oName
-bNumb, -BNumb, -h
-A, -c, -a, -u, -s, -1, -f
-v, -mNumb, -d, -g
-S, -xName, -tNumb
-LName
-MName, -FName, -PNumb
Flags may appear anywhere in the command line, either separately or bundled together. A flag taking a Name or Number will find it in that argument, or in the immediately subsequent one. The following are thus equivalent commands:
csound -nm3 orchname -Sxxfilename scorename
csound -n -m 3 orchname -x xfilename -S scorename
All flags and names are optional. The default values are: csound -s -otest -b1024 -B1024 -m7 -P128 orchname scorename
where orchname is a file containing Csound orchestra code, and scorename is a file of score data in
standard numeric score format, optionally presorted and time-warped. If scorename is omitted, there are two default options: 1) if realtime input is expected (-L, -M or -F), a dummy scorefile is substituted consisting of the single statement 'f 0 3600' (i.e. listen for RT input for one hour); 2) else csound uses the previously processed score.srt in the current directory. Csound
csound -I
csound -n
csound -o osfname
csound -b Numb
csound -h
csound {-c, -a, -u, -s, -l, -f}
c 8-bit signed character
a 8-bit a-law
u 8-bit u-law
s short integer
l long integer
f single-precision float (not playable, but can be read
by -i, soundin and GEN01)
csound -A
csound -v
csound -d
csound -g
csound -S
csound -x xfile
csound -t Numb
csound -L devname
csound -M devname
csound -F mfname
csound -P Numb
csound -N
csound -T
csound -U