#N canvas 686 48 558 526 10;
#X obj 2 290 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 2 402 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 2 435 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 81 299 cnv 17 3 96 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 81 411 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X symbolatom 148 208 15 0 0 0 - - -;
#X obj 148 233 cyclone/fromsymbol;
#X obj 2 518 cnv 3 550 3 empty empty empty 0 0 0 4 -262144 -1 0;
#X obj 2 498 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X text 175 298 symbol;
#X text 176 443 (none);
#X obj 148 261 nbx 10 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0
10 -228856 -1 -1 11 256;
#X obj 2 4 cnv 15 553 42 empty empty empty 20 12 0 14 -233017 -66577
0;
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 554 42 1 0 0;
#X restore 2 3 graph;
#X obj 305 4 cnv 15 250 40 empty empty empty 12 13 0 18 -128992 -233080
0;
#N canvas 382 141 749 319 (subpatch) 0;
#X coords 0 -1 1 1 252 42 2 100 100;
#X restore 304 3 pd;
#X text 164 411 anything;
#X text 225 411 - a converted message from a symbol;
#X text 247 207 <= atom symbol box;
#X text 253 260 <= number box;
#N canvas 823 82 839 565 symbol_to_lists 0;
#X obj 114 132 cyclone/tosymbol;
#X obj 114 220 cyclone/fromsymbol;
#X floatatom 146 489 5 0 0 0 - - -;
#X obj 146 389 cyclone/tosymbol;
#X obj 146 425 cyclone/fromsymbol;
#X obj 146 457 unpack float symbol symbol;
#X symbolatom 222 489 10 0 0 0 - - -;
#X symbolatom 299 489 10 0 0 0 - - -;
#X msg 146 363 1 two three;
#X msg 114 106 23.6 4.56 0.01;
#X obj 114 258 unpack float float float;
#X symbolatom 114 176 20 0 0 0 - - -;
#X obj 114 287 nbx 6 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X obj 184 287 nbx 6 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X obj 255 287 nbx 6 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 0 256;
#X text 56 331 Convert a symbol composed of 1 float and 2 symbols to
a list:;
#X obj 481 339 cyclone/fromsymbol;
#X obj 495 408 bng 15 250 50 0 empty empty empty 17 7 0 10 -228856
-1 -1;
#X obj 481 440 print list;
#X symbolatom 481 307 25 0 0 0 - - -;
#X text 59 27 Below we convert a symbol composed of 3 floats (separated
by spaces) into a list of 3 floats. Note [cyclone/tosymbol] is used
as a handy way to convert any message to a symbol., f 47;
#X msg 481 208 symbol list\ one\ two;
#X msg 500 237 symbol one\ two;
#X text 406 52 If you want convert a given symbol composed of elements
that start with a symbol \, you need to include the "list" selector
in the symbol if you want it to be converted to a list \, otherwise
it'll convert to an "anything". Try it below:;
#X text 620 207 converts to a list;
#X text 601 236 converts to anything;
#X msg 518 270 symbol list\ one;
#X obj 481 378 route list symbol, f 27;
#X obj 640 440 print not_a_list;
#X obj 651 408 bng 15 250 50 0 empty empty empty 17 7 0 10 -228856
-1 -1;
#X symbolatom 560 412 10 0 0 0 - - -;
#X obj 560 440 print symbol;
#X text 408 121 Note that a list with only one symbloic element is
automatically converted to a symbol in pd \, just as one float lists
are converted to floats., f 50;
#X text 629 268 converts to symbol;
#X connect 0 0 11 0;
#X connect 1 0 10 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 5 0 2 0;
#X connect 5 1 6 0;
#X connect 5 2 7 0;
#X connect 8 0 3 0;
#X connect 9 0 0 0;
#X connect 10 0 12 0;
#X connect 10 1 13 0;
#X connect 10 2 14 0;
#X connect 11 0 1 0;
#X connect 16 0 27 0;
#X connect 19 0 16 0;
#X connect 21 0 19 0;
#X connect 22 0 19 0;
#X connect 26 0 19 0;
#X connect 27 0 17 0;
#X connect 27 0 18 0;
#X connect 27 1 30 0;
#X connect 27 2 28 0;
#X connect 27 2 29 0;
#X connect 30 0 31 0;
#X restore 410 179 pd symbol_to_lists;
#N canvas 767 150 807 434 symbol_to_anything 0;
#X obj 99 170 cyclone/fromsymbol;
#X msg 99 109 symbol something;
#X symbolatom 131 217 10 0 0 0 - - -;
#X msg 122 138 symbol else;
#X obj 179 299 print Not_a_Symbol;
#X obj 99 259 route symbol;
#X obj 168 342 route something else;
#X obj 168 368 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 226 368 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 514 153 anything goes;
#X obj 514 195 cyclone/tosymbol;
#X symbolatom 514 234 17 0 0 0 - - -;
#X obj 514 268 cyclone/fromsymbol;
#X obj 613 335 print Not_a_list;
#X obj 514 304 route symbol list;
#X text 125 193 <= not a symbol anymore;
#X text 26 35 If you send a symbol message to [fromsymbol] \, it removes
the "symbol" selector and converts the message to "anything" (composed
of one element).;
#X text 437 61 And \, as presented in the previous example \, a symbol
composed of more than one element without a list selector is converted
to "anything" (with more than one element). Just making it really clear...
, f 52;
#X connect 0 0 2 0;
#X connect 0 0 5 0;
#X connect 1 0 0 0;
#X connect 3 0 0 0;
#X connect 5 1 4 0;
#X connect 5 1 6 0;
#X connect 6 0 7 0;
#X connect 6 1 8 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 14 0;
#X connect 14 2 13 0;
#X restore 401 199 pd symbol_to_anything;
#N canvas 996 94 444 344 symbol_to_bang 0;
#X obj 68 184 cyclone/fromsymbol;
#X symbolatom 68 143 20 0 0 0 - - -;
#X msg 68 106 symbol bang;
#X obj 68 254 route bang;
#X obj 68 288 bng 15 250 50 0 empty empty empty 17 7 0 10 -228856 -1
-1;
#X text 43 23 Since the [fromsymbol] object removes the "symbol" selector
\, if you have a "symbol bang" message \, it converts it to a bang:
;
#X text 91 287 <= bang message;
#X obj 96 215 print fromsymbol;
#X obj 265 212 cyclone/fromsymbol;
#X obj 265 260 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 275 237 <= bang message;
#X obj 265 188 bng 15 250 50 0 empty empty empty 17 7 0 10 -228856
-1 -1;
#X text 315 184 as a bang;
#X text 263 169 a bang just comes out;
#X connect 0 0 3 0;
#X connect 0 0 7 0;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 4 0;
#X connect 8 0 9 0;
#X connect 11 0 8 0;
#X restore 415 219 pd symbol_to_bang;
#N canvas 867 121 481 580 separators 0;
#X symbolatom 187 177 20 0 0 0 - - -;
#X obj 215 426 print fromsymbol;
#X text 49 19 The separator message/attribute allows you to split a
symbol into different elements by setting the character that separates
one element from the other. The default separator is a "space".;
#X obj 187 465 unpack float float float float;
#X obj 187 496 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 4 256;
#X obj 246 496 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 3 256;
#X obj 305 496 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 2 256;
#X obj 364 496 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10
-228856 -1 -1 1 256;
#X msg 220 247 separator;
#X msg 187 130 symbol 179.101.88.112;
#X msg 198 153 symbol 255.255.0.0;
#X msg 204 205 separator .;
#X obj 249 352 cyclone/tosymbol;
#X msg 92 204 separator /;
#X symbolatom 35 178 20 0 0 0 - - -;
#X msg 37 133 symbol 19/11/8/12;
#X msg 48 156 symbol 1/2/3/4;
#X obj 187 106 loadbang;
#X text 325 260 (default);
#X text 281 247 <= space as separator;
#X obj 187 393 cyclone/fromsymbol @separator .;
#X msg 226 278 separator " ";
#X text 312 278 <= also space;
#X msg 249 330 4 3 2 1;
#X msg 235 303 separator \ ;
#X text 319 303 <= also space;
#X connect 0 0 20 0;
#X connect 3 0 4 0;
#X connect 3 1 5 0;
#X connect 3 2 6 0;
#X connect 3 3 7 0;
#X connect 8 0 20 0;
#X connect 9 0 0 0;
#X connect 10 0 0 0;
#X connect 11 0 20 0;
#X connect 12 0 20 0;
#X connect 13 0 20 0;
#X connect 14 0 20 0;
#X connect 15 0 14 0;
#X connect 16 0 14 0;
#X connect 17 0 9 0;
#X connect 20 0 1 0;
#X connect 20 0 3 0;
#X connect 21 0 20 0;
#X connect 23 0 12 0;
#X connect 24 0 20 0;
#X restore 430 255 pd separators;
#X text 225 379 - sets the separator character;
#X text 181 331 float;
#X text 225 331 - just goes right through as a float;
#X text 187 348 list;
#X text 103 379 separator <symbol>;
#X obj 2 466 cnv 3 550 3 empty empty attributes 8 12 0 13 -228856 -1
0;
#X text 105 475 @separator <symbol>;
#X text 225 475 - sets the separator character (default "space");
#X text 225 298 - the symbol to be converted to any message type;
#X text 187 314 bang;
#X text 225 314 - outputs a bang;
#X text 225 348 - if the 1st element is a float \, it goes through
;
#X text 70 90 [fromsymbol] converts a symbol message to anything (any
kind of message). Start by typing a float in the atom symbol box below
and see how it converts to a float message \, then check more examples
to the right.;
#X obj 17 56 cyclone/comment 425 14 DejaVu\ Sans\ Mono empty 0 0 0
0 0 255 255 255 0 0 Convert symbol to anything;
#X obj 16 4 cyclone/comment 425 33 DejaVu\ Sans\ Mono empty 0 0 0 0
0 255 255 255 0 0 fromsymbol;
#X obj 322 28 cyclone/comment 425 13 DejaVu\ Sans\ Mono empty 0 224
228 220 0 255 255 255 0 0 Objects cloned from Max/MSP;
#X obj 363 4 cyclone/comment 425 24 DejaVu\ Sans\ Mono empty 0 224
228 220 0 255 255 255 0 0 cyclone;
#X text 163 363 anything;
#X text 225 363 - 1st element is treated as a symbol and converted
;
#X obj 148 181 cyclone/tosymbol;
#X floatatom 148 156 0 0 0 0 - - -;
#X text 51 157 Try any number;
#X connect 5 0 6 0;
#X connect 6 0 11 0;
#X connect 43 0 5 0;
#X connect 44 0 43 0;
