help with changing sound parameters in realtime

neuwirthe's icon

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?

Max Patch
Copy patch and select New From Clipboard in Max.


Source Audio's icon

you can use slider instead of green int, but you should

output only on mouse release.

that because any value change retriggers uzi 22050

neuwirthe's icon

Thank you

The formula

Fourier series with geometric cofficients

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

Finite representation

q=2-sqrt(3)=0.268 gives a smooth representation of a sawtooth.

The complex expr computes fq.