cascadecoeff~ ???

Oct 29, 2006 at 3:01pm

cascadecoeff~ ???

hi

since i don’t like to use the filtergrah~ (i find it very impractical
when used live during laptop concerts) I use filtercoeff~ for my
filters (made with biquad~)

__is there a similar tool for accessing the filters of a cascade~ ???

i easily imagine a [cascadecoeff~] object with its argument (int)
giving the number of filters and then either sending n triplets
(freq, gain, Q) or 3 inputs with lists of those…

of course i can build something like this by putting a filtergraph~
in an abstraction, but am not sure if it is a good idea – having a
graphic object running etc

any ideas??

many thanks

kasper

Kasper T. Toeplitz
noise, composition, bass, computer

http://www.sleazeArt.com

#28419
Oct 29, 2006 at 4:43pm

hello

I don’t know if there is a cascadecoeff~ external but you could cascade several
biquad~ filters, each controlled by a filtercoeff~ : (read in text mode, not
html)

[input~]
|
[biquad~]< --[filtercoeff~]
|
[biquad~]< --[filtercoeff~]
|
(etc)
|
[biquad~]< --[filtercoeff~]
|
[output~]

A little old-school, but it works …

Kasper T Toeplitz :

> hi
>
> since i don’t like to use the filtergrah~ (i find it very impractical
> when used live during laptop concerts) I use filtercoeff~ for my
> filters (made with biquad~)
>
> __is there a similar tool for accessing the filters of a cascade~ ???
>
> i easily imagine a [cascadecoeff~] object with its argument (int)
> giving the number of filters and then either sending n triplets
> (freq, gain, Q) or 3 inputs with lists of those…
>
> of course i can build something like this by putting a filtergraph~
> in an abstraction, but am not sure if it is a good idea – having a
> graphic object running etc
>
> any ideas??
>
> many thanks
>
> kasper
> –
> Kasper T. Toeplitz
> noise, composition, bass, computer
> http://www.sleazeArt.com
>
>
>

#87225
Nov 25, 2006 at 4:56pm

hi

I am still willing to find a way to create something like a “cascadecoef~” – or this time “cascadecoeff”

I tried with the (old, pre-coeff~) dudas’ coef_ objects

in theory it should work, i don’t see why not

but it’s not

if anyone could have a look an dpoint me to the right direction (all standart objects except for the Dudas’ objects)

thanks

kasper

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 322 157 72 196617 loadmess 100;
#P newex 396 157 78 196617 loadmess 3000;
#P newex 476 157 78 196617 loadmess 5000;
#P newex 685 328 79 196617 coef_peaknotch;
#P message 236 670 746 196617 0.000161 0.000322 0.000161 -1.997764 0.997967 0.091301 0. -0.091301 -1.767729 0.942484 2.664366 -5.328731 2.664366 -1.446102 0.910789;
#P newex 685 645 62 196617 prepend set;
#P window setfont Helvetica 9.;
#P user filtergraph~ 685 351 244 67 21 9 20. 20000. 0.0625 16. 1 1 1 0 0 1 1;
#X frgb 170 170 170;
#X brgb 209 209 209;
#X rgb2 0 0 0;
#X rgb3 130 130 130;
#X rgb4 0 0 0;
#X rgb5 76 108 172;
#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 3;
#X setfilter 2 2 1 0 0 5000. 3.174802 7. 0. 0. 0. 0. 0. 0.;
#X setfilter 1 3 1 0 0 3000. 3.174802 7. 0. 0. 0. 0. 0. 0.;
#X setfilter 0 1 1 0 0 100. 3.174802 7. 0. 0. 0. 0. 0. 0.;
#X done;
#P user gain~ 781 456 50 57 158 0 1.071519 7.94321 10.;
#P window setfont “Sans Serif” 9.;
#P newex 781 435 51 196617 cascade~;
#P newex 624 191 60 196617 loadmess 1;
#P user gain~ 83 459 19 61 158 0 1.071519 7.94321 10.;
#P window linecount 2;
#P message 234 625 410 196617 cascade 0.000332 0.000664 0.000332 -1.995638 0.996966 0. 0. -0. -1.767729 0.942484 0.839222 -1.678445 0.839222 -1.446102 0.910788;
#P window linecount 1;
#P newex 234 602 62 196617 prepend set;
#P newex 758 275 54 196617 coef_ghpf;
#P newex 693 275 54 196617 coef_gbpf;
#P newex 628 275 52 196617 coef_glpf;
#P flonum 230 237 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 220 220 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 212 203 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 212 259 52 196617 coef_glpf;
#P newex 506 326 32 196617 print;
#P flonum 479 241 35 9 0. 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 469 223 43 9 0.1 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 461 190 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 414 241 35 9 0. 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 404 223 43 9 0.1 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 396 190 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 349 241 35 9 0. 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 339 223 43 9 0.1 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 328 190 43 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 331 315 83 196617 prepend cascade;
#P newex 331 294 205 196617 pak 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.;
#P newex 461 272 54 196617 coef_ghpf;
#P newex 396 272 54 196617 coef_gbpf;
#P newex 331 272 52 196617 coef_glpf;
#P message 231 335 53 196617 nfilters 3;
#P message 144 521 29 196617 stop;
#P message 103 507 67 196617 startwindow;
#P user gain~ 179 462 50 57 158 0 1.071519 7.94321 10.;
#P newex 173 726 31 196617 dac~;
#P newex 129 398 39 196617 noise~;
#P newex 179 441 51 196617 cascade~;
#P window setfont Helvetica 9.;
#P user filtergraph~ 331 364 310 114 21 9 20. 20000. 0.0625 16. 0 1 1 0 0 1 1;
#X frgb 170 170 170;
#X brgb 209 209 209;
#X rgb2 0 0 0;
#X rgb3 130 130 130;
#X rgb4 0 0 0;
#X rgb5 76 108 172;
#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 3;
#X setfilter 2 0 1 0 1 5230.734863 5.614035 2.5 0. 0. 0. 0. 0. 0.;
#X setfilter 1 0 1 0 1 93.772209 8.421053 0.746499 0. 0. 0. 0. 0. 0.;
#X setfilter 0 0 1 0 1 799.085327 3.350899 1.099635 0. 0. 0. 0. 0. 0.;
#X done;
#P connect 2 0 32 0;
#P connect 4 0 3 0;
#P fasten 35 0 3 0 786 725 178 725;
#P connect 5 0 3 0;
#P connect 6 0 3 0;
#P connect 32 0 3 0;
#P connect 2 0 1 0;
#P connect 1 0 4 0;
#P connect 4 0 3 1;
#P connect 32 0 3 1;
#P fasten 35 0 3 1 786 725 199 725;
#P fasten 24 0 23 0 217 239 217 239;
#P connect 11 0 1 1;
#P fasten 25 0 23 1 225 257 238 257;
#P fasten 12 0 30 0 336 356 239 356;
#P connect 30 0 31 0;
#P connect 37 0 38 0;
#P fasten 26 0 23 2 235 255 259 255;
#P connect 42 0 13 0;
#P fasten 13 0 8 0 333 250 336 250;
#P connect 8 0 11 0;
#P connect 11 0 12 0;
#P connect 7 0 0 0;
#P connect 12 0 0 0;
#P hidden connect 33 0 14 0;
#P hidden connect 33 0 15 0;
#P fasten 14 0 8 1 344 259 357 259;
#P fasten 15 0 8 2 354 268 378 268;
#P connect 41 0 16 0;
#P fasten 16 0 9 0 401 250 401 250;
#P connect 9 0 11 5;
#P hidden connect 33 0 17 0;
#P hidden connect 33 0 18 0;
#P fasten 17 0 9 1 409 259 423 259;
#P fasten 18 0 9 2 419 268 445 268;
#P connect 40 0 19 0;
#P fasten 19 0 10 0 466 250 466 250;
#P connect 10 0 11 10;
#P hidden connect 33 0 20 0;
#P hidden connect 33 0 21 0;
#P fasten 20 0 10 1 474 259 488 259;
#P fasten 21 0 10 2 484 268 510 268;
#P connect 36 0 37 0;
#P hidden connect 2 0 34 0;
#P connect 34 0 35 0;
#P connect 36 0 34 1;
#P window clipboard copycount 43;

#87226
Nov 26, 2006 at 2:16am

]
> __is there a similar tool for accessing the filters of a cascade~ ???

I don’t know exactly what you want to do, but maybe CNMAT’s peqbank~ would be useful?

http://www.cnmat.berkeley.edu/MAX/downloads/

mz

#87227
Nov 26, 2006 at 5:27pm

>]
>> __is there a similar tool for accessing the filters of a cascade~ ???
>
>I don’t know exactly what you want to do, but maybe CNMAT’s peqbank~
>would be useful?

you’re right – it is

thanks

kasper

Kasper T. Toeplitz
noise, composition, bass, computer

http://www.sleazeArt.com

#87228

You must be logged in to reply to this topic.