Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: buffer-id , Previous: bool , Up: B , Home: Overview

Clamps Dictionary

buchla-scale

Function

(buchla-scale curr old target &key (max 127))

Set target fader by interpolating between 0 and max, using the curr and old values of a source fader.

The function serves the purpose of avoiding jumps when working with non motorized hardware faders: If the value of the software target of the hardware fader has changed (e.g. by a preset or some program logic) without the hardware fader being updated, moving the hardware fader will not cause a jump in the target:

If the hardware fader moves up (> curr old), the remaining space above the fader will interpolate the target software fader between its current value and the maximum value, if it moves down (< curr old), the software target will be interpolated between the current value and 0 using the remaining space below the hardware fader.

Author: Orm Finnendahl

Created: 2025-02-18 Di 12:58

Validate