diff options
Diffstat (limited to 'doc/help/cyclone/fromsymbol.pd')
-rw-r--r-- | doc/help/cyclone/fromsymbol.pd | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/help/cyclone/fromsymbol.pd b/doc/help/cyclone/fromsymbol.pd new file mode 100644 index 0000000..714b2f8 --- /dev/null +++ b/doc/help/cyclone/fromsymbol.pd @@ -0,0 +1,44 @@ +#N canvas 134 92 582 543 10; +#X obj 29 16 fromsymbol; +#X obj 53 251 fromsymbol; +#X obj 29 37 tosymbol; +#X text 121 22 transform symbol to numbers or messages and vice versa +; +#X text 17 488 cyclone is (c) Miller Puckette and others; +#X text 18 501 docs based on the MAX/MSP reference (c) cycling'74; +#X text 17 515 ___________________________________________________ +; +#X obj 94 190 tosymbol; +#X text 35 72 since pd lacks a quoting mechanism (like `foo bar`) there +is; +#X text 36 84 no support for spaces in symbols \, so the original max +way of; +#X text 35 96 using from/tosymbol won't work. One has to construct +symbols; +#X text 34 109 with other tools like; +#X obj 185 113 tosymbol; +#X obj 267 113 makesymbol; +#X text 248 109 or; +#X text 342 110 from zexy; +#X msg 94 164 this is a list of symbols; +#X obj 94 215 print symbol_with_spaces; +#X text 271 218 becomes a symbol with spaces; +#X obj 53 279 print list_again; +#X text 178 282 and can be transformed back into a list; +#X text 31 164 so this:; +#X obj 90 409 tosymbol; +#X obj 90 434 print separator; +#X text 50 353 1; +#X text 57 382 2; +#X obj 55 317 tosymbol; +#X msg 90 379 lets place a _ instead of a space inside; +#X msg 67 354 separator _; +#X text 117 321 can also be used to generate non space symbols from +lists:; +#X connect 1 0 19 0; +#X connect 7 0 17 0; +#X connect 7 0 1 0; +#X connect 16 0 7 0; +#X connect 22 0 23 0; +#X connect 27 0 22 0; +#X connect 28 0 22 0; |