volume ramp strange behaviour

Apr 15, 2008 at 7:39pm

volume ramp strange behaviour

hi all i have a problem with this simple task..
mic

max v2;
#N vpatcher 52 158 652 558;
#P window setfont “Sans Serif” 9.;
#P newex 257 77 48 196617 loadbang;
#P message 257 108 34 196617 7000;
#P user multiSlider 168 67 25 81 0. 1. 1 2681 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P newex 105 159 105 196617 scale 0 127 0 1 1.06;
#P message 105 196 40 196617 0 0 $1;
#P user multiSlider 105 69 25 81 0. 127. 1 2665 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P number 257 133 44 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 257 163 48 196617 ramp $1;
#P user ezdac~ 92 297 136 330 0;
#P newex 50 160 39 196617 noise~;
#P newex 105 250 77 196617 matrix~ 1 1 1.;
#P comment 101 47 38 196617 volume;
#P window linecount 2;
#P comment 306 133 62 196617 volume ramp;
#P window setfont “Sans Serif” 14.;
#P window linecount 3;
#P comment 220 250 270 196622 why does fade-in ramp is not to be as smooth as fade-out (as expected)? what am i missing here?;
#P window setfont “Sans Serif” 12.;
#P window linecount 1;
#P comment 219 321 239 196620 i want a smoother , slow fade-in…;
#P connect 4 0 6 0;
#P connect 9 0 11 0;
#P connect 11 0 10 0;
#P connect 10 0 4 0;
#P fasten 7 0 4 0 262 233 110 233;
#P connect 5 0 4 0;
#P connect 4 0 6 1;
#P fasten 11 0 12 0 110 187 218 187 218 59 173 59;
#P connect 14 0 13 0;
#P connect 13 0 8 0;
#P connect 8 0 7 0;
#P pop;

#36938
Apr 15, 2008 at 9:12pm

Maybe I am missing the problem, but I seem to be getting the same attack time as decay time. Look at this version of your patch, if you click the bang it will ramp up and 7 seconds later ramp down and you should see a symmetrical envelope drawn in the [waveform~].

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P newex 288 375 29 196617 sig~;
#P newex 232 338 70 196617 unpack 0 0 0.;
#P message 15 258 33 196617 dump;
#P message 165 477 74 196617 set testBuffer;
#P newex 16 201 27 196617 1;
#P newex 15 170 48 196617 loadbang;
#P newex 15 231 52 196617 metro 30;
#P newex 177 53 61 196617 delay 7000;
#P message 177 79 14 196617 0;
#P message 135 65 26 196617 127;
#P button 104 41 15 0;
#P newex 96 66 27 196617 1;
#P user waveform~ 115 533 613 123 3 9;
#W mode select;
#W mouseoutput continuous;
#W unit ms;
#W grid 1000.;
#W ticks 0;
#W labels 1;
#W vlabels 0;
#W vticks 1;
#W bpm 120. 4.;
#W frgb 33 0 0;
#W brgb 60 178 173;
#W rgb2 0 95 255;
#W rgb3 0 0 0;
#W rgb4 0 0 0;
#W rgb5 190 137 255;
#W rgb6 100 100 100;
#W rgb7 100 100 100;
#P newex 250 496 127 196617 buffer~ testBuffer 28000;
#P newex 96 426 96 196617 record~ testBuffer;
#P toggle 105 374 15 0;
#P flonum 222 266 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 317 137 48 196617 loadbang;
#P message 317 168 34 196617 7000;
#P user multiSlider 228 127 25 81 0. 1. 1 2681 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P newex 165 219 105 196617 scale 0 127 0 1 1.06;
#P message 165 256 40 196617 0 0 $1;
#P user multiSlider 174 108 25 81 0. 127. 1 2665 47 0 0 2 0 0 0;
#M frgb 0 0 0;
#M brgb 255 255 255;
#M rgb2 127 127 127;
#M rgb3 0 0 0;
#M rgb4 37 52 91;
#M rgb5 74 105 182;
#M rgb6 112 158 18;
#M rgb7 149 211 110;
#M rgb8 187 9 201;
#M rgb9 224 62 37;
#M rgb10 7 114 128;
#P number 317 193 44 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 317 223 48 196617 ramp $1;
#P user ezdac~ 152 357 196 390 0;
#P newex 110 220 39 196617 noise~;
#P newex 165 310 77 196617 matrix~ 1 1 1.;
#P comment 137 111 38 196617 volume;
#P window linecount 2;
#P comment 366 193 62 196617 volume ramp;
#P window linecount 1;
#P comment 31 42 100 196617 click to test;
#P connect 7 0 6 0;
#P connect 12 0 7 0;
#P connect 13 0 12 0;
#P connect 29 2 30 0;
#P connect 3 1 29 0;
#P connect 10 0 9 0;
#P connect 10 0 14 0;
#P fasten 10 0 11 0 170 247 278 247 278 119 233 119;
#P connect 3 0 5 0;
#P connect 3 0 5 1;
#P connect 23 0 22 0;
#P connect 20 0 19 0;
#P connect 20 0 21 0;
#P connect 20 0 23 0;
#P connect 21 0 8 0;
#P connect 22 0 8 0;
#P connect 25 0 26 0;
#P fasten 25 0 27 0 6 225 6 467 170 467;
#P connect 4 0 3 0;
#P fasten 6 0 3 0 322 293 170 293;
#P connect 9 0 3 0;
#P connect 28 0 3 0;
#P connect 8 0 10 0;
#P connect 27 0 18 0;
#P connect 19 0 15 0;
#P connect 15 0 16 0;
#P fasten 30 0 16 0 293 411 101 411;
#P connect 24 0 28 0;
#P connect 26 0 24 0;
#P window clipboard copycount 31;

#127188

You must be logged in to reply to this topic.