I have a resonant LPF (the 4-pole lowpass which came out of the "disco reverb") patch and it works pretty well connected to a POT with a scale/offset in the middle to restrict the frequency sweep to the range of taste.
Now I made an envelope follower, which is simple ABSA followed by some low pass filter (or fixed decay, don't recall) and replacing the POT output with the envelope output doesn't get the filter to budge hardly at all.
I'm pretty sure this is a number representation/scaling issue but I'm not so sure what to do about it. Suggestions?
Here's the filter adjusted via pot:
Code: Select all
; Program: Render Block exported from SpinCAD Designer
; clear filter
SKP $80000000,5
CLR
WRAX 36,0.0
WRAX 35,0.0
WRAX 38,0.0
WRAX 37,0.0
;----- read pot 1
RDAX 16,1.0
SOF 0.35,-0.35
EXP 1.0,0.0
WRAX 32,0.0
RDAX 16,1.0
SOF 1.0,-0.999
EXP 1.0,0.0
WRAX 34,0.0
; 4 pole filter
RDAX 36,1.0
MULX 32
RDAX 35,1.0
WRAX 35,-1.0
RDAX 36,-0.4
RDAX 20,0.25
MULX 32
RDAX 36,1.0
WRAX 36,0.0
RDAX 38,1.0
MULX 32
RDAX 37,1.0
Code: Select all
; Program: Render Block exported from SpinCAD Designer
; read input
RDAX 20,1.0
; do envelope
ABSA
RDFX 33,0.01
WRAX 33,0.0
RDAX 34,1.0
SOF -0.01,0.0
RDAX 34,1.0
WRAX 32,0.0
RDAX 33,1.0
MAXX 32,1.0
WRAX 34,0.0
; clear filter
SKP $80000000,5
CLR
WRAX 39,0.0
WRAX 38,0.0
WRAX 41,0.0
WRAX 40,0.0
; get envelope value and adjust
RDAX 34,1.0
SOF 0.35,-0.35
EXP 1.0,0.0
WRAX 35,0.0
RDAX 34,1.0
SOF 1.0,-0.999
EXP 1.0,0.0
WRAX 37,0.0
; 4 pole filter
RDAX 39,1.0
MULX 35
RDAX 38,1.0
WRAX 38,-1.0
RDAX 39,-0.4
RDAX 20,0.25
MULX 35
RDAX 39,1.0
WRAX 39,0.0
RDAX 41,1.0
MULX 35
RDAX 40,1.0
WRAX 40,-1.0
RDAX 41,-0.4
RDAX 38,1.0
MULX 35
RDAX 41,1.0
WRAX 41,0.0
RDAX 41,1.0
WRAX 22,0.0
DL