annotate 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
rev   line source
robert@464 1 #N canvas 254 82 445 331 10;
robert@464 2 #X obj 39 37 inlet~;
robert@464 3 #X obj 39 67 clip~ -3 3;
robert@464 4 #X obj 54 107 *~;
robert@464 5 #X obj 39 277 outlet~;
robert@464 6 #X obj 109 107 sig~ 27;
robert@464 7 #X obj 54 147 +~;
robert@464 8 #X obj 54 217 /~;
robert@464 9 #X obj 39 247 *~;
robert@464 10 #X obj 94 147 *~ 9;
robert@464 11 #X obj 94 187 +~;
robert@464 12 #X text 142 177 // http://www.musicdsp.org/showone.php?id=238;
robert@464 13 #X text 140 198 // y = x * (27 + x^2) / (27 + 9*x^2);
robert@464 14 #X text 144 152 // pade-approximation of tanh function;
robert@464 15 #X connect 0 0 1 0;
robert@464 16 #X connect 1 0 2 0;
robert@464 17 #X connect 1 0 2 1;
robert@464 18 #X connect 1 0 7 0;
robert@464 19 #X connect 2 0 5 0;
robert@464 20 #X connect 2 0 8 0;
robert@464 21 #X connect 4 0 5 1;
robert@464 22 #X connect 4 0 9 1;
robert@464 23 #X connect 5 0 6 0;
robert@464 24 #X connect 6 0 7 1;
robert@464 25 #X connect 7 0 3 0;
robert@464 26 #X connect 8 0 9 0;
robert@464 27 #X connect 9 0 6 1;