Reseting filtergraph

Jan 14, 2008 at 10:36pm

Reseting filtergraph

Hello all! is there a message i can send my filtergraphs which resets them so they don’t filter the sound?
im sure there is but i can’t find it!
thanks

#35375
Jan 15, 2008 at 10:13am

have you tried to send it a list of five filtercoefficents, that
describes the decired result?
maybe something like “1.000193 -1.953049 0.962051 -1.953049 0.962244″

/J

jr.abstractions for MaxMSP – new version (2008-01-15)

http://www.sonicescape.net/maxmsp/

#120504
Jan 16, 2008 at 11:30am

Ross Malone schrieb:
> Hello all! is there a message i can send my filtergraphs which resets
> them so they don’t filter the sound? im sure there is but i can’t
> find it!

The message is a list 1. 0. 0. 0. 0., which will set the filtergraph to
display mode by the way.

To deal with this, I made a little abhaXion called bypasd, which
enhances the commands to filtergraph with a bypass message and a flat
message… The helpfile with a p version of it below:

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#N vpatcher 10 59 283 317;
#P window setfont “Sans Serif” 9.;
#P newex 82 74 30 196617 t b 1;
#P newex 148 75 43 196617 float 1.;
#P newex 125 75 21 196617 t 0;
#P newex 125 99 33 196617 gate;
#P message 125 120 55 196617 $1 0 0 0 0;
#P newex 50 50 74 196617 sel bypass flat;
#P message 50 120 49 196617 1 0 0 0 0;
#P inlet 148 55 15 0;
#P inlet 50 30 15 0;
#P outlet 50 143 15 0;
#P connect 1 0 4 0;
#P connect 4 0 3 0;
#P fasten 4 2 0 0 119 139 55 139;
#P connect 3 0 0 0;
#P fasten 5 0 0 0 130 139 55 139;
#P connect 4 1 9 0;
#P fasten 4 2 7 0 119 71 130 71;
#P fasten 4 0 7 0 55 71 130 71;
#P fasten 9 1 6 0 107 95 130 95;
#P connect 7 0 6 0;
#P connect 6 0 5 0;
#P connect 9 0 8 0;
#P connect 2 0 8 0;
#P connect 8 0 6 1;
#P pop;
#P newobj 62 41 48 196617 p bypasd;
#P newex 212 291 105 196617 Abhaxions.Copyright;
#P hidden newex 218 105 38 196617 pset;
#P hidden newex 178 105 38 196617 pset;
#P hidden newex 138 105 38 196617 pset;
#P comment 222 28 29 196617 gain;
#P comment 174 28 27 196617 freq;
#P comment 270 28 35 196617 Q or S;
#P flonum 270 43 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 222 43 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 174 43 47 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P hidden newex 110 21 58 196617 loadmess 1;
#P newex 17 169 37 196617 noise~;
#P newex 17 221 44 196617 *~ 0.2;
#P user ezdac~ 17 248 61 281 0;
#P user umenu 17 21 55 196647 1 64 37 0;
#X add bypass;
#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;
#X add flat;
#P user filtergraph~ 62 62 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 122 74 74;
#X rgb7 255 22 22;
#X linmarkers 5512.5 11025. 16537.5;
#X logmarkers 50. 500. 5000.;
#X nfilters 1;
#X setfilter 0 1 1 0 0 1000. 0.98 1. 0.0001 22050. 0.0001 16. 0.5 25.;
#X done;
#P newex 17 193 235 196617 biquad~ 1 0 0 0 0;
#P window linecount 5;
#P comment 67 221 224 196617 In case you ever wanted a bypass function
for filtergraph , bypasd is the easy solution. Just put bypass instead
of display into the menu and connect it like its shown here. flat lets
you change the gain with the right input.;
#P hidden connect 9 0 18 1;
#P hidden connect 9 0 2 6;
#P connect 3 1 18 0;
#P connect 18 0 2 0;
#P hidden connect 10 0 2 7;
#P hidden connect 16 0 10 0;
#P hidden connect 8 0 2 5;
#P hidden connect 15 0 9 0;
#P hidden connect 2 3 16 0;
#P hidden connect 2 2 15 0;
#P hidden connect 14 0 8 0;
#P hidden connect 2 1 14 0;
#P connect 2 0 1 1;
#P connect 5 0 4 1;
#P connect 5 0 4 0;
#P connect 1 0 5 0;
#P connect 6 0 1 0;
#P hidden connect 7 0 3 0;
#P window clipboard copycount 19;


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#120505

You must be logged in to reply to this topic.