Getting a crescendo out of a comb filter over a fixed length of time?

Apr 9, 2008 at 4:35pm

Getting a crescendo out of a comb filter over a fixed length of time?

I’m trying to create rolls from streaming audio but can’t figure out how to get a crescendo effect out of a comb filter. In other words the subsequent echoes created by the comb filter gradually get louder as opposed to dying away.

I know this idea screams the use of feedback but I can’t understand how to limit the feedback to a fixed time, thus creating an envelope that can either be a crescendo or decrescendo for each click….

max v2;
#N vpatcher 293 60 980 586;
#P origin 0 10;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 58 83 72 196617 loadmess 120;
#P window setfont “Sans Serif” 20.;
#P window linecount 6;
#P comment 237 305 279 196628 I have to use a comb filter as I will want to have “on the fly” echoes from any sound that is fed into comb~ and therefore avoiding record~;
#P window linecount 5;
#P comment 237 140 349 196628 E.g. A crescendo with the initial click starting quietly and getting louder until loudest just before the click object receives another bang and the envelope happens again;
#P window setfont “Sans Serif” 9.;
#P number 58 116 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 36 116 15 0;
#P button 36 164 15 0;
#P window linecount 1;
#P newex 36 188 37 196617 click~;
#P newex 36 141 76 196617 tempo 120 1 4;
#P flonum 107 322 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 164 327 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 132 346 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user ezdac~ 36 418 80 451 0;
#P newex 68 208 85 196617 expr 60000./$f1;
#P newex 68 232 47 196617 * 0.125;
#P newex 113 283 40 196617 *~ 0.5;
#P message 68 264 42 196617 $1 100;
#P newex 68 307 27 196617 +~;
#P newex 68 281 31 196617 line~;
#P newex 113 264 55 196617 cycle~ 0.9;
#P newex 36 371 138 196617 comb~ 3000 100 0 1. 0.91;
#P comment 117 234 100 196617 1/32nd division;
#P window setfont “Sans Serif” 20.;
#P window linecount 3;
#P comment 237 54 290 196628 How would get the the click to gradually get louder for each subsequent echo?;
#P fasten 18 0 14 0 63 139 41 139;
#P connect 17 0 14 0;
#P connect 14 0 16 0;
#P connect 16 0 15 0;
#P connect 15 0 2 0;
#P connect 2 0 10 0;
#P connect 21 0 18 0;
#P fasten 18 0 9 0 63 136 123 136 123 178 73 178;
#P connect 9 0 8 0;
#P connect 8 0 6 0;
#P connect 6 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 2 1;
#P connect 2 0 10 1;
#P fasten 7 0 5 1 118 304 90 304;
#P connect 13 0 2 2;
#P connect 3 0 7 0;
#P connect 11 0 2 3;
#P connect 12 0 2 4;
#P pop;

Thanks,

Rhys

#36821

You must be logged in to reply to this topic.