diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2007-07-26 12:20:50 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2007-07-26 12:20:50 +0000 |
commit | 0d8513a9086f284cb2cd33beacfd4e8d64adcc44 (patch) | |
tree | a2712f9623790f7fecc8e0c4d52529f6e20382dc /src/any2string-help.pd | |
parent | 4613a9c711dfd5882bc1e1ce561bcff83097e33e (diff) |
pdstring v0.05
+ added persistent string buffer to any2string
+ added initial buffer size and eos-character arguments to any2string, string2any
- defaults are backwards-compatible but ugly
+ added --enable-object-externals option to configure
svn path=/trunk/externals/moocow/pdstring/; revision=8247
Diffstat (limited to 'src/any2string-help.pd')
-rw-r--r-- | src/any2string-help.pd | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/any2string-help.pd b/src/any2string-help.pd new file mode 100644 index 0000000..695de06 --- /dev/null +++ b/src/any2string-help.pd @@ -0,0 +1,39 @@ +#N canvas 90 20 636 478 10; +#X obj 25 400 print any2string-help; +#X obj 25 314 any2string 128 -1; +#X msg 109 197 0; +#X msg 77 197 -1; +#X text 19 47 INLETS:; +#X text 31 61 1 - pd messages; +#X text 247 49 OUTLETS:; +#X text 263 63 1 - lists of ASCII-valued floats; +#X floatatom 44 147 8 0 0 0 - - -; +#X symbolatom 34 125 10 0 0 0 - - -; +#X text 189 125 ... no special handling for symbols; +#X text 188 103 anything can be converted to a list...; +#X text 190 147 ... but "float" selector is silently dropped; +#X msg 25 104 A B C; +#X text 193 312 First argument: initial buffer size (length of object-local +text buffer). This should get re-allocated when necessary. Specify +0 (zero) to use the default value.; +#X text 195 367 Second argument: initial EOS character. See above. +; +#X text 320 458 Bryan Jurish <moocow@ling.uni-potsdam.de>; +#X text 19 439 SEE ALSO:; +#X msg 139 197 42; +#X text 21 29 SYNTAX: any2string [INITIAL_BUFSIZE [EOS_CHAR]]; +#X text 184 194 The second inlet sets the terminating EOS ("end-of-string") +character. This value gets implicitly appended to all output lists. +Specify a negative value here to avoid implicit EOS characters entirely. +For backwards compatibility \, the default EOS character is 0 (zero). +; +#X text 51 5 any2string : convert pd messages to a list of floats; +#X text 31 75 2 - EOS character (float); +#X obj 100 438 pdstring-help; +#X connect 1 0 0 0; +#X connect 2 0 1 1; +#X connect 3 0 1 1; +#X connect 8 0 1 0; +#X connect 9 0 1 0; +#X connect 13 0 1 0; +#X connect 18 0 1 1; |