From 9340768f6c7dea7cb7fe348f6fdf52db75ce9d82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 23 Nov 2004 15:29:47 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r2300, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/iem16/; revision=2301 --- examples/tab16play~.pd | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 examples/tab16play~.pd (limited to 'examples/tab16play~.pd') diff --git a/examples/tab16play~.pd b/examples/tab16play~.pd new file mode 100644 index 0000000..8c53199 --- /dev/null +++ b/examples/tab16play~.pd @@ -0,0 +1,56 @@ +#N canvas 159 54 804 495 10; +#X msg 639 93 \; pd dsp 0; +#X floatatom 11 342 0 0 0 0 - - -; +#X msg 11 109 set array99; +#X text 93 109 "set" message permits you to switch between arrays; +#X text 138 228 creation argument initializes array name; +#X obj 11 316 env~ 16384; +#X obj 87 360 dac~ 1; +#X obj 87 323 *~; +#X obj 100 304 line~; +#X msg 100 263 0.1 100; +#X msg 116 284 0 100; +#X text 162 264 on; +#X text 157 283 off; +#X text 148 301 envelope; +#X text 148 312 generator; +#X text 101 248 amplitude controls:; +#X text 131 362 audio output; +#X obj 87 342 hip~ 5; +#X msg 26 179 0 44100; +#X msg 27 158 44100; +#X msg 26 138 bang; +#X text 80 136 "bang" or 0 plays whole sample; +#X text 82 157 play starting at 44100th sample; +#X text 93 177 play starting at beginning for 44100 samples; +#X msg 25 199 44100 1000; +#X text 103 198 play from 44100 through 45099 (1000 samples); +#X obj 11 228 tab16play~ array99; +#X obj 589 205 table16 array99; +#X text 389 444 updated for iem16 version1.0; +#X obj 5 439 tab16write~; +#X obj 5 458 tab16read4~; +#X obj 89 458 tab16read; +#X obj 89 439 tab16write; +#X obj 166 439 tab16send~; +#X obj 166 458 tab16receive~; +#X obj 32 13 tab16play~; +#X text 29 43 The [tab16play~] object is the same as the [tabplay~] +object \, but it refers to 16bit-arrays stored in [table16] instead +of floating-point arrays (stored in normal pd-tables/arrays); +#X obj 328 444 table16; +#X text 11 417 see also:; +#X text 108 14 play a 16bit-table as a sample (non-transposing); +#X connect 2 0 26 0; +#X connect 5 0 1 0; +#X connect 7 0 17 0; +#X connect 8 0 7 1; +#X connect 9 0 8 0; +#X connect 10 0 8 0; +#X connect 17 0 6 0; +#X connect 18 0 26 0; +#X connect 19 0 26 0; +#X connect 20 0 26 0; +#X connect 24 0 26 0; +#X connect 26 0 5 0; +#X connect 26 0 7 0; -- cgit v1.2.1