hey, good one ! !!
with this and the advice to use interpolating filters from iemlib, i nearly got close to something.
perfect for my effects rack is unplugged, and i'm sooooooooo lazy.
thank you all.
cheers,
yves.
Bill Sack wrote:
c/ anyone modelized saturation ? ??
i made a tiny tanh~ external that can be used for modeling 'analog' distortion. it also comes in handy for protecting against clipping before dacs - my first external! but really, it's quite trivial - source and test file can be downloaded from here: http://www.acsu.buffalo.edu/~wsack/tanh~.tar.gz
-b
#N canvas 60 120 681 488 10; #X obj 140 400 dac~; #X floatatom 168 278 5 0 0; #X floatatom 452 178 5 0 0; #X floatatom 278 200 10 0 0; #X obj 459 101 loadbang; #X text 448 208 Bandwidth; #X text 169 196 Peak frequency; #X obj 273 91 f; #X obj 227 91 + 1; #X floatatom 457 56 5 0 0; #X text 511 57 higher freq; #X floatatom 458 27 5 0 0; #X text 508 30 lower freq; #X obj 204 33 loadbang; #X msg 228 67 400; #X obj 93 272 *~ 1; #X obj 273 61 metro 1; #X obj 383 120 route 1; #X obj 313 157 route 1; #X obj 82 108 * -1; #X floatatom 79 80 5 0 0; #X text 37 79 Step; #X obj 76 190 f; #X obj 115 189 f; #X msg 114 160 bang; #X msg 76 160 bang; #X obj 76 23 loadbang; #X floatatom 269 285 5 0 0; #X obj 129 306 tanh~; #X obj 168 344 bpw2~ 440 44 200; #X obj 167 226 loadbang; #X msg 169 250 100; #X msg 458 136 200; #X msg 77 51 5; #X obj 314 132 > 3000; #X obj 370 89 < 50; #X obj 45 227 osc~ 100; #X connect 1 0 15 1; #X connect 2 0 29 2; #X connect 3 0 29 1; #X connect 4 0 32 0; #X connect 7 0 8 0; #X connect 7 0 3 0; #X connect 7 0 34 0; #X connect 7 0 35 0; #X connect 8 0 7 1; #X connect 9 0 34 1; #X connect 11 0 35 1; #X connect 13 0 14 0; #X connect 13 0 16 0; #X connect 14 0 7 0; #X connect 15 0 28 0; #X connect 16 0 7 0; #X connect 17 0 24 0; #X connect 18 0 25 0; #X connect 19 0 22 1; #X connect 20 0 19 0; #X connect 20 0 23 1; #X connect 22 0 8 1; #X connect 23 0 8 1; #X connect 24 0 23 0; #X connect 25 0 22 0; #X connect 26 0 33 0; #X connect 27 0 29 3; #X connect 28 0 29 0; #X connect 29 0 0 0; #X connect 29 0 0 1; #X connect 30 0 31 0; #X connect 31 0 1 0; #X connect 32 0 2 0; #X connect 33 0 20 0; #X connect 34 0 18 0; #X connect 35 0 17 0; #X connect 36 0 15 0;