Hello,
I try to control a filtergraph with a sine wave
so I use a cycle~ of course.
But the result is not as smooth as I would like
here is my patch
I'm sure there is a smarter solution
but I don't find it
thank's for the help
best
Eryck
max v2;
#N vpatcher 437 173 1152 776;
#P user ezdac~ 63 127 107 160 0;
#P user rslider 244 50 18 130 1000 1 0 0 0;
#P window setfont "Sans Serif" 9.;
#P user number~ 185 226 224 241 9 3 3 2 0. 0. 0 0. 250 0. 0 0 0 221 221 221 222 222 222 0 0 0;
#P window linecount 1;
#P newex 214 258 104 196617 scale -1. 1. 30. 150.;
#P newex 185 196 64 196617 cycle~ 0.17;
#P user umenu 57 341 70 196647 1 64 357 0;
#X add display;
#X add lowpass;
#X add highpass;
#X add bandpass;
#X add bandstop;
#X add peaknotch;
#X add lowshelf;
#X add highshelf;
#X add resonant;
#X add allpass;
#P comment 314 334 35 196617 Q or S;
#P flonum 313 348 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 265 348 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 217 348 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user filtergraph~ 50 383 255 124 3 9 0. 22050. 0.0625 16. 1 1 1 0 0 1 1;
#X frgb 193 193 255;
#X brgb 233 233 255;
#X rgb2 0 0 0;
#X rgb3 130 130 130;
#X rgb4 0 0 0;
#X rgb5 118 121 166;
#X rgb6 210 74 54;
#X rgb7 255 22 22;
#X linmarkers 5512.5 11025. 16537.5;
#X logmarkers 10. 100. 1000. 10000.;
#X nfilters 1;
#X setfilter 0 1 0 0 0 483.335663 1. 2. 0.0001 22050. 0.0001 16. 0.5 25.;
#X done;
#P window linecount 3;
#P comment 217 311 46 196617 cutoff or center freq;
#P window linecount 2;
#P comment 267 322 39 196617 gain (linear);
#P outlet 50 512 15 0;
#P connect 8 1 3 0;
#P connect 3 0 0 0;
#P connect 9 0 11 0;
#P connect 11 1 10 0;
#P connect 10 0 4 0;
#P connect 4 0 3 5;
#P connect 5 0 3 6;
#P connect 12 0 10 3;
#P connect 12 1 10 4;
#P connect 6 0 3 7;
#P pop;