/usr/lib/pd/extra/cyclone/sprintf-help.pd is in pd-cyclone 0.2~beta3-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | #N canvas 623 81 559 407 10;
#X obj 1 381 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 0 212 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#N canvas 607 187 366 205 META 0;
#X text 0 19 LICENSE SIBSD;
#X text 0 95 LIBRARY cyclone;
#X text 0 0 KEYWORDS print format string;
#X text 0 38 DESCRIPTION format a message of string and numbers;
#X text 0 57 INLET_N message;
#X text 0 76 OUTLET_0 message;
#X text 0 113 VERSION 0.2-beta1;
#X text 0 131 AUTHOR Krzysztof Czaja;
#X text 1 149 RELEASE_DATE 2002;
#X text 2 168 WEBSITE http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html
;
#X text 2 200 HELP_PATCH_AUTHORS Christoph Kummerer. Revised by Jonathan
Wilkes for Pd-extended 0.42 to conform to the PDDP template. Alex Cleveland
updated this patch for Pd-l2ork version 2013.05.28. Fred Jan Kraan
adapted the patch to pd-extended 2015-02-02;
#X restore 501 384 pd META;
#X obj 0 264 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 304 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#N canvas 668 520 428 113 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Related Objects;
#X obj 13 77 cyclone/spell;
#X obj 12 29 cyclone/fromsymbol;
#X obj 12 53 cyclone/tosymbol;
#X obj 142 31 key;
#X obj 142 55 keyup;
#X restore 204 384 pd Related_objects;
#X obj 79 224 cnv 17 3 17 empty empty n 5 9 0 16 -228856 -162280 0
;
#X obj 79 276 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 0 0 cnv 15 552 40 empty empty sprintf 3 12 0 18 -204280 -1 0
;
#X obj 496 10 sprintf;
#X text 12 23 format a message of strings and numbers;
#X text 116 224 message;
#X text 116 275 message;
#X text 180 275 - the formatted string;
#X obj 72 187 print;
#X msg 72 55 -bar;
#X floatatom 213 79 5 0 0 0 - - -;
#X text 106 55 this is the 'hot' inlet;
#X text 99 320 1) string;
#X obj 72 131 cyclone/sprintf foo%s-%d;
#X obj 318 186 print;
#X msg 318 78 myFloat;
#X msg 415 76 42.88;
#X msg 513 77 64;
#X text 180 320 - the string format to output. Each % creates an inlet.
;
#X text 193 335 %s - string \, %d integer \, %f float \, %c - character
;
#X text 191 351 the format is derived from the c function sprintf;
#X obj 318 130 cyclone/sprintf variable %s=%f %c;
#X text 180 222 - inlet type is specifed by format string given as
argument to sprintf;
#X connect 15 0 19 0;
#X connect 16 0 19 1;
#X connect 19 0 14 0;
#X connect 21 0 27 0;
#X connect 22 0 27 1;
#X connect 23 0 27 2;
#X connect 27 0 20 0;
|