diff options
author | Cyrille Henry <nusmuk@users.sourceforge.net> | 2008-06-10 08:59:57 +0000 |
---|---|---|
committer | Cyrille Henry <nusmuk@users.sourceforge.net> | 2008-06-10 08:59:57 +0000 |
commit | 5db0b4008f30da3c416efbb36eb17174332b69b9 (patch) | |
tree | 680a7197e4d5b7398a20444a36e9ec164ef9f851 /tab/tabread4c~-help.pd | |
parent | 298702e000da510898e81b77d5de598885412794 (diff) |
replacement for tabread4~ and tabosc4~ with a better cubic interpolation
svn path=/trunk/externals/nusmuk/; revision=9979
Diffstat (limited to 'tab/tabread4c~-help.pd')
-rw-r--r-- | tab/tabread4c~-help.pd | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tab/tabread4c~-help.pd b/tab/tabread4c~-help.pd new file mode 100644 index 0000000..5400904 --- /dev/null +++ b/tab/tabread4c~-help.pd @@ -0,0 +1,43 @@ +#N canvas 106 72 743 605 10; +#N canvas 0 0 450 300 (subpatch) 0; +#X array array99 10 float 0; +#X coords 0 1 9 -1 250 200 1; +#X restore 461 80 graph; +#X obj 69 195 line~; +#X obj 36 139 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X msg 69 172 0 \, 10 1000; +#X obj 70 219 tabread4c~ array99; +#X obj 36 32 loadbang; +#X obj 296 195 line~; +#X msg 296 172 0 \, 10 1000; +#X obj 297 219 tabread4~ array99; +#X obj 298 241 tabwrite~ test_miller; +#X obj 70 241 tabwrite~ test_cubic; +#X obj 36 55 t b b; +#N canvas 0 0 450 300 (subpatch) 0; +#X array test_miller 44100 float 0; +#X coords 0 1 44099 -1 250 200 1; +#X restore 295 312 graph; +#N canvas 0 0 450 300 (subpatch) 0; +#X array test_cubic 44100 float 0; +#X coords 0 1 44099 -1 250 200 1; +#X restore 34 312 graph; +#X text 49 530 tabread4c~ is a drop in remplacement for tabrad4~ \, +but offer a true 4 points cubic interpolation. So \, quality is better +than the standart interpolation; +#X msg 63 77 \; array99 resize 10 \; array99 0 -0.5 -0.5 -0.5 0.5 0.5 +0.5 -0.5 0 0 \; pd dsp 1 \;; +#X connect 1 0 4 0; +#X connect 2 0 3 0; +#X connect 2 0 7 0; +#X connect 2 0 9 0; +#X connect 2 0 10 0; +#X connect 3 0 1 0; +#X connect 4 0 10 0; +#X connect 5 0 11 0; +#X connect 6 0 8 0; +#X connect 7 0 6 0; +#X connect 8 0 9 0; +#X connect 11 0 2 0; +#X connect 11 1 15 0; |