ive fixed the zctl function in cross-platform #sapf, which is supposed to turn a ZRef into a control signal but was completely broken.
it is useful in OSC workflows, e.g.:
; store "/knob1" OSC data in the "cutoffknob" ZRef
0 ZR = cutoffknob
"127.0.0.1" 9901 "/knob1" \args [args head cutoffknob set] oscmap
; use it to control filter frequency
55 0 saw
(cutoffknob zctl 0 1 20 20000 linexp) 0.2 rlpf
0.2 *
play