As an example, consider the following CMIX instrument. These two files contain function and variable declarations CMIX needs to run correctly. These files are also a good resource, for they contain a listing of all functions and macros available in the CMIX libraries. The scorefile data can then be accessed by referring to elements of this array. Their function is defined by the use assigned to each element in the instrument.
Nothing is truly 'hard-wired', however.
This can be used to test for optional data values for the instrument. The first two arguments can also be specified as absolute number of samples if they are given as negative numbers. The last argument deserves some explanation. CMIX needs to have some way of keeping track of different soundfiles, the most basic distinction being which soundfiles are input soundfiles and which soundfiles are output soundfiles. This statement starts the sample-processing loop.