Minc

default scorefile parsing/interface language for RTcmix

Minc is the default 'interface' for RTcmix, invoking the command
       CMIX < some_score.file
will use Minc to parse the score and make the appropriate function calls to run RTcmix. There are other options, including the ability to run RTcmix from perl, python, imbedded within another application, or through a TCP/IP socket. Minc is also used to parse buffer-scripts in the Max/MSP rtcmix~ object and in the iRTcmix package for iOS devices.

Minc takes most of its functionality from the "C" programming language, including flow-of-control features such as for and while loops, if decision-constructs, etc. See the RTcmix tutorial (especially the later sections about algorithmic composition) for examples of Minc use. The biggest differences between Minc and "C" is the lack of pre- and post-fix operators in Minc (i.e. "i++" or "--counter") and the absence of semicolons as line/statement terminators (note: semicolons are still required in "for(...)" statements). Semicolons may be used at the end of Minc lines, but they are not required (they are simply ignored).

Some other useful features of Minc:




The following is from the original cmix Minc documentation. Some is a bit dated, but the basic concepts are still valid. For a more complete and current grammar, see the RTcmix/src/parser/minc/minc.y file: