From 64fdb009695828b788fce074135b20a5e52c5fc4 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 23 Sep 2003 00:21:28 +0000 Subject: imported version 0.37-0 svn path=/trunk/; revision=1016 --- pd/doc/3.audio.examples/12.tabread4.pd | 128 --------------------------------- 1 file changed, 128 deletions(-) delete mode 100644 pd/doc/3.audio.examples/12.tabread4.pd (limited to 'pd/doc/3.audio.examples/12.tabread4.pd') diff --git a/pd/doc/3.audio.examples/12.tabread4.pd b/pd/doc/3.audio.examples/12.tabread4.pd deleted file mode 100644 index b045485c..00000000 --- a/pd/doc/3.audio.examples/12.tabread4.pd +++ /dev/null @@ -1,128 +0,0 @@ -#N canvas 55 137 820 651 12; -#X graph graph1 0 -1.02 130 1.02 462 160 720 30; -#X array waveform12 131 float 1; -#A 0 -0.172615 -0.172615 -0.172615 -0.172615 -0.172615 -0.141231 -0.109846 --0.0941538 -0.0627692 -0.0470769 0.0156923 0.0784615 0.125538 0.188308 -0.235385 0.298154 0.360923 0.392308 0.470769 0.533538 0.596308 0.643385 -0.674769 0.721846 0.753231 0.784615 0.816 0.831692 0.847385 0.878769 -0.894462 0.910154 0.910154 0.910154 0.910154 0.910154 0.894462 0.894462 -0.894462 0.894462 0.878769 0.863077 0.816 0.800308 0.768923 0.737538 -0.706154 0.674769 0.643385 0.596308 0.564923 0.533538 0.470769 0.423692 -0.376615 0.313846 0.266769 0.204 0.172615 0.109846 0.0627692 0.0156923 -0 -0.0313846 -0.0627692 -0.0784615 -0.0941538 -0.109846 -0.141231 -0.156923 --0.172615 -0.204 -0.219692 -0.219692 -0.235385 -0.235385 -0.235385 --0.219692 -0.219692 -0.219692 -0.204 -0.156923 -0.125538 -0.0784615 -0 0.172615 0.313846 0.470769 0.564923 0.627692 0.690462 0.721846 0.737538 -0.753231 0.768923 0.768923 0.753231 0.737538 0.706154 0.674769 0.612 -0.580615 0.549231 0.517846 0.486462 0.423692 0.392308 0.360923 0.282462 -0.219692 0.109846 -0.0156923 -0.0941538 -0.109846 -0.141231 -0.156923 --0.172615 -0.188308 -0.204 -0.204 -0.219692 -0.204 -0.204 -0.219692 --0.219692 -0.204 -0.204 -0.204 -0.204 -0.204 -0.188308; -#X pop; -#X floatatom 194 299 0 0 100; -#N canvas 159 26 532 285 output 0; -#X obj 338 160 t b; -#X obj 338 110 f; -#X obj 338 60 inlet; -#X text 344 29 mute; -#X obj 338 185 f; -#X msg 426 180 0; -#X msg 338 85 bang; -#X obj 338 135 moses 1; -#X obj 397 110 moses 1; -#X obj 83 148 dbtorms; -#X obj 397 85 r master-lvl; -#X obj 83 42 r master-lvl; -#X obj 338 210 s master-lvl; -#X obj 20 155 inlet~; -#X obj 199 41 inlet; -#X text 199 18 level; -#X obj 199 105 s master-lvl; -#X msg 96 65 set \$1; -#X obj 96 90 outlet; -#X msg 214 65 \; pd dsp 1; -#X obj 83 198 line~; -#X obj 20 207 *~; -#X obj 20 232 dac~; -#X obj 83 173 pack 0 50; -#X text 20 132 audio; -#X text 96 114 show level; -#X obj 426 155 t b; -#X obj 20 181 hip~ 1; -#X connect 0 0 4 0; -#X connect 1 0 7 0; -#X connect 2 0 6 0; -#X connect 4 0 12 0; -#X connect 5 0 12 0; -#X connect 6 0 1 0; -#X connect 7 0 0 0; -#X connect 7 1 26 0; -#X connect 8 1 4 1; -#X connect 9 0 23 0; -#X connect 10 0 1 1; -#X connect 10 0 8 0; -#X connect 11 0 9 0; -#X connect 11 0 17 0; -#X connect 13 0 27 0; -#X connect 14 0 16 0; -#X connect 14 0 19 0; -#X connect 17 0 18 0; -#X connect 20 0 21 1; -#X connect 21 0 22 0; -#X connect 21 0 22 1; -#X connect 23 0 20 0; -#X connect 26 0 5 0; -#X connect 27 0 21 0; -#X restore 156 327 pd output; -#X msg 232 300 MUTE; -#X text 554 624 updated for Pd version 0.34; -#X text 33 8 WAVETABLE OSCILLATORS; -#X obj 156 95 phasor~; -#X obj 156 184 tabread4~ waveform12; -#X obj 156 157 +~ 1; -#X floatatom 156 66 4 0 0; -#X floatatom 250 59 4 0 1000; -#X obj 250 111 pack 0 50; -#X obj 250 137 line~; -#X obj 156 131 *~; -#X text 21 81 phase; -#X text 20 96 generation -->; -#X text 25 117 range; -#X text 24 132 adjustment -->; -#X text 250 38 squeeze; -#X text 133 40 frequency; -#X graph graph3 0 -1 440 1 481 330 781 190; -#X array wave-out12 441 float 0; -#X pop; -#X obj 177 247 tabwrite~ wave-out12; -#X msg 177 216 bang; -#X text 223 217 <--click to graph; -#X obj 250 84 + 128; -#X text 25 360 The tabread4~ module is available for situations requiring -more control than tabosc4~ offers. The relationship between the two -is the same as between cos~ and osc~ \, although the units are different -between cos~ and tabread4~. Cos~ assumes input is normalized from 0 -to 1 (and will wrap around as needed.) Tabread4~ takes values from -1 to n-2 where n is the number of points in the table-- for a 259-point -table such as we have here \, it's 1 to 129 (so the "good" segment -is 128 samples long.); -#X text 30 508 You would use tabread4~ (as opposed to tabosc4~) if -you need direct control of the phase \, for instance if you to advance -nonlinearly through the table. In the case shown here \, the "squeeze" -factor makes the phase grow to a value at least \, and possibly much -graeater than \, 129 (to which tabread4~ then limits it). So the resulting -waveform is compressed in time.; -#X connect 1 0 2 1; -#X connect 2 0 1 0; -#X connect 3 0 2 2; -#X connect 6 0 13 0; -#X connect 7 0 2 0; -#X connect 7 0 21 0; -#X connect 8 0 7 0; -#X connect 9 0 6 0; -#X connect 10 0 24 0; -#X connect 11 0 12 0; -#X connect 12 0 13 1; -#X connect 13 0 8 0; -#X connect 22 0 21 0; -#X connect 24 0 11 0; -- cgit v1.2.1