view examples/08-PureData/midi-poly-synth/hv_tanh.pd @ 507:1cec96845a23 prerelease

Explanted explantation
author Giulio Moro <giuliomoro@yahoo.it>
date Wed, 22 Jun 2016 01:51:17 +0100
parents 8fcfbfb32aa0
children
line wrap: on
line source
#N canvas 254 82 445 331 10;
#X obj 39 37 inlet~;
#X obj 39 67 clip~ -3 3;
#X obj 54 107 *~;
#X obj 39 277 outlet~;
#X obj 109 107 sig~ 27;
#X obj 54 147 +~;
#X obj 54 217 /~;
#X obj 39 247 *~;
#X obj 94 147 *~ 9;
#X obj 94 187 +~;
#X text 142 177 // http://www.musicdsp.org/showone.php?id=238;
#X text 140 198 // y = x * (27 + x^2) / (27 + 9*x^2);
#X text 144 152 // pade-approximation of tanh function;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 1 0 2 1;
#X connect 1 0 7 0;
#X connect 2 0 5 0;
#X connect 2 0 8 0;
#X connect 4 0 5 1;
#X connect 4 0 9 1;
#X connect 5 0 6 0;
#X connect 6 0 7 1;
#X connect 7 0 3 0;
#X connect 8 0 9 0;
#X connect 9 0 6 1;