aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/slide~-help.pd
blob: 51fe81ccef828311571bc7ae55754ac59f248f12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#N canvas 1447 355 468 384 10;
#X declare -lib cyclone;
#X text 15 35 Smooth-out changes in signal values;
#X text 174 200 args: <slideup> <slidedown>;
#X floatatom 155 156 0 0 0 0 - - -;
#X msg 69 130 1;
#X msg 31 129 0;
#X text 154 136 slide down;
#X floatatom 96 156 0 0 0 0 - - -;
#X text 16 61 Slide filters an input signal logarithmically between
changes in signal value. The formula is y(n) = y(n-1) + ((x(n) - y(n-1))/slide).
It's particularly useful for envelope following and lowpass filtering.
;
#X obj 37 174 sig~;
#X floatatom 37 155 0 0 0 0 - - -;
#X text 96 136 slide up;
#X obj 330 35 import cyclone;
#X obj 227 239 Scope~ 130 130 256 3 128 -1 1 0 0 0 0 102 255 51 135
135 135 0;
#X obj 37 237 Snapshot~ 100;
#X obj 38 262 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-262144 -1 -1 0.999851 256;
#X obj 37 198 slide~ 5000 5000;
#X connect 2 0 15 2;
#X connect 3 0 9 0;
#X connect 4 0 9 0;
#X connect 6 0 15 1;
#X connect 8 0 15 0;
#X connect 9 0 8 0;
#X connect 13 0 14 0;
#X connect 15 0 12 0;
#X connect 15 0 13 0;