To create a standalone program, write a cscore.c program as shown
above and test compile it with 'cc cscore.c'. If the
compiler cannot find "cscore.h", try using -I/usr/local/include,
or just copy the cscore.h module from the Csound source directory
into your own. There will still be unresolved references, so you must now
link your program with certain Csound I/O modules. If your
Csound installation has created a libcscore.a, you can type
Else set an environment variable to a Csound directory containing
the already compiled modules, and invoke them explicitly:
The resulting executable can be applied to an input scorefilein by typing:
To operate from csound, first proceed as above then link your program
to a complete set of Csound modules. If your Csound
installation has created a libcsound.a, you can do this by typing
Else copy *.c, *.h and Makefile from the Csound source
directory, replace cscore.c by your own, then run 'make csound'.
The resulting executable is your own special csound, usable as above.
The -C flag will invoke your cscore program after the input
score is sorted into 'score.srt'. With no lplay, the subsequent
stages of processing can be seen in the files 'cscore.out' and 'cscore.srt'.