From 12fa815248c4b98948afa36388418de0d0ead4a4 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sun, 25 Jan 2009 22:23:14 +0000 Subject: + merged pstring+wchar changes from r10606:10638 into pdstring svn path=/trunk/externals/moocow/pdstring/; revision=10639 --- src/bytes2any-help.pd | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/bytes2any-help.pd (limited to 'src/bytes2any-help.pd') diff --git a/src/bytes2any-help.pd b/src/bytes2any-help.pd new file mode 100644 index 0000000..0663ec3 --- /dev/null +++ b/src/bytes2any-help.pd @@ -0,0 +1,47 @@ +#N canvas 507 20 612 604 10; +#X text 13 52 INLETS:; +#X text 309 54 OUTLETS:; +#X text 325 68 1 - pd messages; +#X text 325 82 2 - bang on done; +#X msg 24 113 97 32 98 32 99; +#X msg 39 135 97 0 98 0 99; +#X msg 92 206 0; +#X msg 60 206 -1; +#X msg 124 206 32; +#X text 166 202 The second inlet sets the message-separating EOS ("end-of-string") +character. If this character is encountered in an input list \, the +list is "split" at that point \, and two separate messages are output +at the leftmost outlet. You can specify a negative value here to avoid +implicit input splitting entirely. For backwards compatibility \, the +default EOS character is -1 \, which results in truncation of input +messages whenever a 0 (zero) is encountered.; +#X text 163 350 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 165 405 Second argument: initial EOS character. See above. +; +#X text 159 477 Right outlet gives a bang after the entire input list +has been processed.; +#X text 189 531 Parsed pd messages are sent to the left outlet.; +#X text 306 580 Bryan Jurish ; +#X text 27 83 2 - EOS character (float); +#X text 161 121 lists of floats are converted to pd messages.; +#X text 168 161 ... selector is ignored ...; +#X text 21 571 SEE ALSO:; +#X obj 102 570 pdstring; +#X text 27 68 1 - byte-valued float lists; +#X text 59 7 bytes2any : convert lists of byte values to pd messages +; +#X text 13 30 SYNTAX: bytes2any [INITIAL_BUFSIZE [EOS_CHAR]]; +#X obj 124 454 print bytes2any-help-done; +#X obj 24 529 print bytes2any-help; +#X msg 54 161 StringThing 97; +#X obj 24 350 bytes2any 128 0; +#X connect 4 0 26 0; +#X connect 5 0 26 0; +#X connect 6 0 26 1; +#X connect 7 0 26 1; +#X connect 8 0 26 1; +#X connect 25 0 26 0; +#X connect 26 0 24 0; +#X connect 26 1 23 0; -- cgit v1.2.1