avoiding clicks when multiplying audio signals with 0-1

Apr 5, 2008 at 3:17pm

avoiding clicks when multiplying audio signals with 0-1

Hi again :)

Im trying to make a patch that continously changes the amplitude on cycles~ using *~ between 0 and 1.

But it sounds like every change in values causes clicks.

Is there some audio smoother object available like in Reaktor?

And one more thing : What is the best way to invert signals?

Thanks so much !!

#36747
Apr 5, 2008 at 3:30pm

try connecting this lfo patcher on the *~ objects right outlet
at list thats the way I do it
hope I helped

max v2;
#N vpatcher 0 0 1280 724;
#P toggle 556 215 15 0;
#P window setfont “Sans Serif” 9.;
#P comment 614 193 33 9109513 depth;
#P comment 544 198 34 9109513 on/off;
#P comment 580 193 33 9109513 rate;
#P user dial 612 209 25 25 128 1 0 0 159 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#P user dial 584 210 25 25 128 1 0 0 159 270 1 1. 170 170 170 221 221 221 120 120 120 225 225 225 0 0 0 0 0 0;
#N vpatcher 289 125 889 525;
#P window setfont “Sans Serif” 9.;
#P window linecount 0;
#P newex 547 351 25 9109513 sig~;
#P message 543 311 14 9109513 1;
#P window linecount 1;
#P newex 543 283 41 9109513 select 0;
#P window linecount 0;
#P newex 613 315 36 9109513 cycle~;
#P window linecount 1;
#P newex 586 381 31 9109513 gate~;
#P outlet 586 409 15 0;
#P inlet 586 239 15 0;
#P inlet 705 237 15 0;
#P inlet 613 239 15 0;
#P flonum 705 294 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 705 268 79 9109513 scale 0 127 0. 1.;
#P newex 614 347 33 9109513 *~ 0.1;
#P flonum 613 293 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 613 270 83 9109513 scale 0 127 0. 10.;
#P connect 7 0 11 0;
#P connect 11 0 12 0;
#P connect 12 0 13 0;
#P connect 7 0 9 0;
#P connect 13 0 8 0;
#P connect 9 0 8 0;
#P connect 2 0 9 1;
#P connect 5 0 0 0;
#P connect 0 0 1 0;
#P connect 1 0 10 0;
#P connect 10 0 2 0;
#P fasten 4 0 2 1 710 337 642 337;
#P connect 6 0 3 0;
#P connect 3 0 4 0;
#P pop;
#P newobj 556 259 66 9109513 patcher lfo;
#P connect 6 0 0 0;
#P connect 1 0 0 1;
#P connect 2 0 0 2;
#P pop;

#126316
Apr 5, 2008 at 3:45pm

try a signal like [line~] to control the amplitude of [*~]
also [matrix~] in the float mode works well

#126317
Apr 5, 2008 at 4:05pm

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 123 133 18 9109513 30;
#P message 104 133 18 9109513 10;
#P message 85 133 18 9109513 0;
#P user ezdac~ 22 268 66 301 0;
#P newex 22 22 54 9109513 cycle~ 440;
#P comment 85 117 233 9109513 Click on one of these values and move the amplitude;
#P flonum 62 76 35 9 0. 0.25 3 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 62 170 52 9109513 pack 0. 10;
#P newex 62 190 52 9109513 line~;
#P newex 22 210 50 9109513 *~;
#P comment 98 76 49 9109513 Amplitude;
#P connect 1 0 7 0;
#P connect 1 0 7 1;
#P connect 10 0 3 1;
#P connect 9 0 3 1;
#P connect 8 0 3 1;
#P connect 6 0 1 0;
#P connect 4 0 3 0;
#P connect 3 0 2 0;
#P connect 2 0 1 1;
#P window clipboard copycount 11;

#126318
Apr 5, 2008 at 4:11pm

Thanks, Great !

#126319
Apr 5, 2008 at 10:11pm

To invert a signal simply multiply it by -1.0

[*~ -1.0]

Cheers

Jules

#126320

You must be logged in to reply to this topic.