TclCsound as a language wrapper
Prev | TclCsound | Next

## TclCsound as a language wrapper

It is possible to use TclCsound at a slightly lower level, as many of the C API functions have been wrapped as Tcl commands. For instance it is possible to create a ‘classic' Csound command-line frontend completely written in Tcl. The following script demonstrates this:

    #!/usr/local/bin/cstclsh

    set result 1
    csCompileList $argv
    while { $result != 0 } {
    set result csPerformKsmps
    }

Prev | Up | Next
A Scripting Environment | Home | TclCsound Command Reference