[PD] earplug~

Lorenzo Sutton lorenzofsutton at gmail.com
Mon Apr 20 12:42:52 CEST 2015


Hi,

On 20/04/2015 09:35, Gilberto Agostinho wrote:
> Hello all,
>
> I am trying to use [earplug~] for a sound installation of mine, but I
> ran into a problem that I can't think of how to solve. I am feeding the
> angle values to [earplug~] through a [line] to smooth them out, but when
> the angle changes from 359.9 to 0 there is an audible click (since line
> is actually ramping down the value from 359.9 to 0 going through all the
> other angles). How is the best way of solving this?

Given that I know little about earplug~ - but can't you just have an 
'infinite line' with a counter with [mod] at 360?
So when your 'line' reaches 360 that will become 0, 361 will be 1 etc. 
Or am I missing somethig?

Lorenzo.
-------------- next part --------------
#N canvas 282 263 396 283 10;
#X obj 18 14 dac~;
#X floatatom 153 -116 5 0 0 0 - - -;
#X obj 153 -86 mod 360;
#X floatatom 153 -59 5 0 0 0 - - -;
#X floatatom 277 -65 5 0 0 0 - - -;
#X obj 153 -143 f;
#X obj 185 -143 + 1;
#X floatatom 198 -198 5 0 0 0 - - -;
#X obj 153 -198 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
1 1;
#X msg 222 -172 0;
#X obj 153 -172 metro 50;
#X obj 18 -12 earplug~;
#X obj 277 -117 loadbang;
#X msg 277 -89 -30;
#X text 235 -198 speed;
#X obj 19 -168 osc~ 220;
#X obj 19 -146 *~ 0.1;
#X msg 285 24 \; pd dsp \$1;
#X obj 285 -3 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 306 -6 dsp on/off;
#X text 105 -198 stat ->;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 11 1;
#X connect 4 0 11 2;
#X connect 5 0 6 0;
#X connect 5 0 1 0;
#X connect 6 0 5 1;
#X connect 7 0 10 1;
#X connect 8 0 10 0;
#X connect 9 0 5 1;
#X connect 10 0 5 0;
#X connect 11 0 0 0;
#X connect 11 1 0 1;
#X connect 12 0 13 0;
#X connect 13 0 4 0;
#X connect 15 0 16 0;
#X connect 16 0 11 0;
#X connect 18 0 17 0;


More information about the Pd-list mailing list