help with changing sound parameters in realtime

This patch works when I press the bang buttons in the order top left left further down top right.
When I change the frequency (blue number field) this also works immediately. What I would likt to have is a slider instead of the green number field with triggers everything and then the sound characteristic change in real time.
How can I do that?
you can use slider instead of green int, but you should
output only on mouse release.
that because any value change retriggers uzi 22050

Thank you
The formula

is a representation of the Fourier series which (after normalization to the range -1 to 1) has the finite form

Which I derived in https://www.jstor.org/stable/2690622
q=2-sqrt(3)=0.268 gives a smooth representation of a sawtooth.
The complex expr
computes fq.