|Home · Standalone · rtcmix~ · uRTcmix · iRTcmix · Tutorials · Reference|
an open-source digital signal processing and sound synthesis language
|about · links · contact|
reset/control_rate - set the update rate for control functions
For instruments that are designed to use resetval in updating control functions and envelopes (pfields), reset determines how many times/second the control function/envelope is 'sampled'. For example,
reset(44100)will cause a control function to be sampled 44100 times/second (or once-every-sample for a standard 44.1k sampling-rate sound).
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.
Most but not all RTcmix instrument control parameters will respond to the reset command. Exceptions for particular controls are usually noted in the instrument documentation.
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.