reset/control_rate

scorefile command --set the update rate for control functions and envelopes

USAGE:
For instruments that are designed to use resetval in updating control functions and envelopes, reset determines how many times/second the control function/envelope is 'sampled'. In the above example, the first reset will cause a control function to be sampled 44100 times/second (or once-every-sample for a standard 44.1k sampling-rate sound). The second control_rate will cause the control function to be sampled 4410 times/second, or once every 10 samples. [note: reset and control_rate do exactly the same thing. The perl RTcmix interface cannot use reset, for example, because the name is reserved in the language/]

Why is this desired? Often it is not necessary to update control functions for every sample, and an instrument can run much more efficiently by choosing a lower sampling rate for control functions.

The default rate is 1000 times/second.

BUGS:
Not all RTcmix instruments will respond to the reset command, and the only way to determine which will is to look at the source code.

If the reset rate is made too slow, a 'stair-stepping' or 'zippering' distortion effect can occur in control function access. especially noticeable in amplitude envelopes.