#N canvas 428 48 562 634 10;
#X obj 3 605 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 3 329 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 3 452 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 3 503 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 74 336 cnv 17 3 110 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 74 461 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 111 509 1) float;
#X text 135 351 clear;
#X text 135 367 count;
#X text 141 384 dump;
#X text 141 400 open;
#X msg 271 165 dump;
#X obj 213 239 print dump;
#X obj 213 147 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 305 166 outputs stored values;
#X text 129 416 wclose;
#X text 81 432 write <symbol>;
#X text 93 462 float/symbol;
#X text 176 462 - stored items in sequential order (on dump message);
#X text 323 209 <= stores 8 items;
#X text 111 527 2) symbol;
#X text 109 210 click to open;
#X text 121 223 text window;
#X text 117 335 anything;
#N canvas 390 172 889 372 examples 0;
#X msg 134 166 open;
#X floatatom 51 50 5 0 0 0 - - - 0;
#X msg 125 133 dump;
#X obj 86 311 print dump;
#X msg 105 77 clear;
#X msg 140 187 wclose;
#X msg 156 238 write;
#X text 159 25 If a message has more than one element \, the elements are stored from first to last. One element messages are stored sequentially., f 44;
#X text 143 77 clears stored contents;
#X msg 115 103 count;
#X text 201 239 opens dialog box to save to a file;
#X msg 145 215 write ./capture.txt;
#X symbolatom 87 51 10 0 0 0 - - - 0;
#X msg 24 26 one 2 three 4 five 6;
#X obj 86 275 cyclone/capture 32;
#X obj 641 173 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X obj 533 271 cyclone/capture 6;
#X obj 611 222 cyclone/capture 6 m;
#X floatatom 191 310 5 0 0 0 - - - 0;
#X text 153 103 outputs number of last received items (2nd outlet);
#X text 229 308 <= count;
#X text 160 126 send out all stored values sequentially (first in \, first out), f 39;
#X text 189 186 close display window;
#X text 168 165 open display window;
#X text 274 215 writes to a file;
#X text 491 55 - no argument (default): ints are displayed as decimals \; - "x": ints displayed as hexadecimals \; - "m": ints less than 128 (as in MIDI values) are decimal \, but larger are hexadecimals \; - "a": only symbols are displayed.;
#X obj 533 148 cyclone/loadmess -9 one 10.333 127 150 two;
#X obj 575 247 cyclone/capture 6 a;
#X obj 641 199 cyclone/capture 6 x;
#X text 478 21 Second arguments encodes the way numbers are displayed (but not stored) \, the options are:;
#X text 493 305 Note that floats are always stored as floats \, and according to the given precision.;
#X connect 0 0 14 0;
#X connect 1 0 14 0;
#X connect 2 0 14 0;
#X connect 4 0 14 0;
#X connect 5 0 14 0;
#X connect 6 0 14 0;
#X connect 9 0 14 0;
#X connect 11 0 14 0;
#X connect 12 0 14 0;
#X connect 13 0 14 0;
#X connect 14 0 3 0;
#X connect 14 1 18 0;
#X connect 15 0 16 0;
#X connect 15 0 17 0;
#X connect 15 0 27 0;
#X connect 15 0 28 0;
#X connect 26 0 16 0;
#X connect 26 0 17 0;
#X connect 26 0 27 0;
#X connect 26 0 28 0;
#X restore 469 238 pd examples;
#X text 59 86 [capture] stores items in the received order for viewing \, editing \, and saving to a file. If the maximum number of items is exceeded \, the earliest stored item is dropped.;
#X text 194 210 =>;
#X obj 213 170 change;
#X msg 270 186 count;
#X text 135 482 float;
#X obj 74 481 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 176 482 - number of items received since last 'count' message;
#X text 176 335 - stores items (float/symbol) sequentially, f 61;
#X text 176 351 - clears stored contents, f 61;
#X text 176 367 - outputs number of received items since last 'count' message, f 61;
#X text 176 400 - opens editing window \, same as clicking on it, f 61;
#X text 176 416 - closes editing window, f 61;
#X text 176 527 -;
#X text 309 186 outputs number of last received items;
#X text 368 239 count;
#X msg 87 146 hey 1 ho 2.2 i 3;
#X obj 213 209 cyclone/capture 8;
#X obj 312 239 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 #dcdcdc #000000 #000000 0 256;
#X text 176 384 - outputs stored elements sequentially (first in first out), f 61;
#X text 176 432 - saves to a file (no symbol opens dialog box), f 61;
#X text 176 508 - number of stored values (default 512), f 61;
#X text 188 527 no argument (default): ints are displayed as decimal \, "x": ints displayed as hex \, "m": ints < 128 are decimal / larger are hex \, "a": only symbols are displayed.;
#X obj 3 573 cnv 3 550 3 empty empty attributes 8 12 0 13 #dcdcdc #000000 0;
#X text 233 580 - decimal precision for floats (default 4), f 46;
#X text 110 580 @precision <float>:;
#N canvas 523 141 883 363 precision 0;
#X text 44 21 You can set the display format for integer numbers in [capture] with a second argument (as explained in the other [pd examples] suboatch). But [capture] considers any number with a decimal point as a float and displays it with a given precision \, specified with the @precision attribute or message.;
#X text 45 122 For example \, the number "1" is considered an integer and won't be displayed as a float \, but "1.1" is a float and will be displayed as such with the given precision (4 decimal places by default).;
#X msg 98 214 1 1.1 \, open;
#X obj 98 274 capture;
#X text 182 213 <= click and check;
#X msg 130 245 dump;
#X obj 98 309 print;
#X text 168 244 <= now \, if you dump the values \, you can see that the stored data as Pd sees it is still the same as it was input., f 38;
#X obj 551 259 print;
#X obj 551 230 capture @precision 2;
#X msg 576 138 dump;
#X text 613 138 <= check stored data;
#X text 558 90 click and check:;
#X msg 551 110 1.33333 2.66666 \, open;
#X msg 602 169 precision 5;
#X text 458 19 You can change the precision with the attribute as below \, where now it is set to "2". Note that the displayed values will be rounded according to that precision \, but the stored data is still the same as the input.;
#X text 469 288 You can also change the precision with the "precision" message and \, again \, it'll only change the display forsat of the stored data.;
#X msg 613 199 precision 1;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 5 0 3 0;
#X connect 9 0 8 0;
#X connect 10 0 9 0;
#X connect 13 0 9 0;
#X connect 14 0 9 0;
#X connect 17 0 9 0;
#X restore 463 214 pd precision;
#X obj 2 7 ./header capture;
#X text 20 61 Store data;
#X text 154 287 see also:;
#X obj 216 288 cyclone/capture~;
#X connect 11 0 41 0;
#X connect 13 0 27 0;
#X connect 27 0 41 0;
#X connect 28 0 41 0;
#X connect 40 0 41 0;
#X connect 41 0 12 0;
#X connect 41 1 42 0;
