lms-video/pd-0.44-2/doc/5.reference/tabread-help.pd
Santi Noreña e85d191b46 - Reestructuración de ficheros y directorios general
- merge v0.01 --> Añadido fileselector
- Añadidas fuentes de Gem y Pure Data
- pix2jpg incluído en Gem. Archivos de construcción de Gem modificados.
- Añadido fichero ompiling.txt con instrucciones de compilación
2013-02-04 18:00:17 +01:00

38 lines
1.3 KiB
Text

#N canvas 58 46 685 536 12;
#X text 89 188 index;
#X obj 36 9 tabread;
#X obj 52 251 tabread array99;
#X floatatom 52 189 0 0 0 0 - - -;
#X floatatom 52 285 0 0 0 0 - - -;
#N canvas 0 0 450 300 (subpatch) 0;
#X array array99 10 float 3;
#A 0 9 0 8 1 7 2 6 3 5 4;
#X coords 0 10 10 0 250 200 1 0 0;
#X restore 398 219 graph;
#X text 90 286 output = array99[index];
#X text 196 243 creation argument;
#X text 198 259 gives array name;
#X msg 62 211 set array99;
#X text 174 211 change array name;
#X text 109 9 - read numbers from a table;
#X msg 36 363 \; array99 xlabel -0.5 0 1 2 3 4 5 6 7 8 9 10 \; array99
ylabel -1 0 1 2 3 4 5 6 7 8 9 10;
#X text 449 486 updated for Pd version 0.43;
#X obj 37 337 loadbang;
#X text 8 433 see also the "array" tutorial in section 2 of the Pd
documentation \, and these objects:;
#X obj 9 472 tabwrite~;
#X obj 213 472 tabwrite;
#X obj 278 472 tabsend~;
#X obj 343 472 tabreceive~;
#X obj 80 472 tabplay~;
#X obj 148 472 tabread4;
#X text 59 45 The tabread object reads values from an array ("table")
according to an index. The index is rounded down to the next lower
integer. Values in the table correspond to indices starting at 0 Indices
outside of the range are replaced by the nearest index in range (from
0 to 9 in this example).;
#X connect 2 0 4 0;
#X connect 3 0 2 0;
#X connect 9 0 2 0;
#X connect 14 0 12 0;