aboutsummaryrefslogtreecommitdiff
path: root/pdstring+wchar/src/string2any-help.pd
blob: 3d09fc7675f50b49b854a8e7b72520e0b8fdb534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#N canvas 121 48 612 604 10;
#X text 59 7 string2any : convert lists of floats to pd messages;
#X text 13 30 SYNTAX: string2any [INITIAL_BUFSIZE [EOS_CHAR]];
#X text 13 52 INLETS:;
#X text 27 68 1 - ASCII-valued float lists;
#X text 309 54 OUTLETS:;
#X text 325 68 1 - pd messages;
#X text 325 82 2 - bang on done;
#X obj 24 350 string2any 128 0;
#X obj 24 529 print string2any-help;
#X obj 131 454 print string2any-help-done;
#X msg 24 113 97 32 98 32 99;
#X msg 39 135 97 0 98 0 99;
#X msg 99 206 0;
#X msg 67 206 -1;
#X msg 131 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 <moocow@ling.uni-potsdam.de>;
#X text 27 83 2 - EOS character (float);
#X text 161 121 lists of floats are converted to pd messages.;
#X msg 54 161 StringThing 97;
#X text 168 161 ... selector is ignored ...;
#X text 21 571 SEE ALSO:;
#X obj 102 570 pdstring;
#X connect 7 0 8 0;
#X connect 7 1 9 0;
#X connect 10 0 7 0;
#X connect 11 0 7 0;
#X connect 12 0 7 1;
#X connect 13 0 7 1;
#X connect 14 0 7 1;
#X connect 23 0 7 0;