From bcb36add25f5f7538ff13a0f9828db8a06830c03 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Tue, 16 Nov 2010 06:37:15 +0000 Subject: added META subpatch svn path=/trunk/externals/maxlib/; revision=14442 --- allow-help.pd | 53 +++++++++------ arbran-help.pd | 68 +++++++++++-------- arraycopy-help.pd | 134 +++++++++++++++++++----------------- average-help.pd | 71 +++++++++++-------- beat-help.pd | 145 +++++++++++++++++++++------------------ beta-help.pd | 40 +++++++---- bilex-help.pd | 36 ++++++---- borax-help.pd | 192 +++++++++++++++++++++++++++++----------------------- cauchy-help.pd | 33 ++++++--- chord-help.pd | 89 ++++++++++++++---------- delta-help.pd | 50 ++++++++------ deny-help.pd | 50 ++++++++------ dist-help.pd | 81 ++++++++++++---------- divide-help.pd | 49 +++++++++----- divmod-help.pd | 53 +++++++++------ edge-help.pd | 45 +++++++----- expo-help.pd | 35 ++++++---- fifo-help.pd | 36 ++++++---- gauss-help.pd | 40 +++++++---- gestalt-help.pd | 115 +++++++++++++++++-------------- history-help.pd | 73 ++++++++++++-------- ignore-help.pd | 42 ++++++++---- iso-help.pd | 123 ++++++++++++++++++--------------- lifo-help.pd | 43 +++++++----- limit-help.pd | 64 +++++++++++------- linear-help.pd | 26 ++++--- listfifo-help.pd | 62 ++++++++++------- listfunnel-help.pd | 53 +++++++++------ match-help.pd | 147 +++++++++++++++++++++------------------- minus-help.pd | 47 ++++++++----- mlife-help.pd | 123 ++++++++++++++++++--------------- multi-help.pd | 47 ++++++++----- nchange-help.pd | 73 +++++++++++--------- netclient-help.pd | 114 +++++++++++++++++-------------- netdist-help.pd | 84 +++++++++++++---------- netrec-help.pd | 81 ++++++++++++---------- netserver-help.pd | 112 ++++++++++++++++-------------- nroute-help.pd | 89 ++++++++++++++---------- pitch-help.pd | 75 ++++++++++++-------- plus-help.pd | 47 ++++++++----- poisson-help.pd | 35 ++++++---- pong-help.pd | 22 +++++- pulse-help.pd | 85 +++++++++++++---------- remote-help.pd | 49 ++++++++------ rewrap-help.pd | 60 +++++++++------- rhythm-help.pd | 85 +++++++++++++---------- scale-help.pd | 78 ++++++++++++--------- score-help.pd | 118 ++++++++++++++++++-------------- speedlim-help.pd | 72 ++++++++++++-------- split-help.pd | 62 ++++++++++------- step-help.pd | 57 ++++++++++------ subst-help.pd | 156 ++++++++++++++++++++++-------------------- sync-help.pd | 121 ++++++++++++++++++--------------- temperature-help.pd | 43 +++++++----- tilt-help.pd | 63 ++++++++++------- timebang-help.pd | 51 +++++++------- triang-help.pd | 27 +++++--- unroute-help.pd | 72 ++++++++++++-------- urn-help.pd | 48 ++++++++----- velocity-help.pd | 38 +++++++---- weibull-help.pd | 42 ++++++++---- wrap-help.pd | 57 ++++++++++------ 62 files changed, 2565 insertions(+), 1816 deletions(-) diff --git a/allow-help.pd b/allow-help.pd index 084d52f..20d1359 100644 --- a/allow-help.pd +++ b/allow-help.pd @@ -1,21 +1,32 @@ -#N canvas 358 305 554 308 12; -#X text 24 17 allow :: lets only 'allowed' floats or symbols through -; -#X text 97 34 written by Olaf Matthes ; -#X msg 125 65 cat; -#X msg 147 97 dog; -#X msg 157 126 bird; -#X floatatom 82 269 5 0 0 0 - - -; -#X symbolatom 151 246 10 0 0 0 - - -; -#X obj 114 156 symbol \$1; -#X floatatom 40 81 5 0 0 0 - - -; -#X obj 82 217 route float symbol; -#X obj 82 189 allow 17 cat dog 23; -#X connect 2 0 7 0; -#X connect 3 0 7 0; -#X connect 4 0 7 0; -#X connect 7 0 10 0; -#X connect 8 0 10 0; -#X connect 9 0 5 0; -#X connect 9 1 6 0; -#X connect 10 0 9 0; +#N canvas 0 26 471 308 12; +#X text 24 17 allow :: lets only 'allowed' floats or symbols through +; +#X text 97 34 written by Olaf Matthes ; +#X msg 125 65 cat; +#X msg 147 97 dog; +#X msg 157 126 bird; +#X floatatom 82 269 5 0 0 0 - - -; +#X symbolatom 151 246 10 0 0 0 - - -; +#X floatatom 40 81 5 0 0 0 - - -; +#X obj 82 217 route float symbol; +#X obj 82 189 allow 17 cat dog 23; +#N canvas 293 158 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 45 DESCRIPTION let only 'allowed' floats or symbols through +; +#X text 12 65 INLET_0 float symbol; +#X text 12 85 OUTLET_0 float symbol; +#X text 12 105 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control filter; +#X restore 415 283 pd META; +#X msg 125 157 symbol \$1; +#X connect 2 0 11 0; +#X connect 3 0 11 0; +#X connect 4 0 11 0; +#X connect 7 0 9 0; +#X connect 8 0 5 0; +#X connect 8 1 6 0; +#X connect 9 0 8 0; +#X connect 11 0 9 0; diff --git a/arbran-help.pd b/arbran-help.pd index 9153bf5..5d766f9 100644 --- a/arbran-help.pd +++ b/arbran-help.pd @@ -1,28 +1,40 @@ -#N canvas 190 136 663 491 12; -#X obj 41 152 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 41 249 5 0 0; -#N canvas 0 0 450 300 graph1 0; -#X array array1 6 float 1; -#A 0 1.1 2.67143 3.24285 3.1 4.38571 8.67143; -#X coords 0 10 5 0 200 140 1; -#X restore 347 71 graph; -#N canvas 0 0 450 300 graph2 0; -#X array array2 6 float 1; -#A 0 0.0229077 0.204366 0.486501 0.0632986 0.204028 0.025319; -#X coords 0 1 5 0 200 140 1; -#X restore 347 220 graph; -#X obj 41 202 arbran array1 array2; -#X text 39 21 arbran :: generates a random variable that conforms -to the piecewise probability density functions specified in two arrays -; -#X text 40 297 array1 has values between 0 and 10; -#X text 40 317 array2 between 0 and 1 !; -#X msg 99 152 pdfscale; -#X text 41 389 array1 stores the values and array2 the corresponding -probabilities (0 - 1) for each of that values \, use message 'pdfscale' -to check (and adjust) the probability values to correct settings (the -area below the curve has to be 1); -#X connect 0 0 4 0; -#X connect 4 0 1 0; -#X connect 8 0 4 0; +#N canvas 0 26 663 491 12; +#X obj 41 152 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 41 249 5 0 0 0 - - -; +#N canvas 0 0 450 300 (subpatch) 0; +#X array \$0-a1 6 float 1; +#A 0 1.1 2.67143 3.24285 3.1 4.38571 8.67143; +#X coords 0 10 5 0 200 140 1; +#X restore 347 71 graph; +#N canvas 0 0 450 300 (subpatch) 0; +#X array \$0-a2 6 float 1; +#A 0 0.0229077 0.204366 0.486501 0.0632986 0.204028 0.025319; +#X coords 0 1 5 0 200 140 1; +#X restore 347 240 graph; +#X text 39 21 arbran :: generates a random variable that conforms to +the piecewise probability density functions specified in two arrays +; +#X text 40 297 array1 has values between 0 and 10; +#X text 40 317 array2 between 0 and 1 !; +#X msg 99 152 pdfscale; +#X text 41 389 array1 stores the values and array2 the corresponding +probabilities (0 - 1) for each of that values \, use message 'pdfscale' +to check (and adjust) the probability values to correct settings (the +area below the curve has to be 1); +#N canvas 293 158 494 344 META 0; +#X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 135 AUTHOR Olaf Matthes ; +#X text 12 45 DESCRIPTION generate a random variable conforming to +the piecewise probability density functions specified in two arrays +; +#X text 12 95 INLET_0 bang pdfscale; +#X text 12 115 OUTLET_0 float; +#X text 12 5 KEYWORDS control random array; +#X restore 605 463 pd META; +#X obj 41 202 arbran \$0-a1 \$0-a2; +#X connect 0 0 10 0; +#X connect 7 0 10 0; +#X connect 10 0 1 0; diff --git a/arraycopy-help.pd b/arraycopy-help.pd index 6963c69..a7f9823 100644 --- a/arraycopy-help.pd +++ b/arraycopy-help.pd @@ -1,62 +1,72 @@ -#N canvas 140 43 934 584 12; -#N canvas 0 0 450 300 graph1 0; -#X array array1 20 float 1; -#A 0 0 0 0.342857 0.542857 0.6 -0.442857 -0.485714 0.0142858 -0.428571 --0.114286 0.0857143 -0.2 -0.214285 0.314285 -0.157143 -0.314285 -0.142857 --0.0428571 0.114286 -0.685713; -#X coords 0 1 19 -1 200 140 1; -#X restore 680 27 graph; -#N canvas 0 0 450 300 graph2 0; -#X array array2 20 float 1; -#A 0 -0.214286 -0.171429 0.1 0.614286 0.757143 0.757143 0.542857 0.2 --0.0285714 -0.271429 -0.414286 -0.514286 -0.528571 -0.485714 -0.371429 --0.157143 0.214286 0.557143 0.714286 0.757143; -#X coords 0 1 19 -1 200 140 1; -#X restore 681 196 graph; -#N canvas 0 0 450 300 graph3 0; -#X array array3 20 float 1; -#A 0 1.86265e-009 1.86265e-009 1.86265e-009 1.86265e-009 1.86265e-009 --0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 --0.0142857 -0.0285714 -0.0285714 -0.0285714 -0.0285714 -0.0142857 -0.0142857 --0.0142857; -#X coords 0 1 19 -1 200 140 1; -#X restore 680 371 graph; -#X obj 22 500 arraycopy array3; -#X text 339 402 set the destination array; -#X text 41 1 arraycopy :: copy data from one array to another; -#X text 146 22 written by Olaf Matthes ; -#X msg 22 109 copy array1; -#X msg 43 139 copy array1 10 15; -#X text 131 109 copy the whole array; -#X text 200 140 copy from value 10 to 15; -#X msg 60 169 copy array1 10 +5; -#X text 217 170 copy from value 10 the next 5 values; -#X msg 85 359 print \$1; -#X obj 85 333 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X text 116 334 switch console printout on/off; -#X text 281 202 copy from value 10 to 15; -#X msg 73 201 copy array1 10 15 array2; -#X text 280 222 into array2 (starting at 0); -#X text 322 251 copy from value 10 to 15; -#X text 321 271 into array2 starting at 4; -#X msg 92 250 copy array1 10 15 array2 4; -#X msg 368 454 array3; -#X msg 86 414 bang; -#X text 137 412 perform last copy; -#X text 137 429 operation again; -#X text 20 537 creation argument: initial destination array to copy -data to; -#X obj 200 502 symbol; -#X msg 339 428 array2; -#X connect 7 0 3 0; -#X connect 8 0 3 0; -#X connect 11 0 3 0; -#X connect 13 0 3 0; -#X connect 14 0 13 0; -#X connect 17 0 3 0; -#X connect 21 0 3 0; -#X connect 22 0 27 0; -#X connect 23 0 3 0; -#X connect 27 0 3 1; -#X connect 28 0 27 0; +#N canvas 0 26 810 584 12; +#N canvas 0 0 450 300 (subpatch) 0; +#X array a1 20 float 1; +#A 0 0 0 0.342857 0.542857 0.6 -0.442857 -0.485714 0.0142858 -0.428571 +-0.114286 0.0857143 -0.2 -0.214285 0.314285 -0.157143 -0.314285 -0.142857 +-0.0428571 0.114286 -0.685713; +#X coords 0 1 19 -1 200 140 1; +#X restore 580 27 graph; +#N canvas 0 0 450 300 (subpatch) 0; +#X array a2 20 float 1; +#A 0 -0.214286 -0.171429 0.1 0.614286 0.757143 0.757143 0.542857 0.2 +-0.0285714 -0.271429 -0.414286 -0.514286 -0.528571 -0.485714 -0.371429 +-0.157143 0.214286 0.557143 0.714286 0.757143; +#X coords 0 1 19 -1 200 140 1; +#X restore 581 196 graph; +#N canvas 0 0 450 300 (subpatch) 0; +#X array a3 20 float 1; +#A 0 1.86265e-09 1.86265e-09 1.86265e-09 1.86265e-09 1.86265e-09 -0.0142857 +-0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 +-0.0285714 -0.0285714 -0.0285714 -0.0285714 -0.0142857 -0.0142857 -0.0142857 +; +#X coords 0 1 19 -1 200 140 1; +#X restore 580 371 graph; +#X text 339 402 set the destination array; +#X text 41 1 arraycopy :: copy data from one array to another; +#X text 146 22 written by Olaf Matthes ; +#X text 87 107 copy the whole array; +#X text 156 138 copy from value 10 to 15; +#X text 173 168 copy from value 10 the next 5 values; +#X msg 85 359 print \$1; +#X obj 85 333 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X text 116 334 switch console printout on/off; +#X text 217 200 copy from value 10 to 15; +#X text 248 249 copy from value 10 to 15; +#X msg 86 414 bang; +#X text 137 412 perform last copy; +#X text 137 429 operation again; +#X text 20 537 creation argument: initial destination array to copy +data to; +#X obj 200 502 symbol; +#N canvas 293 158 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control array; +#X text 12 45 DESCRIPTION copy data from one array to another; +#X text 12 65 INLET_0 bang copy print; +#X text 12 85 INLET_1 symbol; +#X restore 745 553 pd META; +#X msg 22 109 copy a1; +#X msg 43 139 copy a1 10 15; +#X msg 60 169 copy a1 10 +5; +#X msg 73 201 copy a1 10 15 a2; +#X msg 92 250 copy a1 10 15 a2 4; +#X text 216 220 into a2 (starting at 0); +#X text 247 269 into a2 starting at 4; +#X msg 339 428 a2; +#X msg 368 454 a3; +#X obj 22 500 arraycopy a3; +#X connect 9 0 29 0; +#X connect 10 0 9 0; +#X connect 14 0 29 0; +#X connect 18 0 29 1; +#X connect 20 0 29 0; +#X connect 21 0 29 0; +#X connect 22 0 29 0; +#X connect 23 0 29 0; +#X connect 24 0 29 0; +#X connect 27 0 18 0; +#X connect 28 0 18 0; diff --git a/average-help.pd b/average-help.pd index 6155716..13b923a 100644 --- a/average-help.pd +++ b/average-help.pd @@ -1,29 +1,42 @@ -#N canvas 445 253 470 320 12; -#X floatatom 47 39 5 0 0; -#X floatatom 47 276 5 0 0; -#X floatatom 122 191 5 0 0; -#X obj 47 219 average 10; -#X text 177 191 number of items to average; -#X text 139 220 creation argument = number of items; -#X floatatom 122 254 5 0 0; -#X text 105 277 average of last N items; -#X text 125 11 average :: calculates the average of the; -#X text 214 30 last N items (floats); -#X text 176 255 tendency (up = 1 \, down = -1); -#X msg 100 60 reset; -#X text 152 61 forget everything; -#X msg 129 94 linear; -#X msg 147 118 geometric; -#X text 191 93 linear average (dafault); -#X text 230 119 geometric average; -#X msg 158 146 weight; -#X text 217 147 weighted average (giving last; -#X text 218 163 items higher weight); -#X connect 0 0 3 0; -#X connect 2 0 3 1; -#X connect 3 0 1 0; -#X connect 3 1 6 0; -#X connect 11 0 3 0; -#X connect 13 0 3 0; -#X connect 14 0 3 0; -#X connect 17 0 3 0; +#N canvas 0 26 470 342 12; +#X floatatom 47 39 5 0 0 0 - - -; +#X floatatom 47 276 5 0 0 0 - - -; +#X floatatom 122 191 5 0 0 0 - - -; +#X obj 47 219 average 10; +#X text 177 191 number of items to average; +#X text 139 220 creation argument = number of items; +#X floatatom 122 254 5 0 0 0 - - -; +#X text 105 277 average of last N items; +#X text 125 11 average :: calculates the average of the; +#X text 214 30 last N items (floats); +#X text 176 255 tendency (up = 1 \, down = -1); +#X msg 100 60 reset; +#X text 152 61 forget everything; +#X msg 129 94 linear; +#X msg 147 118 geometric; +#X text 191 93 linear average (dafault); +#X text 230 119 geometric average; +#X msg 158 146 weight; +#X text 217 147 weighted average (giving last; +#X text 218 163 items higher weight); +#N canvas 293 158 494 344 META 0; +#X text 12 180 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 160 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION calculates the average of the last N items +(floats); +#X text 12 80 INLET_0 float reset linear geometric weight; +#X text 12 100 INLET_1 float; +#X text 12 140 OUTLET_1 float; +#X text 12 120 OUTLET_0 float; +#X restore 405 313 pd META; +#X connect 0 0 3 0; +#X connect 2 0 3 1; +#X connect 3 0 1 0; +#X connect 3 1 6 0; +#X connect 11 0 3 0; +#X connect 13 0 3 0; +#X connect 14 0 3 0; +#X connect 17 0 3 0; diff --git a/beat-help.pd b/beat-help.pd index 55f85ef..bffdb65 100644 --- a/beat-help.pd +++ b/beat-help.pd @@ -1,66 +1,79 @@ -#N canvas 294 98 628 562 12; -#X floatatom 20 503 8 0 0; -#X obj 20 66 notein; -#X obj 183 376 makenote 100 250; -#X floatatom 41 477 5 0 0; -#X text 43 13 beat :: beat tracker; -#X text 97 505 beats per minute; -#X msg 71 224 reset; -#X obj 183 219 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 -1; -#X msg 183 346 60; -#X msg 53 108 print; -#X obj 63 446 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -258699 --1; -#X text 93 447 'on beat'; -#X text 96 479 milliseconds; -#X msg 303 336 400; -#X obj 319 299 + 0; -#X text 411 245 <-- adding some jitter; -#X obj 183 271 random 4; -#X obj 183 298 select 0 1 2 3; -#X text 211 218 <-- click here to play random rhythm; -#X obj 338 243 random 3; -#X obj 338 270 - 1; -#X obj 20 414 beat 4; -#X text 88 415 creation: beat ; -#X text 349 456 certain percentage in which; -#X text 350 472 the beats have to lie; -#X msg 262 337 200; -#X msg 222 336 100; -#X obj 183 245 metro 100; -#X text 106 108 print internal data (toggle on/off); -#X text 106 136 prints out: time between current and last event \, -the five best-fitting theories (with likelyhood in brackets) \, the -time of arrival of current event (R) and the expected time of arrival -(E) of the next event; -#X text 213 439 band percentage: creates a critical time band of a -; -#X connect 1 0 21 0; -#X connect 1 1 21 1; -#X connect 2 0 21 0; -#X connect 2 1 21 1; -#X connect 6 0 21 0; -#X connect 7 0 27 0; -#X connect 8 0 2 0; -#X connect 9 0 21 0; -#X connect 13 0 14 0; -#X connect 14 0 27 1; -#X connect 16 0 17 0; -#X connect 17 0 8 0; -#X connect 17 0 26 0; -#X connect 17 1 8 0; -#X connect 17 1 25 0; -#X connect 17 2 13 0; -#X connect 17 2 8 0; -#X connect 17 3 8 0; -#X connect 17 3 13 0; -#X connect 19 0 20 0; -#X connect 20 0 14 1; -#X connect 21 0 0 0; -#X connect 21 1 3 0; -#X connect 21 2 10 0; -#X connect 25 0 14 0; -#X connect 26 0 14 0; -#X connect 27 0 16 0; -#X connect 27 0 19 0; +#N canvas 0 26 608 549 12; +#X floatatom 20 503 8 0 0 0 - - -; +#X obj 20 66 notein; +#X obj 183 376 makenote 100 250; +#X floatatom 41 477 5 0 0 0 - - -; +#X text 43 13 beat :: beat tracker; +#X text 97 505 beats per minute; +#X msg 71 224 reset; +#X obj 183 219 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X msg 183 346 60; +#X msg 53 108 print; +#X obj 63 446 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -258699 +-1; +#X text 93 447 'on beat'; +#X text 96 479 milliseconds; +#X msg 303 336 400; +#X obj 319 299 + 0; +#X text 411 245 <-- adding some jitter; +#X obj 183 271 random 4; +#X obj 183 298 select 0 1 2 3; +#X text 211 218 <-- click here to play random rhythm; +#X obj 338 243 random 3; +#X obj 338 270 - 1; +#X obj 20 414 beat 4; +#X text 88 415 creation: beat ; +#X text 349 456 certain percentage in which; +#X text 350 472 the beats have to lie; +#X msg 262 337 200; +#X msg 222 336 100; +#X obj 183 245 metro 100; +#X text 106 108 print internal data (toggle on/off); +#X text 106 136 prints out: time between current and last event \, +the five best-fitting theories (with likelyhood in brackets) \, the +time of arrival of current event (R) and the expected time of arrival +(E) of the next event; +#X text 213 439 band percentage: creates a critical time band of a +; +#N canvas 316 146 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 165 AUTHOR Olaf Matthes ; +#X text 12 85 INLET_1 float; +#X text 12 125 OUTLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 5 KEYWORDS control analysis; +#X text 12 45 DESCRIPTION beat tracker; +#X text 12 65 INLET_0 float reset print; +#X text 12 145 OUTLET_2 bang; +#X restore 545 518 pd META; +#X connect 1 0 21 0; +#X connect 1 1 21 1; +#X connect 2 0 21 0; +#X connect 2 1 21 1; +#X connect 6 0 21 0; +#X connect 7 0 27 0; +#X connect 8 0 2 0; +#X connect 9 0 21 0; +#X connect 13 0 14 0; +#X connect 14 0 27 1; +#X connect 16 0 17 0; +#X connect 17 0 8 0; +#X connect 17 0 26 0; +#X connect 17 1 8 0; +#X connect 17 1 25 0; +#X connect 17 2 13 0; +#X connect 17 2 8 0; +#X connect 17 3 8 0; +#X connect 17 3 13 0; +#X connect 19 0 20 0; +#X connect 20 0 14 1; +#X connect 21 0 0 0; +#X connect 21 1 3 0; +#X connect 21 2 10 0; +#X connect 25 0 14 0; +#X connect 26 0 14 0; +#X connect 27 0 16 0; +#X connect 27 0 19 0; diff --git a/beta-help.pd b/beta-help.pd index f4b9edf..bec0e11 100644 --- a/beta-help.pd +++ b/beta-help.pd @@ -1,14 +1,26 @@ -#N canvas 438 222 487 308 12; -#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 70 192 5 0 0; -#X floatatom 139 94 5 0 0; -#X obj 70 140 beta 0.78 1.3; -#X text 192 95 a; -#X floatatom 209 116 5 0 0; -#X text 262 117 b; -#X text 39 21 beta :: beta distributed random numbers; -#X connect 0 0 3 0; -#X connect 2 0 3 1; -#X connect 3 0 1 0; -#X connect 5 0 3 2; +#N canvas 0 26 487 308 12; +#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 70 192 5 0 0 0 - - -; +#X floatatom 139 94 5 0 0 0 - - -; +#X obj 70 140 beta 0.78 1.3; +#X text 192 95 a; +#X floatatom 209 116 5 0 0 0 - - -; +#X text 262 117 b; +#X text 39 21 beta :: beta distributed random numbers; +#N canvas 293 158 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 145 AUTHOR Olaf Matthes ; +#X text 12 125 OUTLET_0 float; +#X text 12 5 KEYWORDS control random; +#X text 12 45 DESCRIPTION beta distributed random numbers; +#X text 12 65 INLET_0 bang; +#X text 12 85 INLET_1 float; +#X text 12 105 INLET_2 float; +#X restore 425 279 pd META; +#X connect 0 0 3 0; +#X connect 2 0 3 1; +#X connect 3 0 1 0; +#X connect 5 0 3 2; diff --git a/bilex-help.pd b/bilex-help.pd index 4e9961f..f031c09 100644 --- a/bilex-help.pd +++ b/bilex-help.pd @@ -1,12 +1,24 @@ -#N canvas 370 195 485 306 12; -#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 70 192 5 0 0; -#X floatatom 177 103 5 0 0; -#X text 230 105 lambda; -#X text 13 20 bilex :: bilinear exponetionally distributed random -numbers; -#X obj 70 140 bilex 1.5; -#X connect 0 0 5 0; -#X connect 2 0 5 1; -#X connect 5 0 1 0; +#N canvas 0 26 485 306 12; +#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 70 192 5 0 0 0 - - -; +#X floatatom 177 103 5 0 0 0 - - -; +#X text 230 105 lambda; +#X text 13 20 bilex :: bilinear exponetionally distributed random numbers +; +#X obj 70 140 bilex 1.5; +#N canvas 293 158 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 145 AUTHOR Olaf Matthes ; +#X text 12 125 OUTLET_0 float; +#X text 12 5 KEYWORDS control random; +#X text 12 85 INLET_0 bang; +#X text 12 105 INLET_1 float; +#X text 12 45 DESCRIPTION bilinear exponetionally distributed random +numbers; +#X restore 423 277 pd META; +#X connect 0 0 5 0; +#X connect 2 0 5 1; +#X connect 5 0 1 0; diff --git a/borax-help.pd b/borax-help.pd index a286a60..0b996e9 100644 --- a/borax-help.pd +++ b/borax-help.pd @@ -1,86 +1,106 @@ -#N canvas 281 85 645 549 12; -#X obj 125 230 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 125 298 6 0 0; -#X floatatom 50 451 5 0 0; -#X floatatom 26 502 5 0 0; -#X floatatom 63 425 5 0 0; -#X floatatom 38 476 5 0 0; -#X floatatom 100 349 6 0 0; -#X floatatom 75 399 5 0 0; -#X floatatom 112 323 5 0 0; -#X floatatom 87 374 5 0 0; -#X obj 26 269 borax 0 0 0 0; -#X text 103 452 number of voices currently playing; -#X text 120 422 pitch; -#X text 127 399 velocity; -#X obj 15 54 makenote 100 1500; -#X obj 336 67 metro 100; -#X obj 428 124 + 50; -#X obj 428 147 s time; -#X obj 403 43 r time; -#X obj 260 147 s pitch; -#X obj 15 17 r pitch; -#X obj 80 18 r velo; -#X msg 336 14 1; -#X msg 345 37 0; -#X obj 513 101 random 64; -#X obj 513 124 + 64; -#X obj 513 147 s velo; -#X obj 146 19 r duration; -#X obj 336 147 s duration; -#X obj 336 124 + 250; -#X text 91 477 voice allocation number - each note playing is assigned -a no; -#X obj 45 88 noteout 1; -#X obj 428 101 random 500; -#X obj 260 101 random 88; -#X obj 260 124 + 21; -#X text 120 200 borax :: analyse incoming midi notes; -#X text 363 13 <-- click to play random music; -#X obj 40 125 notein 1; -#X text 186 300 delta time value - time between note-ons; -#X text 160 350 duration value - time between note-on and note-off -; -#X text 79 502 note-on count; -#X text 141 374 duration count; -#X text 164 326 delta time count; -#X obj 336 101 random 1000; -#X text 153 228 <-- reset :: sets counters and clocks to zero and sends -; -#X text 258 243 note-off for all notes currently playing; -#X text 137 273 <--- zeroes only added to make the object larger; -#X connect 0 0 10 2; -#X connect 10 0 3 0; -#X connect 10 1 5 0; -#X connect 10 2 2 0; -#X connect 10 3 4 0; -#X connect 10 4 7 0; -#X connect 10 5 9 0; -#X connect 10 6 6 0; -#X connect 10 7 8 0; -#X connect 10 8 1 0; -#X connect 14 0 10 0; -#X connect 14 0 31 0; -#X connect 14 1 10 1; -#X connect 14 1 31 1; -#X connect 15 0 24 0; -#X connect 15 0 32 0; -#X connect 15 0 33 0; -#X connect 15 0 43 0; -#X connect 16 0 17 0; -#X connect 18 0 15 1; -#X connect 20 0 14 0; -#X connect 21 0 14 1; -#X connect 22 0 15 0; -#X connect 23 0 15 0; -#X connect 24 0 25 0; -#X connect 25 0 26 0; -#X connect 27 0 14 2; -#X connect 29 0 28 0; -#X connect 32 0 16 0; -#X connect 33 0 34 0; -#X connect 34 0 19 0; -#X connect 37 0 10 0; -#X connect 37 1 10 1; -#X connect 43 0 29 0; +#N canvas 0 26 645 549 12; +#X obj 125 230 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 125 298 6 0 0 0 - - -; +#X floatatom 50 451 5 0 0 0 - - -; +#X floatatom 26 502 5 0 0 0 - - -; +#X floatatom 63 425 5 0 0 0 - - -; +#X floatatom 38 476 5 0 0 0 - - -; +#X floatatom 100 349 6 0 0 0 - - -; +#X floatatom 75 399 5 0 0 0 - - -; +#X floatatom 112 323 5 0 0 0 - - -; +#X floatatom 87 374 5 0 0 0 - - -; +#X obj 26 269 borax 0 0 0 0; +#X text 103 452 number of voices currently playing; +#X text 120 422 pitch; +#X text 127 399 velocity; +#X obj 15 54 makenote 100 1500; +#X obj 336 67 metro 100; +#X obj 428 124 + 50; +#X obj 428 147 s time; +#X obj 403 43 r time; +#X obj 260 147 s pitch; +#X obj 15 17 r pitch; +#X obj 80 18 r velo; +#X msg 336 14 1; +#X msg 345 37 0; +#X obj 513 101 random 64; +#X obj 513 124 + 64; +#X obj 513 147 s velo; +#X obj 146 19 r duration; +#X obj 336 147 s duration; +#X obj 336 124 + 250; +#X text 91 477 voice allocation number - each note playing is assigned +a no; +#X obj 45 88 noteout 1; +#X obj 428 101 random 500; +#X obj 260 101 random 88; +#X obj 260 124 + 21; +#X text 120 200 borax :: analyse incoming midi notes; +#X text 363 13 <-- click to play random music; +#X obj 40 125 notein 1; +#X text 186 300 delta time value - time between note-ons; +#X text 160 350 duration value - time between note-on and note-off +; +#X text 79 502 note-on count; +#X text 141 374 duration count; +#X text 164 326 delta time count; +#X obj 336 101 random 1000; +#X text 153 228 <-- reset :: sets counters and clocks to zero and sends +; +#X text 258 243 note-off for all notes currently playing; +#X text 137 273 <--- zeroes only added to make the object larger; +#N canvas 326 26 507 368 META 0; +#X text 12 326 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 306 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control MIDI max_compatible; +#X text 12 45 DESCRIPTION analyse incoming midi notes; +#X text 12 65 INLET_0 float; +#X text 12 85 INLET_1 float; +#X text 12 105 INLET_2 bang; +#X text 12 125 OUTLET_0 float; +#X text 12 145 OUTLET_1 float; +#X text 12 165 OUTLET_2 float; +#X text 12 185 OUTLET_3 float; +#X text 12 205 OUTLET_4 float; +#X text 12 225 OUTLET_5 float; +#X text 12 245 OUTLET_6 float; +#X text 12 265 OUTLET_7 float; +#X text 12 285 OUTLET_8 float; +#X restore 583 517 pd META; +#X connect 0 0 10 2; +#X connect 10 0 3 0; +#X connect 10 1 5 0; +#X connect 10 2 2 0; +#X connect 10 3 4 0; +#X connect 10 4 7 0; +#X connect 10 5 9 0; +#X connect 10 6 6 0; +#X connect 10 7 8 0; +#X connect 10 8 1 0; +#X connect 14 0 10 0; +#X connect 14 0 31 0; +#X connect 14 1 10 1; +#X connect 14 1 31 1; +#X connect 15 0 24 0; +#X connect 15 0 32 0; +#X connect 15 0 33 0; +#X connect 15 0 43 0; +#X connect 16 0 17 0; +#X connect 18 0 15 1; +#X connect 20 0 14 0; +#X connect 21 0 14 1; +#X connect 22 0 15 0; +#X connect 23 0 15 0; +#X connect 24 0 25 0; +#X connect 25 0 26 0; +#X connect 27 0 14 2; +#X connect 29 0 28 0; +#X connect 32 0 16 0; +#X connect 33 0 34 0; +#X connect 34 0 19 0; +#X connect 37 0 10 0; +#X connect 37 1 10 1; +#X connect 43 0 29 0; diff --git a/cauchy-help.pd b/cauchy-help.pd index a7dd6f2..75fd9e2 100644 --- a/cauchy-help.pd +++ b/cauchy-help.pd @@ -1,11 +1,22 @@ -#N canvas 438 222 487 308 12; -#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 70 192 5 0 0; -#X floatatom 185 103 5 0 0; -#X obj 70 140 cauchy 0.5; -#X text 238 104 alpha - governs spread; -#X text 39 21 cauchy :: Cauchy distributed random numbers; -#X connect 0 0 3 0; -#X connect 2 0 3 1; -#X connect 3 0 1 0; +#N canvas 0 31 487 308 12; +#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 70 192 5 0 0 0 - - -; +#X floatatom 185 103 5 0 0 0 - - -; +#X obj 70 140 cauchy 0.5; +#X text 238 104 alpha - governs spread; +#X text 39 21 cauchy :: Cauchy distributed random numbers; +#N canvas 293 158 494 344 META 0; +#X text 12 150 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 130 AUTHOR Olaf Matthes ; +#X text 12 90 INLET_1 float; +#X text 12 110 OUTLET_0 float; +#X text 12 45 DESCRIPTION Cauchy distributed random numbers; +#X text 12 5 KEYWORDS control random; +#X text 12 70 INLET_0 bang; +#X restore 425 278 pd META; +#X connect 0 0 3 0; +#X connect 2 0 3 1; +#X connect 3 0 1 0; diff --git a/chord-help.pd b/chord-help.pd index a509840..605b7d9 100644 --- a/chord-help.pd +++ b/chord-help.pd @@ -1,37 +1,52 @@ -#N canvas 291 216 458 308 12; -#X floatatom 15 276 5 0 0; -#X symbolatom 44 212 48 0 0; -#X floatatom 74 149 5 0 0; -#X floatatom 131 149 5 0 0; -#X floatatom 189 149 5 0 0; -#X floatatom 248 149 5 0 0; -#X floatatom 59 182 5 0 0; -#X text 71 276 MIDI note number of bass note; -#X text 116 175 root position (0) \, 1st inversion (1); -#X text 115 188 or 2nd inversion (2); -#X floatatom 29 249 5 0 0; -#X text 84 251 class of bass note; -#X text 231 118 list of chord notes; -#X obj 15 51 notein; -#X obj 15 86 chord 59; -#X text 90 86 <-- notes higher than 59 get ignored; -#X text 15 9 chord :: tries to detect chords; -#X text 89 232 notes in chord : chord name; -#X text 89 26 written by Olaf Matthes ; -#X text 89 44 based on code by Rober Rowe; -#X obj 74 118 unpack f f f f f f; -#X floatatom 303 149 5 0 0; -#X floatatom 362 149 5 0 0; -#X connect 13 0 14 0; -#X connect 13 1 14 1; -#X connect 14 0 0 0; -#X connect 14 1 10 0; -#X connect 14 2 1 0; -#X connect 14 3 6 0; -#X connect 14 4 20 0; -#X connect 20 0 2 0; -#X connect 20 1 3 0; -#X connect 20 2 4 0; -#X connect 20 3 5 0; -#X connect 20 4 21 0; -#X connect 20 5 22 0; +#N canvas 0 26 500 334 12; +#X floatatom 15 276 5 0 0 0 - - -; +#X symbolatom 44 212 48 0 0 0 - - -; +#X floatatom 74 149 5 0 0 0 - - -; +#X floatatom 131 149 5 0 0 0 - - -; +#X floatatom 189 149 5 0 0 0 - - -; +#X floatatom 248 149 5 0 0 0 - - -; +#X floatatom 59 182 5 0 0 0 - - -; +#X text 71 276 MIDI note number of bass note; +#X text 116 175 root position (0) \, 1st inversion (1); +#X text 115 188 or 2nd inversion (2); +#X floatatom 29 249 5 0 0 0 - - -; +#X text 84 251 class of bass note; +#X text 231 118 list of chord notes; +#X obj 15 51 notein; +#X obj 15 86 chord 59; +#X text 90 86 <-- notes higher than 59 get ignored; +#X text 15 9 chord :: tries to detect chords; +#X text 89 232 notes in chord : chord name; +#X text 89 26 written by Olaf Matthes ; +#X text 89 44 based on code by Rober Rowe; +#X obj 74 118 unpack f f f f f f; +#X floatatom 303 149 5 0 0 0 - - -; +#X floatatom 362 149 5 0 0 0 - - -; +#N canvas 293 158 494 344 META 0; +#X text 12 226 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 206 AUTHOR Olaf Matthes ; +#X text 12 86 INLET_1 float; +#X text 12 106 OUTLET_0 float; +#X text 12 45 DESCRIPTION tries to detect chords; +#X text 12 5 KEYWORDS control analysis; +#X text 12 126 OUTLET_1 float; +#X text 12 166 OUTLET_3 float; +#X text 12 146 OUTLET_2 symbol; +#X text 12 186 OUTLET_4 list; +#X text 12 66 INLET_0 float; +#X restore 435 308 pd META; +#X connect 13 0 14 0; +#X connect 13 1 14 1; +#X connect 14 0 0 0; +#X connect 14 1 10 0; +#X connect 14 2 1 0; +#X connect 14 3 6 0; +#X connect 14 4 20 0; +#X connect 20 0 2 0; +#X connect 20 1 3 0; +#X connect 20 2 4 0; +#X connect 20 3 5 0; +#X connect 20 4 21 0; +#X connect 20 5 22 0; diff --git a/delta-help.pd b/delta-help.pd index fa865e3..82048d1 100644 --- a/delta-help.pd +++ b/delta-help.pd @@ -1,20 +1,30 @@ -#N canvas 328 264 466 318 12; -#X floatatom 54 217 5 0 0; -#X floatatom 54 108 5 0 0; -#X msg 23 83 bang; -#X text 69 82 calculate and output result now; -#X obj 54 172 delta; -#X obj 54 133 * 3; -#X floatatom 127 218 5 0 0; -#X floatatom 127 109 5 0 0; -#X obj 127 134 * 3; -#X obj 127 173 delta 2; -#X text 53 259 use creation arguments to set order (1st or 2nd); -#X text 39 20 delta :: calculate 1st or 2nd order difference; -#X connect 1 0 5 0; -#X connect 2 0 4 0; -#X connect 4 0 0 0; -#X connect 5 0 4 0; -#X connect 7 0 8 0; -#X connect 8 0 9 0; -#X connect 9 0 6 0; +#N canvas 0 26 466 337 12; +#X floatatom 54 217 5 0 0 0 - - -; +#X floatatom 54 108 5 0 0 0 - - -; +#X msg 23 83 bang; +#X text 69 82 calculate and output result now; +#X obj 54 172 delta; +#X obj 54 133 * 3; +#X floatatom 127 218 5 0 0 0 - - -; +#X floatatom 127 109 5 0 0 0 - - -; +#X obj 127 134 * 3; +#X obj 127 173 delta 2; +#X text 53 242 use creation arguments to set order (1st or 2nd); +#X text 39 20 delta :: calculate 1st or 2nd order difference; +#N canvas 293 158 494 344 META 0; +#X text 12 126 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 106 AUTHOR Olaf Matthes ; +#X text 12 45 DESCRIPTION calculate 1st or 2nd order difference; +#X text 12 66 INLET_0 bang float; +#X text 12 86 OUTLET_0 float; +#X text 12 5 KEYWORDS control; +#X restore 405 303 pd META; +#X connect 1 0 5 0; +#X connect 2 0 4 0; +#X connect 4 0 0 0; +#X connect 5 0 4 0; +#X connect 7 0 8 0; +#X connect 8 0 9 0; +#X connect 9 0 6 0; diff --git a/deny-help.pd b/deny-help.pd index 9ca4a29..585c2eb 100644 --- a/deny-help.pd +++ b/deny-help.pd @@ -1,20 +1,30 @@ -#N canvas 358 305 556 310 12; -#X text 97 34 written by Olaf Matthes ; -#X msg 125 65 cat; -#X msg 147 97 dog; -#X msg 157 126 bird; -#X floatatom 82 269 5 0 0 0 - - -; -#X symbolatom 151 246 10 0 0 0 - - -; -#X obj 114 156 symbol \$1; -#X floatatom 40 81 5 0 0 0 - - -; -#X obj 82 217 route float symbol; -#X obj 82 189 deny 17 cat dog 23; -#X text 32 18 deny :: blocks 'denyed' floats or symbols; -#X connect 1 0 6 0; -#X connect 2 0 6 0; -#X connect 3 0 6 0; -#X connect 6 0 9 0; -#X connect 7 0 9 0; -#X connect 8 0 4 0; -#X connect 8 1 5 0; -#X connect 9 0 8 0; +#N canvas 0 26 437 310 12; +#X text 97 34 written by Olaf Matthes ; +#X msg 125 65 cat; +#X msg 147 97 dog; +#X msg 157 126 bird; +#X floatatom 82 269 5 0 0 0 - - -; +#X symbolatom 151 246 10 0 0 0 - - -; +#X obj 114 156 symbol \$1; +#X floatatom 40 81 5 0 0 0 - - -; +#X obj 82 217 route float symbol; +#X obj 82 189 deny 17 cat dog 23; +#N canvas 293 158 494 344 META 0; +#X text 12 126 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 106 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION blocks denied floats or symbols; +#X text 12 66 INLET_0 symbol float; +#X text 12 86 OUTLET_0 float symbol; +#X restore 375 278 pd META; +#X text 32 18 deny :: blocks denied floats or symbols; +#X connect 1 0 6 0; +#X connect 2 0 6 0; +#X connect 3 0 6 0; +#X connect 6 0 9 0; +#X connect 7 0 9 0; +#X connect 8 0 4 0; +#X connect 8 1 5 0; +#X connect 9 0 8 0; diff --git a/dist-help.pd b/dist-help.pd index 608283f..b3bf83a 100644 --- a/dist-help.pd +++ b/dist-help.pd @@ -1,36 +1,45 @@ -#N canvas 450 84 473 453 12; -#X text 33 10 dist :: send data to a list of receive objects; -#X obj 34 364 dist; -#X msg 85 127 connect bla; -#X msg 103 154 connect foo; -#X msg 131 209 disconnect bla; -#X msg 145 237 disconnect foo; -#X msg 158 295 clear; -#X obj 200 374 receive bla; -#X obj 306 374 receive foo; -#X obj 200 400 print bla; -#X obj 306 400 print foo; -#X floatatom 34 69 5 0 0; -#X msg 170 328 print; -#X msg 56 98 send anything 1 2 dog; -#X obj 34 397 d bla foo; -#X msg 122 180 connect dog cat; -#X msg 159 265 disconnect cat dog; -#X text 210 295 empty receiver list; -#X text 218 328 print list of receive names; -#X text 190 126 add 'bla' to list of receivers; -#X text 253 209 remove 'bla' from list; -#X text 238 99 send anything you want; -#X text 97 28 written by Olaf Matthes ; -#X connect 2 0 1 0; -#X connect 3 0 1 0; -#X connect 4 0 1 0; -#X connect 5 0 1 0; -#X connect 6 0 1 0; -#X connect 7 0 9 0; -#X connect 8 0 10 0; -#X connect 11 0 1 0; -#X connect 12 0 1 0; -#X connect 13 0 1 0; -#X connect 15 0 1 0; -#X connect 16 0 1 0; +#N canvas 0 26 498 441 12; +#X text 33 10 dist :: send data to a list of receive objects; +#X obj 34 364 dist; +#X msg 85 127 connect bla; +#X msg 103 154 connect foo; +#X msg 131 209 disconnect bla; +#X msg 145 237 disconnect foo; +#X msg 158 295 clear; +#X obj 200 374 receive bla; +#X obj 306 374 receive foo; +#X obj 200 400 print bla; +#X obj 306 400 print foo; +#X floatatom 34 69 5 0 0 0 - - -; +#X msg 170 328 print; +#X msg 56 98 send anything 1 2 dog; +#X obj 34 397 d bla foo; +#X msg 122 180 connect dog cat; +#X msg 159 265 disconnect cat dog; +#X text 210 295 empty receiver list; +#X text 218 328 print list of receive names; +#X text 190 126 add 'bla' to list of receivers; +#X text 253 209 remove 'bla' from list; +#X text 238 99 send anything you want; +#X text 97 28 written by Olaf Matthes ; +#N canvas 293 158 494 344 META 0; +#X text 12 105 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 85 AUTHOR Olaf Matthes ; +#X text 12 45 DESCRIPTION send data to a list of receive objects; +#X text 12 5 KEYWORDS control nonlocal; +#X text 12 65 INLET_0 float send connect disconnect clear print; +#X restore 435 413 pd META; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 4 0 1 0; +#X connect 5 0 1 0; +#X connect 6 0 1 0; +#X connect 7 0 9 0; +#X connect 8 0 10 0; +#X connect 11 0 1 0; +#X connect 12 0 1 0; +#X connect 13 0 1 0; +#X connect 15 0 1 0; +#X connect 16 0 1 0; diff --git a/divide-help.pd b/divide-help.pd index a0aea04..8b38b9e 100644 --- a/divide-help.pd +++ b/divide-help.pd @@ -1,18 +1,31 @@ -#N canvas 328 264 466 318 12; -#X floatatom 54 217 5 0 0; -#X floatatom 54 132 5 0 0; -#X floatatom 108 132 5 0 0; -#X text 39 20 divide :: like '/' but calculates result; -#X text 133 204 use creation arguments to set initial; -#X text 133 220 values for inlets; -#X msg 7 104 bang; -#X text 53 103 calculate and output result now; -#X obj 54 172 divide 8 6 4; -#X text 118 58 allows for up to 32 inlets; -#X floatatom 164 132 5 0 0; -#X text 120 38 when leftmost or second inlet is changed; -#X connect 1 0 8 0; -#X connect 2 0 8 1; -#X connect 6 0 8 0; -#X connect 8 0 0 0; -#X connect 10 0 8 2; +#N canvas 0 26 466 318 12; +#X floatatom 54 217 5 0 0 0 - - -; +#X floatatom 54 132 5 0 0 0 - - -; +#X floatatom 108 132 5 0 0 0 - - -; +#X text 39 20 divide :: like '/' but calculates result; +#X text 133 204 use creation arguments to set initial; +#X text 133 220 values for inlets; +#X msg 7 104 bang; +#X text 53 103 calculate and output result now; +#X obj 54 172 divide 8 6 4; +#X text 118 58 allows for up to 32 inlets; +#X floatatom 164 132 5 0 0 0 - - -; +#X text 120 38 when leftmost or second inlet is changed; +#N canvas 293 158 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 165 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control nonlocal; +#X text 12 45 DESCRIPTION like '/' but calculates result when leftmost +or second inlet is changed; +#X text 12 85 INLET_0 bang float; +#X text 12 105 INLET_1 float; +#X text 12 125 INLET_N float; +#X text 12 145 OUTLET_0 float; +#X restore 395 283 pd META; +#X connect 1 0 8 0; +#X connect 2 0 8 1; +#X connect 6 0 8 0; +#X connect 8 0 0 0; +#X connect 10 0 8 2; diff --git a/divmod-help.pd b/divmod-help.pd index 5e0018b..9a3060f 100644 --- a/divmod-help.pd +++ b/divmod-help.pd @@ -1,20 +1,33 @@ -#N canvas 328 264 464 316 12; -#X floatatom 54 239 5 0 0; -#X floatatom 54 127 5 0 0; -#X floatatom 129 127 5 0 0; -#X obj 54 172 divmod 8 6; -#X text 146 170 use creation arguments to set initial; -#X text 146 186 values for inlets; -#X msg 23 83 bang; -#X text 69 82 calculate and output result now; -#X floatatom 129 219 5 0 0; -#X text 182 222 modulo; -#X text 106 242 result of division; -#X text 186 127 takes int's only!; -#X text 12 19 divmod :: calculate division and modulo; -#X text 92 35 outputs results even when right inlet changes; -#X connect 1 0 3 0; -#X connect 2 0 3 1; -#X connect 3 0 0 0; -#X connect 3 1 8 0; -#X connect 6 0 3 0; +#N canvas 0 26 464 316 12; +#X floatatom 54 239 5 0 0 0 - - -; +#X floatatom 54 127 5 0 0 0 - - -; +#X floatatom 129 127 5 0 0 0 - - -; +#X obj 54 172 divmod 8 6; +#X text 146 170 use creation arguments to set initial; +#X text 146 186 values for inlets; +#X msg 23 83 bang; +#X text 69 82 calculate and output result now; +#X floatatom 129 219 5 0 0 0 - - -; +#X text 182 222 modulo; +#X text 106 242 result of division; +#X text 186 127 takes int's only!; +#X text 12 19 divmod :: calculate division and modulo; +#X text 92 35 outputs results even when right inlet changes; +#N canvas 293 158 494 344 META 0; +#X text 12 175 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 155 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control nonlocal; +#X text 12 75 INLET_0 bang float; +#X text 12 95 INLET_1 float; +#X text 12 115 OUTLET_0 float; +#X text 12 45 DESCRIPTION calculate division and modulo outputs results +even when right inlet changes; +#X text 12 135 OUTLET_1 float; +#X restore 395 283 pd META; +#X connect 1 0 3 0; +#X connect 2 0 3 1; +#X connect 3 0 0 0; +#X connect 3 1 8 0; +#X connect 6 0 3 0; diff --git a/edge-help.pd b/edge-help.pd index ce85dfb..fd4dca0 100644 --- a/edge-help.pd +++ b/edge-help.pd @@ -1,17 +1,28 @@ -#N canvas 258 208 452 302 12; -#X obj 100 154 edge; -#X obj 100 215 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 127 186 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X text 156 186 falling edge detected; -#X text 128 216 rising edge detected; -#X text 31 16 edge :: detect rising or falling edge in floats; -#X floatatom 126 111 5 0 0; -#X obj 100 79 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X text 94 35 written by ; -#X connect 0 0 1 0; -#X connect 0 1 2 0; -#X connect 6 0 0 0; -#X connect 7 0 0 0; +#N canvas 0 26 452 302 12; +#X obj 100 154 edge; +#X obj 100 215 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 127 186 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 156 186 falling edge detected; +#X text 128 216 rising edge detected; +#X text 31 16 edge :: detect rising or falling edge in floats; +#X floatatom 126 111 5 0 0 0 - - -; +#X obj 100 79 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X text 94 35 written by ; +#N canvas 293 158 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 125 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control analysis; +#X text 12 45 DESCRIPTION detect rising or falling edge in floats; +#X text 12 65 INLET_0 float; +#X text 12 85 OUTLET_0 bang; +#X text 12 105 OUTLET_1 bang; +#X restore 385 273 pd META; +#X connect 0 0 1 0; +#X connect 0 1 2 0; +#X connect 6 0 0 0; +#X connect 7 0 0 0; diff --git a/expo-help.pd b/expo-help.pd index 922cf4c..c824425 100644 --- a/expo-help.pd +++ b/expo-help.pd @@ -1,12 +1,23 @@ -#N canvas 370 195 454 304 12; -#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 70 192 5 0 0; -#X text 13 20 expo :: exponetionally distributed random numbers -; -#X obj 70 140 expo 0.5; -#X floatatom 169 101 5 0 0; -#X text 222 103 lambda; -#X connect 0 0 3 0; -#X connect 3 0 1 0; -#X connect 4 0 3 1; +#N canvas 0 26 443 294 12; +#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 70 192 5 0 0 0 - - -; +#X obj 70 140 expo 0.5; +#X floatatom 169 101 5 0 0 0 - - -; +#X text 222 103 lambda; +#X text 13 20 expo :: exponetionally distributed random numbers; +#N canvas 293 158 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 125 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control random; +#X text 12 45 DESCRIPTION exponetionally distributed random numbers +; +#X text 12 65 INLET_0 bang; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X restore 375 263 pd META; +#X connect 0 0 2 0; +#X connect 2 0 1 0; +#X connect 3 0 2 1; diff --git a/fifo-help.pd b/fifo-help.pd index 581a7b7..127507d 100644 --- a/fifo-help.pd +++ b/fifo-help.pd @@ -1,13 +1,23 @@ -#N canvas 356 196 452 302 12; -#X obj 38 176 fifo 10; -#X floatatom 38 231 5 0 0; -#X floatatom 61 132 5 0 0; -#X msg 38 98 bang; -#X text 83 98 hit to get next number; -#X text 111 176 fifo ; -#X text 92 233 output of fifo; -#X text 42 14 fifo :: first in first out buffer for floats; -#X text 105 32 written for Max by St. Rainstick; -#X connect 0 0 1 0; -#X connect 2 0 0 0; -#X connect 3 0 0 0; +#N canvas 0 26 452 302 12; +#X obj 38 176 fifo 10; +#X floatatom 38 231 5 0 0 0 - - -; +#X floatatom 61 132 5 0 0 0 - - -; +#X msg 38 98 bang; +#X text 83 98 hit to get next number; +#X text 111 176 fifo ; +#X text 92 233 output of fifo; +#X text 42 14 fifo :: first in first out buffer for floats; +#X text 105 32 written for Max by St. Rainstick; +#N canvas 293 158 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Olaf Matthes ; +#X text 12 85 OUTLET_0 float; +#X text 12 45 DESCRIPTION first in first out buffer for floats; +#X text 12 5 KEYWORDS control storage; +#X text 12 65 INLET_0 bang float; +#X restore 385 268 pd META; +#X connect 0 0 1 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; diff --git a/gauss-help.pd b/gauss-help.pd index c4dce4b..ab710c1 100644 --- a/gauss-help.pd +++ b/gauss-help.pd @@ -1,14 +1,26 @@ -#N canvas 438 222 487 308 12; -#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 70 192 5 0 0; -#X floatatom 123 91 5 0 0; -#X obj 70 140 gauss 1 0; -#X floatatom 177 113 5 0 0; -#X text 39 21 gauss :: Gauss distributed random numbers; -#X text 176 92 sigma - standard deviation; -#X text 230 114 mu - mean; -#X connect 0 0 3 0; -#X connect 2 0 3 1; -#X connect 3 0 1 0; -#X connect 4 0 3 2; +#N canvas 0 26 487 308 12; +#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 70 192 5 0 0 0 - - -; +#X floatatom 123 91 5 0 0 0 - - -; +#X obj 70 140 gauss 1 0; +#X floatatom 177 113 5 0 0 0 - - -; +#X text 39 21 gauss :: Gauss distributed random numbers; +#X text 176 92 sigma - standard deviation; +#X text 230 114 mu - mean; +#N canvas 288 227 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 145 AUTHOR Olaf Matthes ; +#X text 12 125 OUTLET_0 float; +#X text 12 45 DESCRIPTION Gauss distributed random numbers; +#X text 12 5 KEYWORDS control random; +#X text 12 65 INLET_0 bang; +#X text 12 85 INLET_1 float; +#X text 12 105 INLET_2 float; +#X restore 425 278 pd META; +#X connect 0 0 3 0; +#X connect 2 0 3 1; +#X connect 3 0 1 0; +#X connect 4 0 3 2; diff --git a/gestalt-help.pd b/gestalt-help.pd index acf09cc..d453668 100644 --- a/gestalt-help.pd +++ b/gestalt-help.pd @@ -1,51 +1,64 @@ -#N canvas 323 155 599 396 12; -#X text 137 8 gestalt :: gestalt detection for monophonic melodies -; -#X floatatom 58 332 5 0 0; -#X obj 58 176 makenote 100 100; -#X obj 58 53 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 -; -#X obj 58 76 metro 100; -#X obj 58 100 random 24; -#X obj 58 124 + 60; -#X obj 58 278 gestalt 100; -#X obj 142 100 random 24; -#X obj 142 124 select 0; -#X msg 201 146 100; -#X msg 142 146 400; -#X floatatom 68 154 5 0 0; -#X text 160 282 CREATION ARGUMENT: reference time; -#X obj 219 220 beat; -#X floatatom 232 245 5 0 0; -#X text 87 54 click to play random melody; -#X text 112 350 one could use 'tilt' to detect abrupt changes that -; -#X text 112 367 indicate the start of a new segment; -#X text 111 332 the higher the output the more the gestalt changes -\;; -#X text 161 298 i.e. time in ms expected to be the duration of the -; -#X text 161 314 shortest note (also setable via rightmost inlet); -#X text 281 200 use 'beat' (maxlib) to get the real; -#X text 281 217 reference time from input \, especially; -#X text 282 234 when using; -#X obj 372 235 notein; -#X text 225 26 written by ; -#X connect 2 0 7 0; -#X connect 2 0 14 0; -#X connect 2 1 7 1; -#X connect 2 1 14 1; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 4 0 8 0; -#X connect 5 0 6 0; -#X connect 6 0 2 0; -#X connect 6 0 12 0; -#X connect 7 0 1 0; -#X connect 8 0 9 0; -#X connect 9 0 11 0; -#X connect 9 1 10 0; -#X connect 10 0 2 2; -#X connect 11 0 2 2; -#X connect 14 1 15 0; -#X connect 14 1 7 2; +#N canvas 0 26 599 416 12; +#X text 137 8 gestalt :: gestalt detection for monophonic melodies +; +#X floatatom 58 332 5 0 0 0 - - -; +#X obj 58 176 makenote 100 100; +#X obj 58 53 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj 58 76 metro 100; +#X obj 58 100 random 24; +#X obj 58 124 + 60; +#X obj 58 278 gestalt 100; +#X obj 142 100 random 24; +#X obj 142 124 select 0; +#X msg 201 146 100; +#X msg 142 146 400; +#X floatatom 68 154 5 0 0 0 - - -; +#X text 160 282 CREATION ARGUMENT: reference time; +#X obj 219 220 beat; +#X floatatom 232 245 5 0 0 0 - - -; +#X text 87 54 click to play random melody; +#X text 112 350 one could use 'tilt' to detect abrupt changes that +; +#X text 112 367 indicate the start of a new segment; +#X text 111 332 the higher the output the more the gestalt changes +\;; +#X text 161 298 i.e. time in ms expected to be the duration of the +; +#X text 161 314 shortest note (also setable via rightmost inlet); +#X text 281 200 use 'beat' (maxlib) to get the real; +#X text 281 217 reference time from input \, especially; +#X text 282 234 when using; +#X obj 372 235 notein; +#X text 225 26 written by ; +#N canvas 288 227 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 145 AUTHOR Olaf Matthes ; +#X text 12 125 OUTLET_0 float; +#X text 12 85 INLET_1 float; +#X text 12 105 INLET_2 float; +#X text 12 5 KEYWORDS control analysis MIDI; +#X text 12 45 DESCRIPTION gestalt detection for monophonic melodies +; +#X text 12 65 INLET_0 float; +#X restore 535 386 pd META; +#X connect 2 0 7 0; +#X connect 2 0 14 0; +#X connect 2 1 7 1; +#X connect 2 1 14 1; +#X connect 3 0 4 0; +#X connect 4 0 5 0; +#X connect 4 0 8 0; +#X connect 5 0 6 0; +#X connect 6 0 2 0; +#X connect 6 0 12 0; +#X connect 7 0 1 0; +#X connect 8 0 9 0; +#X connect 9 0 11 0; +#X connect 9 1 10 0; +#X connect 10 0 2 2; +#X connect 11 0 2 2; +#X connect 14 1 15 0; +#X connect 14 1 7 2; diff --git a/history-help.pd b/history-help.pd index acd1bc8..b11db0e 100644 --- a/history-help.pd +++ b/history-help.pd @@ -1,30 +1,43 @@ -#N canvas 445 253 480 330 12; -#X floatatom 32 49 5 0 0; -#X floatatom 32 286 5 0 0; -#X floatatom 115 201 5 0 0; -#X floatatom 115 264 5 0 0; -#X text 169 265 tendency (up = 1 \, down = -1); -#X msg 85 70 reset; -#X text 137 71 forget everything; -#X msg 114 104 linear; -#X msg 132 128 geometric; -#X text 176 103 linear average (dafault); -#X text 215 129 geometric average; -#X msg 143 156 weight; -#X text 203 173 items higher weight); -#X text 124 6 history :: calculates the average of the; -#X text 212 23 items (floats) that came in; -#X obj 32 229 history 250; -#X text 202 157 weighted average (giving newer; -#X text 130 229 creation argument = ms to look back; -#X text 171 201 milliseconds to look back; -#X text 214 40 within the last N milliseconds; -#X text 90 287 average over last N milliseconds; -#X connect 0 0 15 0; -#X connect 2 0 15 1; -#X connect 5 0 15 0; -#X connect 7 0 15 0; -#X connect 8 0 15 0; -#X connect 11 0 15 0; -#X connect 15 0 1 0; -#X connect 15 1 3 0; +#N canvas 0 26 471 342 12; +#X floatatom 32 49 5 0 0 0 - - -; +#X floatatom 32 286 5 0 0 0 - - -; +#X floatatom 115 201 5 0 0 0 - - -; +#X floatatom 115 264 5 0 0 0 - - -; +#X text 169 265 tendency (up = 1 \, down = -1); +#X msg 85 70 reset; +#X text 137 71 forget everything; +#X msg 114 104 linear; +#X msg 132 128 geometric; +#X text 176 103 linear average (dafault); +#X text 215 129 geometric average; +#X msg 143 156 weight; +#X text 203 173 items higher weight); +#X text 124 6 history :: calculates the average of the; +#X text 212 23 items (floats) that came in; +#X obj 32 229 history 250; +#X text 202 157 weighted average (giving newer; +#X text 130 229 creation argument = ms to look back; +#X text 171 201 milliseconds to look back; +#X text 214 40 within the last N milliseconds; +#X text 90 287 average over last N milliseconds; +#N canvas 481 26 494 344 META 0; +#X text 12 180 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 160 AUTHOR Olaf Matthes ; +#X text 12 100 INLET_1 float; +#X text 12 5 KEYWORDS control analysis; +#X text 12 45 DESCRIPTION calculates the average of the floats that +came in within the last N milliseconds; +#X text 12 80 INLET_0 float reset linear geometric weight; +#X text 12 120 OUTLET_0 float; +#X text 12 140 OUTLET_1 float; +#X restore 412 314 pd META; +#X connect 0 0 15 0; +#X connect 2 0 15 1; +#X connect 5 0 15 0; +#X connect 7 0 15 0; +#X connect 8 0 15 0; +#X connect 11 0 15 0; +#X connect 15 0 1 0; +#X connect 15 1 3 0; diff --git a/ignore-help.pd b/ignore-help.pd index fc6314a..97680c5 100644 --- a/ignore-help.pd +++ b/ignore-help.pd @@ -1,15 +1,27 @@ -#N canvas 445 253 464 314 12; -#X floatatom 47 107 5 0 0; -#X floatatom 47 225 5 0 0; -#X text 122 197 creation argument = time in ms; -#X floatatom 122 136 5 0 0; -#X obj 47 167 ignore 500; -#X text 177 136 time in ms a value has to; -#X text 178 152 be present in order to get through; -#X text 75 24 ignore :: lets information through; -#X text 154 41 only when it was presente; -#X text 155 59 at input longer than N ms; -#X text 73 258 note: input gets delayed by N milliseconds; -#X connect 0 0 4 0; -#X connect 3 0 4 1; -#X connect 4 0 1 0; +#N canvas 0 26 464 328 12; +#X floatatom 47 107 5 0 0 0 - - -; +#X floatatom 47 225 5 0 0 0 - - -; +#X text 122 197 creation argument = time in ms; +#X floatatom 122 136 5 0 0 0 - - -; +#X obj 47 167 ignore 500; +#X text 177 136 time in ms a value has to; +#X text 178 152 be present in order to get through; +#X text 75 24 ignore :: lets information through; +#X text 155 59 at input longer than N ms; +#X text 73 258 note: input gets delayed by N milliseconds; +#N canvas 481 26 494 344 META 0; +#X text 12 160 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 140 AUTHOR Olaf Matthes ; +#X text 12 100 INLET_1 float; +#X text 12 120 OUTLET_0 float; +#X text 12 5 KEYWORDS control filter; +#X text 12 45 DESCRIPTION lets information through only when it was +present at input longer than N ms; +#X text 12 80 INLET_0 float; +#X restore 392 294 pd META; +#X text 154 41 only when it was present; +#X connect 0 0 4 0; +#X connect 3 0 4 1; +#X connect 4 0 1 0; diff --git a/iso-help.pd b/iso-help.pd index 79559ab..48dfa00 100644 --- a/iso-help.pd +++ b/iso-help.pd @@ -1,54 +1,69 @@ -#N canvas 438 64 464 535 12; -#X obj 16 407 iso; -#X floatatom 16 434 5 0 0; -#X floatatom 69 434 10 0 0; -#X msg 72 156 bang; -#X msg 96 207 stop; -#X msg 106 233 pause; -#X msg 117 259 resume; -#X msg 128 285 loop; -#X msg 139 311 unloop; -#X text 214 100 list of pitches; -#X text 273 129 list of attacks [ms]; -#X text 170 284 turn loopin back on; -#X text 198 309 turn looping off; -#X obj 16 460 makenote 0 100; -#X obj 16 487 noteout; -#X text 112 156 start from beginning; -#X text 149 183 start at item specyfied; -#X text 281 145 (inter-note onsets); -#X text 88 45 ported to Pd by Olaf Matthes; -#X text 216 337 global time multiplier; -#X text 163 435 duration in ms; -#X msg 152 337 hook 2; -#X msg 161 368 duty 1.5; -#X text 234 369 duration multiplier; -#X obj 16 69 loadbang; -#X msg 82 182 start 4; -#X text 251 350 (speed adjustment); -#X text 237 389 duty < 1 - staccato; -#X text 237 404 duty > 1 - legato; -#X text 169 198 (item count starts with 0); -#X text 88 26 written for Max by Charlie Baker; -#X text 31 6 iso :: queues up lists of pitches and attack points; -#X msg 16 100 60 61 62 66 67 68 69 70; -#X msg 35 128 240 10 500 375 15 15 375 500; -#X connect 0 0 1 0; -#X connect 0 1 2 0; -#X connect 1 0 13 0; -#X connect 2 0 13 1; -#X connect 3 0 0 0; -#X connect 4 0 0 0; -#X connect 5 0 0 0; -#X connect 6 0 0 0; -#X connect 7 0 0 0; -#X connect 8 0 0 0; -#X connect 13 0 14 0; -#X connect 13 1 14 1; -#X connect 21 0 0 0; -#X connect 22 0 0 0; -#X connect 24 0 32 0; -#X connect 24 0 33 0; -#X connect 25 0 0 0; -#X connect 32 0 0 0; -#X connect 33 0 0 1; +#N canvas 0 26 464 535 12; +#X obj 16 407 iso; +#X floatatom 16 434 5 0 0 0 - - -; +#X floatatom 69 434 10 0 0 0 - - -; +#X msg 72 156 bang; +#X msg 96 207 stop; +#X msg 106 233 pause; +#X msg 117 259 resume; +#X msg 128 285 loop; +#X msg 139 311 unloop; +#X text 214 100 list of pitches; +#X text 273 129 list of attacks [ms]; +#X text 170 284 turn loopin back on; +#X text 198 309 turn looping off; +#X obj 16 460 makenote 0 100; +#X obj 16 487 noteout; +#X text 112 156 start from beginning; +#X text 149 183 start at item specyfied; +#X text 281 145 (inter-note onsets); +#X text 88 45 ported to Pd by Olaf Matthes; +#X text 216 337 global time multiplier; +#X text 163 435 duration in ms; +#X msg 152 337 hook 2; +#X msg 161 368 duty 1.5; +#X text 234 369 duration multiplier; +#X obj 16 69 loadbang; +#X msg 82 182 start 4; +#X text 251 350 (speed adjustment); +#X text 237 389 duty < 1 - staccato; +#X text 237 404 duty > 1 - legato; +#X text 169 198 (item count starts with 0); +#X text 88 26 written for Max by Charlie Baker; +#X text 31 6 iso :: queues up lists of pitches and attack points; +#X msg 16 100 60 61 62 66 67 68 69 70; +#X msg 35 128 240 10 500 375 15 15 375 500; +#N canvas 474 26 494 344 META 0; +#X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 125 OUTLET_0 float; +#X text 12 45 DESCRIPTION queues up lists of pitches and attack points +; +#X text 12 165 AUTHOR written for Max by Charlie Baker \, ported to +Pd by Olaf Matthes ; +#X text 12 65 INLET_0 list bang start stop pause resume loop unloop +hook duty; +#X text 12 105 INLET_1 list; +#X text 12 145 OUTLET_1 float; +#X text 12 5 KEYWORDS control; +#X restore 402 504 pd META; +#X connect 0 0 1 0; +#X connect 0 1 2 0; +#X connect 1 0 13 0; +#X connect 2 0 13 1; +#X connect 3 0 0 0; +#X connect 4 0 0 0; +#X connect 5 0 0 0; +#X connect 6 0 0 0; +#X connect 7 0 0 0; +#X connect 8 0 0 0; +#X connect 13 0 14 0; +#X connect 13 1 14 1; +#X connect 21 0 0 0; +#X connect 22 0 0 0; +#X connect 24 0 32 0; +#X connect 24 0 33 0; +#X connect 25 0 0 0; +#X connect 32 0 0 0; +#X connect 33 0 0 1; diff --git a/lifo-help.pd b/lifo-help.pd index c5ec758..8aa87a4 100644 --- a/lifo-help.pd +++ b/lifo-help.pd @@ -1,16 +1,27 @@ -#N canvas 356 196 454 304 12; -#X obj 38 176 lifo 10; -#X floatatom 38 231 5 0 0; -#X floatatom 61 110 5 0 0; -#X msg 38 76 bang; -#X text 83 76 hit to get next number; -#X text 111 176 lifo ; -#X text 42 14 lifo :: last in first out buffer for floats; -#X text 108 33 written for Max by St. Rainstick; -#X msg 76 140 clear; -#X text 127 139 clear buffer; -#X text 92 233 output of buffer; -#X connect 0 0 1 0; -#X connect 2 0 0 0; -#X connect 3 0 0 0; -#X connect 8 0 0 0; +#N canvas 0 26 386 286 12; +#X obj 38 176 lifo 10; +#X floatatom 38 231 5 0 0 0 - - -; +#X floatatom 61 110 5 0 0 0 - - -; +#X msg 38 76 bang; +#X text 83 76 hit to get next number; +#X text 111 176 lifo ; +#X text 42 14 lifo :: last in first out buffer for floats; +#X text 108 33 written for Max by St. Rainstick; +#X msg 76 140 clear; +#X text 127 139 clear buffer; +#X text 92 233 output of buffer; +#N canvas 396 26 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 45 DESCRIPTION last in first out buffer for floats; +#X text 12 5 KEYWORDS control storage; +#X text 12 65 INLET_0 bang float clear; +#X text 12 85 OUTLET_0 float; +#X text 12 105 AUTHOR written for Max by St. Rainstick \, ported to +Pd by Olaf Matthes ; +#X restore 322 254 pd META; +#X connect 0 0 1 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 8 0 0 0; diff --git a/limit-help.pd b/limit-help.pd index 4ee74da..10817b5 100644 --- a/limit-help.pd +++ b/limit-help.pd @@ -1,25 +1,39 @@ -#N canvas 328 32 558 365 12; -#X floatatom 27 277 8 0 0; -#X floatatom 27 73 5 0 0; -#X text 215 46 written by ; -#X floatatom 54 131 5 0 0; -#X floatatom 82 152 5 0 0; -#X floatatom 110 173 5 0 0; -#X text 84 71 input value; -#X text 57 104 creation arguments can be changed dynamically:; -#X obj 27 249 limit 0 9 5; -#X text 35 316 creation arguments:; -#X text 170 172 0 = limit \, others: compression ratio; -#X text 35 340 limit ; -#X text 324 195 values between 0 and 1; -#X text 325 213 result in expansion !; -#X text 106 278 limited / compressed output value; -#X text 141 11 limit :: limits input to lie between boundaries; -#X text 213 27 allows for compression / expansion; -#X text 114 129 lower boundary; -#X text 144 151 upper boundary; -#X connect 1 0 8 0; -#X connect 3 0 8 1; -#X connect 4 0 8 2; -#X connect 5 0 8 3; -#X connect 8 0 0 0; +#N canvas 0 26 510 365 12; +#X floatatom 27 277 8 0 0 0 - - -; +#X floatatom 27 73 5 0 0 0 - - -; +#X text 215 46 written by ; +#X floatatom 54 131 5 0 0 0 - - -; +#X floatatom 82 152 5 0 0 0 - - -; +#X floatatom 110 173 5 0 0 0 - - -; +#X text 84 71 input value; +#X text 57 104 creation arguments can be changed dynamically:; +#X obj 27 249 limit 0 9 5; +#X text 35 316 creation arguments:; +#X text 170 172 0 = limit \, others: compression ratio; +#X text 35 340 limit ; +#X text 324 195 values between 0 and 1; +#X text 325 213 result in expansion !; +#X text 106 278 limited / compressed output value; +#X text 141 11 limit :: limits input to lie between boundaries; +#X text 213 27 allows for compression / expansion; +#X text 114 129 lower boundary; +#X text 144 151 upper boundary; +#N canvas 520 26 494 344 META 0; +#X text 12 225 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 165 OUTLET_0 float; +#X text 12 5 KEYWORDS control filter; +#X text 12 45 DESCRIPTION limits input to lie between boundaries and +allows for compression / expansion; +#X text 12 85 INLET_0 float; +#X text 12 105 INLET_1 float; +#X text 12 125 INLET_2 float; +#X text 12 145 INLET_3 float; +#X text 12 185 AUTHOR Olaf Matthes ; +#X restore 442 334 pd META; +#X connect 1 0 8 0; +#X connect 3 0 8 1; +#X connect 4 0 8 2; +#X connect 5 0 8 3; +#X connect 8 0 0 0; diff --git a/linear-help.pd b/linear-help.pd index adcf043..0723e34 100644 --- a/linear-help.pd +++ b/linear-help.pd @@ -1,8 +1,18 @@ -#N canvas 206 71 452 302 12; -#X obj 70 140 linear; -#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 70 192 5 0 0; -#X text 23 20 linear :: linearly distributed random numbers; -#X connect 0 0 2 0; -#X connect 1 0 0 0; +#N canvas 0 26 357 302 12; +#X obj 70 140 linear; +#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 70 192 5 0 0 0 - - -; +#X text 23 20 linear :: linearly distributed random numbers; +#N canvas 293 158 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Olaf Matthes ; +#X text 12 85 OUTLET_0 float; +#X text 12 45 DESCRIPTION linearly distributed random numbers; +#X text 12 5 KEYWORDS control random; +#X text 12 65 INLET_0 bang; +#X restore 295 273 pd META; +#X connect 0 0 2 0; +#X connect 1 0 0 0; diff --git a/listfifo-help.pd b/listfifo-help.pd index a40a609..125561f 100644 --- a/listfifo-help.pd +++ b/listfifo-help.pd @@ -1,26 +1,36 @@ -#N canvas 476 153 456 307 12; -#X floatatom 104 231 5 0 0 0 - - -; -#X msg 38 46 bang; -#X text 146 152 fifo ; -#X obj 38 152 listfifo 10; -#X text 42 14 listfifo :: first in first out buffer for lists; -#X obj 104 187 unpack f f; -#X floatatom 179 230 5 0 0 0 - - -; -#X obj 38 263 print listfifo_output; -#X text 204 185 output of listfifo; -#X msg 66 76 17.3 23; -#X obj 166 101 pack f f; -#X floatatom 166 70 5 0 0 0 - - -; -#X floatatom 225 70 5 0 0 0 - - -; -#X msg 84 125 \$1 \$2; -#X text 83 46 hit to get next number out of the fifo; -#X connect 1 0 3 0; -#X connect 3 0 5 0; -#X connect 3 0 7 0; -#X connect 5 0 0 0; -#X connect 5 1 6 0; -#X connect 9 0 3 0; -#X connect 10 0 13 0; -#X connect 11 0 10 0; -#X connect 12 0 10 1; -#X connect 13 0 3 0; +#N canvas 2 26 456 307 12; +#X floatatom 104 231 5 0 0 0 - - -; +#X msg 38 46 bang; +#X text 146 152 fifo ; +#X obj 38 152 listfifo 10; +#X text 42 14 listfifo :: first in first out buffer for lists; +#X obj 104 187 unpack f f; +#X floatatom 179 230 5 0 0 0 - - -; +#X obj 38 263 print listfifo_output; +#X text 204 185 output of listfifo; +#X msg 66 76 17.3 23; +#X obj 166 101 pack f f; +#X floatatom 166 70 5 0 0 0 - - -; +#X floatatom 225 70 5 0 0 0 - - -; +#X msg 84 125 \$1 \$2; +#X text 83 46 hit to get next number out of the fifo; +#N canvas 293 158 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control storage list_op; +#X text 12 45 DESCRIPTION first in first out buffer for lists; +#X text 12 65 INLET_0 bang list; +#X text 12 85 OUTLET_0 list; +#X restore 395 273 pd META; +#X connect 1 0 3 0; +#X connect 3 0 5 0; +#X connect 3 0 7 0; +#X connect 5 0 0 0; +#X connect 5 1 6 0; +#X connect 9 0 3 0; +#X connect 10 0 13 0; +#X connect 11 0 10 0; +#X connect 12 0 10 1; +#X connect 13 0 3 0; diff --git a/listfunnel-help.pd b/listfunnel-help.pd index 2d309a8..bbf440d 100644 --- a/listfunnel-help.pd +++ b/listfunnel-help.pd @@ -1,21 +1,32 @@ -#N canvas 280 185 452 302 12; -#X obj 47 160 listfunnel; -#X floatatom 47 89 5 0 0; -#X obj 47 219 unpack f f; -#X floatatom 47 244 5 0 0; -#X floatatom 122 246 5 0 0; -#X obj 61 194 print listfunnel; -#X msg 73 114 17.3 23 147 11; -#X text 37 23 listfunnel :: send values out as a list with; -#X text 149 38 source index; -#X text 149 55 based on code found on the web; -#X msg 210 113 99 \$1 12; -#X floatatom 210 86 5 0 0; -#X connect 0 0 2 0; -#X connect 0 0 5 0; -#X connect 1 0 0 0; -#X connect 2 0 3 0; -#X connect 2 1 4 0; -#X connect 6 0 0 0; -#X connect 10 0 0 0; -#X connect 11 0 10 0; +#N canvas 0 26 452 302 12; +#X obj 47 160 listfunnel; +#X floatatom 47 89 5 0 0 0 - - -; +#X obj 47 219 unpack f f; +#X floatatom 47 244 5 0 0 0 - - -; +#X floatatom 122 246 5 0 0 0 - - -; +#X obj 61 194 print listfunnel; +#X msg 73 114 17.3 23 147 11; +#X text 37 23 listfunnel :: send values out as a list with; +#X text 149 38 source index; +#X text 149 55 based on code found on the web; +#X msg 210 113 99 \$1 12; +#X floatatom 210 86 5 0 0 0 - - -; +#N canvas 399 175 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Olaf Matthes ; +#X text 12 85 OUTLET_0 list; +#X text 12 5 KEYWORDS control list_op; +#X text 12 45 DESCRIPTION send values out as a list with source index +; +#X text 12 65 INLET_0 float list; +#X restore 386 264 pd META; +#X connect 0 0 5 0; +#X connect 0 0 2 0; +#X connect 1 0 0 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 6 0 0 0; +#X connect 10 0 0 0; +#X connect 11 0 10 0; diff --git a/match-help.pd b/match-help.pd index 8d2fbd7..575cb80 100644 --- a/match-help.pd +++ b/match-help.pd @@ -1,68 +1,79 @@ -#N canvas 90 142 874 407 12; -#X obj 50 350 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X msg 148 212 reset; -#X obj 50 95 random 5; -#X msg 50 5 0; -#X msg 65 32 1; -#X obj 50 65 metro 100; -#X text 203 212 reset internal data storage; -#X text 182 26 input values matches the creation; -#X text 183 42 arguments; -#X text 185 82 this can be changed in the sources !; -#X text 83 351 <-- 'bang' when input matches arguments; -#X obj 62 122 hdl 20 1 0 5 empty empty empty 0 -6 0 8 -262144 -1 -1 -0; -#X floatatom 50 154 5 0 0; -#X text 228 229 -> forget all old values; -#X obj 50 243 match 3 4; -#X floatatom 81 325 5 0 0; -#X floatatom 156 324 5 0 0; -#X obj 81 294 unpack f f; -#X text 111 11 match :: outputs a list when a list of; -#X msg 93 178 1 3 4 7; -#X msg 160 178 1 2 4 5; -#X text 230 179 send a list of floats; -#X symbolatom 688 312 10 0 0; -#X symbolatom 616 336 10 0 0; -#X symbolatom 581 356 10 0 0; -#X obj 540 349 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 540 244 match dog bytes 2 cats; -#X msg 553 186 dog bytes 2 cats; -#X msg 564 214 cat bytes 2 dogs; -#X text 384 114 same works for symbols and mixtures of floats and symbols: -; -#X obj 581 285 unpack s s f s; -#X floatatom 635 313 5 0 0; -#X text 89 271 sends out the list when a match is found; -#X msg 459 151 dog; -#X msg 494 143 cats; -#X msg 519 170 2; -#X msg 471 195 bytes; -#X text 183 68 a maximum of 16 arguments is allowed; -#X connect 1 0 14 0; -#X connect 2 0 12 0; -#X connect 3 0 5 0; -#X connect 4 0 5 0; -#X connect 5 0 2 0; -#X connect 11 0 12 0; -#X connect 12 0 14 0; -#X connect 14 0 0 0; -#X connect 14 0 17 0; -#X connect 17 0 15 0; -#X connect 17 1 16 0; -#X connect 19 0 14 0; -#X connect 20 0 14 0; -#X connect 26 0 25 0; -#X connect 26 0 30 0; -#X connect 27 0 26 0; -#X connect 28 0 26 0; -#X connect 30 0 24 0; -#X connect 30 1 23 0; -#X connect 30 2 31 0; -#X connect 30 3 22 0; -#X connect 33 0 26 0; -#X connect 34 0 26 0; -#X connect 35 0 26 0; -#X connect 36 0 26 0; +#N canvas 0 26 828 407 12; +#X obj 50 350 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 148 212 reset; +#X obj 50 95 random 5; +#X msg 50 5 0; +#X msg 65 32 1; +#X obj 50 65 metro 100; +#X text 203 212 reset internal data storage; +#X text 182 26 input values matches the creation; +#X text 183 42 arguments; +#X text 185 82 this can be changed in the sources !; +#X text 83 351 <-- 'bang' when input matches arguments; +#X obj 62 122 hdl 20 1 0 5 empty empty empty 0 -6 0 8 -262144 -1 -1 +0; +#X floatatom 50 154 5 0 0 0 - - -; +#X text 228 229 -> forget all old values; +#X obj 50 243 match 3 4; +#X floatatom 81 325 5 0 0 0 - - -; +#X floatatom 156 324 5 0 0 0 - - -; +#X obj 81 294 unpack f f; +#X text 111 11 match :: outputs a list when a list of; +#X msg 93 178 1 3 4 7; +#X msg 160 178 1 2 4 5; +#X text 230 179 send a list of floats; +#X symbolatom 688 302 10 0 0 0 - - -; +#X symbolatom 616 326 10 0 0 0 - - -; +#X symbolatom 581 346 10 0 0 0 - - -; +#X obj 540 339 bng 24 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 540 244 match dog bytes 2 cats; +#X msg 553 186 dog bytes 2 cats; +#X msg 564 214 cat bytes 2 dogs; +#X text 384 114 same works for symbols and mixtures of floats and symbols: +; +#X obj 581 275 unpack s s f s; +#X floatatom 635 303 5 0 0 0 - - -; +#X text 89 271 sends out the list when a match is found; +#X msg 459 151 dog; +#X msg 494 143 cats; +#X msg 519 170 2; +#X msg 471 195 bytes; +#X text 183 68 a maximum of 16 arguments is allowed; +#N canvas 289 198 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 125 AUTHOR Olaf Matthes ; +#X text 12 45 DESCRIPTION outputs a list when a list of input values +matches the creation arguments; +#X text 12 5 KEYWORDS control list_op anything_op; +#X text 12 105 OUTLET_0 list; +#X text 12 85 INLET_0 anything; +#X restore 766 377 pd META; +#X connect 1 0 14 0; +#X connect 2 0 12 0; +#X connect 3 0 5 0; +#X connect 4 0 5 0; +#X connect 5 0 2 0; +#X connect 11 0 12 0; +#X connect 12 0 14 0; +#X connect 14 0 0 0; +#X connect 14 0 17 0; +#X connect 17 0 15 0; +#X connect 17 1 16 0; +#X connect 19 0 14 0; +#X connect 20 0 14 0; +#X connect 26 0 25 0; +#X connect 26 0 30 0; +#X connect 27 0 26 0; +#X connect 28 0 26 0; +#X connect 30 0 24 0; +#X connect 30 1 23 0; +#X connect 30 2 31 0; +#X connect 30 3 22 0; +#X connect 33 0 26 0; +#X connect 34 0 26 0; +#X connect 35 0 26 0; +#X connect 36 0 26 0; diff --git a/minus-help.pd b/minus-help.pd index 64e45f3..d346c10 100644 --- a/minus-help.pd +++ b/minus-help.pd @@ -1,17 +1,30 @@ -#N canvas 328 264 464 316 12; -#X floatatom 54 217 5 0 0; -#X floatatom 54 127 5 0 0; -#X floatatom 107 127 5 0 0; -#X text 39 20 minus :: like '-' but calculates result; -#X text 133 204 use creation arguments to set initial; -#X text 133 220 values for inlets; -#X msg 23 83 bang; -#X text 69 82 calculate and output result now; -#X obj 54 172 minus 8 6 4; -#X floatatom 161 127 5 0 0; -#X text 120 38 when leftmost or second inlet is changed; -#X connect 1 0 8 0; -#X connect 2 0 8 1; -#X connect 6 0 8 0; -#X connect 8 0 0 0; -#X connect 9 0 8 2; +#N canvas 0 26 464 316 12; +#X floatatom 54 217 5 0 0 0 - - -; +#X floatatom 54 127 5 0 0 0 - - -; +#X floatatom 107 127 5 0 0 0 - - -; +#X text 39 20 minus :: like '-' but calculates result; +#X text 133 204 use creation arguments to set initial; +#X text 133 220 values for inlets; +#X msg 23 83 bang; +#X text 69 82 calculate and output result now; +#X obj 54 172 minus 8 6 4; +#X floatatom 161 127 5 0 0 0 - - -; +#X text 120 38 when leftmost or second inlet is changed; +#N canvas 474 26 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 165 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION like [-] but calculates result when leftmost +or second inlet is changed; +#X text 12 85 INLET_0 bang float; +#X text 12 105 INLET_1 float; +#X text 12 145 OUTLET_0 float; +#X text 12 125 INLET_N float; +#X restore 406 287 pd META; +#X connect 1 0 8 0; +#X connect 2 0 8 1; +#X connect 6 0 8 0; +#X connect 8 0 0 0; +#X connect 9 0 8 2; diff --git a/mlife-help.pd b/mlife-help.pd index d12e1fc..e797088 100644 --- a/mlife-help.pd +++ b/mlife-help.pd @@ -1,56 +1,67 @@ -#N canvas 309 47 454 459 12; -#X floatatom 23 424 5 0 0; -#X floatatom 39 397 5 0 0; -#X floatatom 76 424 5 0 0; -#X floatatom 93 397 5 0 0; -#X floatatom 129 424 5 0 0; -#X floatatom 147 397 5 0 0; -#X floatatom 183 425 5 0 0; -#X floatatom 200 398 5 0 0; -#X msg 22 33 bang; -#X msg 69 123 randfill; -#X msg 84 150 fill 0; -#X msg 100 177 lo 2; -#X msg 108 204 hi 3; -#X msg 120 231 nset 3; -#X msg 161 312 display; -#X text 178 233 set neighbourhood; -#X text 151 205 set high; -#X text 146 176 set low; -#X text 151 150 fill cells with 0; -#X text 145 123 fill cells with random value; -#X text 226 312 display state of cells; -#X msg 35 72 1; -#X text 63 33 calculate next generation and output; -#X text 64 50 bangs on every cell that is alife; -#X text 68 72 calculate next generation and output; -#X text 68 89 1 if cell is alife \, 0 if dead; -#X text 227 329 in Pd console window; -#X text 142 355 mlife ; -#X text 189 370 ; -#X text 279 395 closed universe if; -#X text 279 409 = 1; -#X msg 134 258 randseed 4; -#X text 225 258 seed array with random no.; -#X text 225 284 seed array with a number; -#X msg 149 285 seed 1 4; -#X obj 23 356 mlife 8 1 8 0; -#X text 44 5 mlife :: a cellular automata object; -#X connect 8 0 35 0; -#X connect 9 0 35 0; -#X connect 10 0 35 0; -#X connect 11 0 35 0; -#X connect 12 0 35 0; -#X connect 13 0 35 0; -#X connect 14 0 35 0; -#X connect 21 0 35 0; -#X connect 31 0 35 0; -#X connect 34 0 35 0; -#X connect 35 0 0 0; -#X connect 35 1 1 0; -#X connect 35 2 2 0; -#X connect 35 3 3 0; -#X connect 35 4 4 0; -#X connect 35 5 5 0; -#X connect 35 6 6 0; -#X connect 35 7 7 0; +#N canvas 0 26 454 483 12; +#X floatatom 23 424 5 0 0 0 - - -; +#X floatatom 39 397 5 0 0 0 - - -; +#X floatatom 76 424 5 0 0 0 - - -; +#X floatatom 93 397 5 0 0 0 - - -; +#X floatatom 129 424 5 0 0 0 - - -; +#X floatatom 147 397 5 0 0 0 - - -; +#X floatatom 183 425 5 0 0 0 - - -; +#X floatatom 200 398 5 0 0 0 - - -; +#X msg 22 33 bang; +#X msg 69 123 randfill; +#X msg 84 150 fill 0; +#X msg 100 177 lo 2; +#X msg 108 204 hi 3; +#X msg 120 231 nset 3; +#X msg 161 312 display; +#X text 178 233 set neighbourhood; +#X text 151 205 set high; +#X text 146 176 set low; +#X text 151 150 fill cells with 0; +#X text 145 123 fill cells with random value; +#X text 226 312 display state of cells; +#X msg 35 72 1; +#X text 63 33 calculate next generation and output; +#X text 64 50 bangs on every cell that is alife; +#X text 68 72 calculate next generation and output; +#X text 68 89 1 if cell is alife \, 0 if dead; +#X text 227 329 in Pd console window; +#X text 142 355 mlife ; +#X text 189 370 ; +#X text 279 395 closed universe if; +#X text 279 409 = 1; +#X msg 134 258 randseed 4; +#X text 225 258 seed array with random no.; +#X text 225 284 seed array with a number; +#X msg 149 285 seed 1 4; +#X obj 23 356 mlife 8 1 8 0; +#X text 44 5 mlife :: a cellular automata object; +#N canvas 464 26 494 344 META 0; +#X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 135 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION a cellular automata object; +#X text 12 65 INLET_0 bang float randfill fill lo hi nset randseed +seed display; +#X text 12 105 OUTLET_N float; +#X restore 386 452 pd META; +#X connect 8 0 35 0; +#X connect 9 0 35 0; +#X connect 10 0 35 0; +#X connect 11 0 35 0; +#X connect 12 0 35 0; +#X connect 13 0 35 0; +#X connect 14 0 35 0; +#X connect 21 0 35 0; +#X connect 31 0 35 0; +#X connect 34 0 35 0; +#X connect 35 0 0 0; +#X connect 35 1 1 0; +#X connect 35 2 2 0; +#X connect 35 3 3 0; +#X connect 35 4 4 0; +#X connect 35 5 5 0; +#X connect 35 6 6 0; +#X connect 35 7 7 0; diff --git a/multi-help.pd b/multi-help.pd index 86e6a5c..a1b6835 100644 --- a/multi-help.pd +++ b/multi-help.pd @@ -1,17 +1,30 @@ -#N canvas 328 264 464 316 12; -#X floatatom 54 217 5 0 0; -#X floatatom 54 127 5 0 0; -#X floatatom 108 128 5 0 0; -#X text 39 20 multi :: like '*' but calculates result; -#X text 133 204 use creation arguments to set initial; -#X text 133 220 values for inlets; -#X msg 23 83 bang; -#X text 69 82 calculate and output result now; -#X obj 54 172 multi 8 6 2; -#X floatatom 163 129 5 0 0; -#X text 120 38 when leftmost or second inlet is changed; -#X connect 1 0 8 0; -#X connect 2 0 8 1; -#X connect 6 0 8 0; -#X connect 8 0 0 0; -#X connect 9 0 8 2; +#N canvas 0 26 423 305 12; +#X floatatom 54 217 5 0 0 0 - - -; +#X floatatom 54 127 5 0 0 0 - - -; +#X floatatom 108 128 5 0 0 0 - - -; +#X text 39 20 multi :: like '*' but calculates result; +#X text 133 204 use creation arguments to set initial; +#X text 133 220 values for inlets; +#X msg 23 83 bang; +#X text 69 82 calculate and output result now; +#X obj 54 172 multi 8 6 2; +#X floatatom 163 129 5 0 0 0 - - -; +#X text 120 38 when leftmost or second inlet is changed; +#N canvas 433 26 494 344 META 0; +#X text 12 195 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 175 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION like [*] but calculates result when leftmost +or second inlet is changed; +#X text 12 85 INLET_0 bang float; +#X text 12 105 INLET_1 float; +#X text 12 125 INLET_N float; +#X text 12 145 OUTLET_0 float; +#X restore 356 272 pd META; +#X connect 1 0 8 0; +#X connect 2 0 8 1; +#X connect 6 0 8 0; +#X connect 8 0 0 0; +#X connect 9 0 8 2; diff --git a/nchange-help.pd b/nchange-help.pd index cfcf00b..4016a6b 100644 --- a/nchange-help.pd +++ b/nchange-help.pd @@ -1,31 +1,42 @@ -#N canvas 271 238 519 310 12; -#X obj 30 213 nchange f; -#X obj 371 215 nchange l; -#X msg 367 144 bla foo dog; -#X msg 387 169 bla foo 23; -#X msg 348 121 bla foo dog 17; -#X obj 200 214 nchange s; -#X obj 200 185 symbol; -#X msg 200 126 dog; -#X msg 216 153 cat; -#X obj 162 15 change; -#X obj 371 253 print list; -#X obj 200 255 print symbol; -#X msg 30 152 0; -#X msg 43 180 1; -#X obj 30 257 print float; -#X text 100 34 written by Olaf Matthes ; -#X text 12 15 nchange :: a 'new'; -#X text 22 77 The creation argument specifies whether nchange works -for floats \, symbols or lists.; -#X connect 0 0 14 0; -#X connect 1 0 10 0; -#X connect 2 0 1 0; -#X connect 3 0 1 0; -#X connect 4 0 1 0; -#X connect 5 0 11 0; -#X connect 6 0 5 0; -#X connect 7 0 6 0; -#X connect 8 0 6 0; -#X connect 12 0 0 0; -#X connect 13 0 0 0; +#N canvas 0 26 519 345 12; +#X obj 30 213 nchange f; +#X obj 371 215 nchange l; +#X msg 367 144 bla foo dog; +#X msg 387 169 bla foo 23; +#X msg 348 121 bla foo dog 17; +#X obj 200 214 nchange s; +#X obj 200 185 symbol; +#X msg 200 126 dog; +#X msg 216 153 cat; +#X obj 162 15 change; +#X obj 371 253 print list; +#X obj 200 255 print symbol; +#X msg 30 152 0; +#X msg 43 180 1; +#X obj 30 257 print float; +#X text 100 34 written by Olaf Matthes ; +#X text 12 15 nchange :: a 'new'; +#X text 22 77 The creation argument specifies whether nchange works +for floats \, symbols or lists.; +#N canvas 518 27 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Olaf Matthes ; +#X text 12 45 DESCRIPTION change for floats \, symbols \, and lists +; +#X text 12 5 KEYWORDS control anything_op symbol_op; +#X text 12 65 INLET_0 anything; +#X text 12 85 OUTLET_0 anything; +#X restore 456 317 pd META; +#X connect 0 0 14 0; +#X connect 1 0 10 0; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 4 0 1 0; +#X connect 5 0 11 0; +#X connect 6 0 5 0; +#X connect 7 0 6 0; +#X connect 8 0 6 0; +#X connect 12 0 0 0; +#X connect 13 0 0 0; diff --git a/netclient-help.pd b/netclient-help.pd index 46e5b52..113fea3 100644 --- a/netclient-help.pd +++ b/netclient-help.pd @@ -1,51 +1,63 @@ -#N canvas 246 114 752 474 12; -#X floatatom 49 333 5 0 0; -#X floatatom 87 298 5 0 0; -#X symbolatom 164 251 10 0 0; -#X text 102 332 received data; -#X text 140 298 number of connections; -#X msg 49 54 print; -#X floatatom 125 272 5 0 0; -#X text 183 276 socket number; -#X msg 103 179 broadcast hallo world!; -#X text 288 179 send to all clients; -#X text 143 49 written by Olaf Matthes ; -#X obj 49 223 netserver 3000; -#X text 137 120 send message to client no. 1; -#X text 256 251 client's IP address; -#X obj 477 189 netclient; -#X msg 498 116 connect localhost 3000; -#X msg 511 143 disconnect; -#X msg 477 84 send 23; -#X floatatom 544 218 5 0 0; -#X msg 83 91 send 380 17.3; -#X floatatom 477 296 5 0 0; -#X obj 600 281 print anything; -#X obj 538 309 print list; -#X obj 477 245 route float list; -#X msg 98 142 client 1 23; -#X text 204 91 "send "; -#X text 110 70 send message on specified socket; -#X text 200 143 "client "; -#X text 48 379 This example demonstrates how to set up a client/server -connection. Data sent by the client get's received and displayed by -the server imediately. Or just try it the other way round...; -#X text 38 15 netclient :: simple client that connects to netserver -or; -#X text 142 32 to pd's native netreceive object; -#X connect 5 0 11 0; -#X connect 8 0 11 0; -#X connect 11 0 0 0; -#X connect 11 1 1 0; -#X connect 11 2 6 0; -#X connect 11 3 2 0; -#X connect 14 0 23 0; -#X connect 14 1 18 0; -#X connect 15 0 14 0; -#X connect 16 0 14 0; -#X connect 17 0 14 0; -#X connect 19 0 11 0; -#X connect 23 0 20 0; -#X connect 23 1 22 0; -#X connect 23 2 21 0; -#X connect 24 0 11 0; +#N canvas 0 26 733 465 12; +#X floatatom 49 333 5 0 0 0 - - -; +#X floatatom 87 298 5 0 0 0 - - -; +#X symbolatom 164 251 10 0 0 0 - - -; +#X text 102 332 received data; +#X text 140 298 number of connections; +#X msg 49 54 print; +#X floatatom 125 272 5 0 0 0 - - -; +#X text 183 276 socket number; +#X msg 103 179 broadcast hallo world!; +#X text 288 179 send to all clients; +#X text 143 49 written by Olaf Matthes ; +#X obj 49 223 netserver 3000; +#X text 137 120 send message to client no. 1; +#X text 256 251 client's IP address; +#X obj 477 189 netclient; +#X msg 498 116 connect localhost 3000; +#X msg 511 143 disconnect; +#X msg 477 84 send 23; +#X floatatom 544 218 5 0 0 0 - - -; +#X msg 83 91 send 380 17.3; +#X floatatom 477 296 5 0 0 0 - - -; +#X obj 600 281 print anything; +#X obj 538 309 print list; +#X obj 477 245 route float list; +#X msg 98 142 client 1 23; +#X text 204 91 "send "; +#X text 110 70 send message on specified socket; +#X text 200 143 "client "; +#X text 48 379 This example demonstrates how to set up a client/server +connection. Data sent by the client get's received and displayed by +the server imediately. Or just try it the other way round...; +#X text 38 15 netclient :: simple client that connects to netserver +or; +#X text 142 32 to pd's native netreceive object; +#N canvas 518 27 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 145 AUTHOR Olaf Matthes ; +#X text 12 45 DESCRIPTION simple client that connects to netserver +or to pd's native netreceive object; +#X text 12 5 KEYWORDS control network; +#X text 12 85 INLET_0 send connect disconnect; +#X text 12 105 OUTLET_0 list; +#X text 12 125 OUTLET_1 float; +#X restore 671 437 pd META; +#X connect 5 0 11 0; +#X connect 8 0 11 0; +#X connect 11 0 0 0; +#X connect 11 1 1 0; +#X connect 11 2 6 0; +#X connect 11 3 2 0; +#X connect 14 0 23 0; +#X connect 14 1 18 0; +#X connect 15 0 14 0; +#X connect 16 0 14 0; +#X connect 17 0 14 0; +#X connect 19 0 11 0; +#X connect 23 0 20 0; +#X connect 23 1 22 0; +#X connect 23 2 21 0; +#X connect 24 0 11 0; diff --git a/netdist-help.pd b/netdist-help.pd index 84cd2e2..8818afd 100644 --- a/netdist-help.pd +++ b/netdist-help.pd @@ -1,37 +1,47 @@ -#N canvas 374 142 458 370 12; -#X obj 23 299 netdist; -#X obj 275 249 netreceive 3000; -#X floatatom 275 275 5 0 0; -#X floatatom 390 275 5 0 0; -#X msg 23 64 connect localhost 3000; -#X floatatom 276 328 5 0 0; -#X floatatom 391 328 5 0 0; -#X obj 276 302 netreceive 3001; -#X msg 67 120 disconnect localhost 3000; -#X msg 42 93 connect localhost 3001; -#X msg 88 147 disconnect localhost 3001; -#X msg 102 177 print; -#X msg 113 203 clear; -#X floatatom 23 326 5 0 0; -#X msg 120 232 send 23; -#X msg 146 259 send 17.3; -#X text 151 178 print list of connections; -#X text 164 202 disconnect all; -#X text 189 232 send values; -#X text 213 64 add connection to list; -#X text 278 119 remove connection; -#X text 33 8 netdist :: distribute data to several netreceive; -#X text 122 24 written by Olaf Matthes; -#X connect 0 0 13 0; -#X connect 1 0 2 0; -#X connect 1 1 3 0; -#X connect 4 0 0 0; -#X connect 7 0 5 0; -#X connect 7 1 6 0; -#X connect 8 0 0 0; -#X connect 9 0 0 0; -#X connect 10 0 0 0; -#X connect 11 0 0 0; -#X connect 12 0 0 0; -#X connect 14 0 0 0; -#X connect 15 0 0 0; +#N canvas 0 26 458 404 12; +#X obj 23 299 netdist; +#X obj 275 249 netreceive 3000; +#X floatatom 275 275 5 0 0 0 - - -; +#X floatatom 390 275 5 0 0 0 - - -; +#X msg 23 64 connect localhost 3000; +#X floatatom 276 328 5 0 0 0 - - -; +#X floatatom 391 328 5 0 0 0 - - -; +#X obj 276 302 netreceive 3001; +#X msg 67 120 disconnect localhost 3000; +#X msg 42 93 connect localhost 3001; +#X msg 88 147 disconnect localhost 3001; +#X msg 102 177 print; +#X msg 113 203 clear; +#X floatatom 23 326 5 0 0 0 - - -; +#X msg 120 232 send 23; +#X msg 146 259 send 17.3; +#X text 151 178 print list of connections; +#X text 164 202 disconnect all; +#X text 189 232 send values; +#X text 213 64 add connection to list; +#X text 278 119 remove connection; +#X text 33 8 netdist :: distribute data to several netreceive; +#X text 122 24 written by Olaf Matthes; +#N canvas 293 158 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 105 AUTHOR Olaf Matthes ; +#X text 12 45 DESCRIPTION distribute data to several netreceive; +#X text 12 5 KEYWORDS control network; +#X text 12 65 INLET_0 connect disconnect print clear send; +#X text 12 85 OUTLET_0 float; +#X restore 395 373 pd META; +#X connect 0 0 13 0; +#X connect 1 0 2 0; +#X connect 1 1 3 0; +#X connect 4 0 0 0; +#X connect 7 0 5 0; +#X connect 7 1 6 0; +#X connect 8 0 0 0; +#X connect 9 0 0 0; +#X connect 10 0 0 0; +#X connect 11 0 0 0; +#X connect 12 0 0 0; +#X connect 14 0 0 0; +#X connect 15 0 0 0; diff --git a/netrec-help.pd b/netrec-help.pd index 80be695..cda33bb 100644 --- a/netrec-help.pd +++ b/netrec-help.pd @@ -1,34 +1,47 @@ -#N canvas 315 121 600 364 12; -#X obj 49 189 netrec 3000; -#X obj 57 130 netsend; -#X msg 57 18 connect localhost 3000; -#X msg 78 44 disconnect localhost 3000; -#X floatatom 49 297 5 0 0; -#X floatatom 76 270 5 0 0; -#X floatatom 93 73 5 0 0; -#X msg 93 99 send \$1; -#X symbolatom 132 217 10 0 0; -#X text 224 217 IP address; -#X text 100 298 received data; -#X text 129 270 number of connections; -#X obj 295 128 netsend; -#X msg 295 16 connect localhost 3000; -#X msg 316 42 disconnect localhost 3000; -#X floatatom 331 71 5 0 0; -#X msg 331 97 send \$1; -#X msg 49 162 print; -#X floatatom 104 243 5 0 0; -#X text 162 247 socket number; -#X connect 0 0 4 0; -#X connect 0 1 5 0; -#X connect 0 2 18 0; -#X connect 0 3 8 0; -#X connect 2 0 1 0; -#X connect 3 0 1 0; -#X connect 6 0 7 0; -#X connect 7 0 1 0; -#X connect 13 0 12 0; -#X connect 14 0 12 0; -#X connect 15 0 16 0; -#X connect 16 0 12 0; -#X connect 17 0 0 0; +#N canvas 0 31 600 364 12; +#X obj 49 189 netrec 3000; +#X obj 57 130 netsend; +#X msg 57 18 connect localhost 3000; +#X msg 78 44 disconnect localhost 3000; +#X floatatom 49 297 5 0 0 0 - - -; +#X floatatom 76 270 5 0 0 0 - - -; +#X floatatom 93 73 5 0 0 0 - - -; +#X msg 93 99 send \$1; +#X symbolatom 132 217 10 0 0 0 - - -; +#X text 224 217 IP address; +#X text 100 298 received data; +#X text 129 270 number of connections; +#X obj 295 128 netsend; +#X msg 295 16 connect localhost 3000; +#X msg 316 42 disconnect localhost 3000; +#X floatatom 331 71 5 0 0 0 - - -; +#X msg 331 97 send \$1; +#X msg 49 162 print; +#X floatatom 104 243 5 0 0 0 - - -; +#X text 162 247 socket number; +#N canvas 377 242 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 165 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control network; +#X text 12 105 OUTLET_1 float; +#X text 12 45 DESCRIPTION; +#X text 12 65 INLET_0 print; +#X text 12 85 OUTLET_0 float; +#X text 12 125 OUTLET_3 float; +#X text 12 145 OUTLET_4 symbol; +#X restore 531 327 pd META; +#X connect 0 0 4 0; +#X connect 0 1 5 0; +#X connect 0 2 18 0; +#X connect 0 3 8 0; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 6 0 7 0; +#X connect 7 0 1 0; +#X connect 13 0 12 0; +#X connect 14 0 12 0; +#X connect 15 0 16 0; +#X connect 16 0 12 0; +#X connect 17 0 0 0; diff --git a/netserver-help.pd b/netserver-help.pd index a849bd5..5a0d591 100644 --- a/netserver-help.pd +++ b/netserver-help.pd @@ -1,50 +1,62 @@ -#N canvas 246 114 752 474 12; -#X floatatom 49 333 5 0 0; -#X floatatom 87 298 5 0 0; -#X symbolatom 164 251 10 0 0; -#X text 102 332 received data; -#X text 140 298 number of connections; -#X msg 49 54 print; -#X floatatom 125 272 5 0 0; -#X text 183 276 socket number; -#X msg 103 179 broadcast hallo world!; -#X text 288 179 send to all clients; -#X text 144 33 written by Olaf Matthes ; -#X obj 49 223 netserver 3000; -#X text 137 120 send message to client no. 1; -#X text 256 251 client's IP address; -#X obj 477 189 netclient; -#X msg 498 116 connect localhost 3000; -#X msg 511 143 disconnect; -#X msg 477 84 send 23; -#X floatatom 544 218 5 0 0; -#X msg 83 91 send 380 17.3; -#X floatatom 477 296 5 0 0; -#X obj 600 281 print anything; -#X obj 538 309 print list; -#X obj 477 245 route float list; -#X msg 98 142 client 1 23; -#X text 204 91 "send "; -#X text 110 70 send message on specified socket; -#X text 200 143 "client "; -#X text 48 379 This example demonstrates how to set up a client/server -connection. Data sent by the client get's received and displayed by -the server imediately. Or just try it the other way round...; -#X text 38 15 netclient :: simple client that connects to netserver -; -#X connect 5 0 11 0; -#X connect 8 0 11 0; -#X connect 11 0 0 0; -#X connect 11 1 1 0; -#X connect 11 2 6 0; -#X connect 11 3 2 0; -#X connect 14 0 23 0; -#X connect 14 1 18 0; -#X connect 15 0 14 0; -#X connect 16 0 14 0; -#X connect 17 0 14 0; -#X connect 19 0 11 0; -#X connect 23 0 20 0; -#X connect 23 1 22 0; -#X connect 23 2 21 0; -#X connect 24 0 11 0; +#N canvas 0 26 727 466 12; +#X floatatom 49 333 5 0 0 0 - - -; +#X floatatom 87 298 5 0 0 0 - - -; +#X symbolatom 164 251 10 0 0 0 - - -; +#X text 102 332 received data; +#X text 140 298 number of connections; +#X msg 49 54 print; +#X floatatom 125 272 5 0 0 0 - - -; +#X text 183 276 socket number; +#X msg 103 179 broadcast hallo world!; +#X text 288 179 send to all clients; +#X text 144 33 written by Olaf Matthes ; +#X obj 49 223 netserver 3000; +#X text 137 120 send message to client no. 1; +#X text 256 251 client's IP address; +#X obj 477 189 netclient; +#X msg 498 116 connect localhost 3000; +#X msg 511 143 disconnect; +#X msg 477 84 send 23; +#X floatatom 544 218 5 0 0 0 - - -; +#X msg 83 91 send 380 17.3; +#X floatatom 477 296 5 0 0 0 - - -; +#X obj 600 281 print anything; +#X obj 538 309 print list; +#X obj 477 245 route float list; +#X msg 98 142 client 1 23; +#X text 204 91 "send "; +#X text 110 70 send message on specified socket; +#X text 200 143 "client "; +#X text 48 379 This example demonstrates how to set up a client/server +connection. Data sent by the client get's received and displayed by +the server imediately. Or just try it the other way round...; +#X text 38 15 netclient :: simple client that connects to netserver +; +#N canvas 341 177 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 125 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control network; +#X text 12 105 OUTLET_1 float; +#X text 12 45 DESCRIPTION simple client that connects to netserver +; +#X text 12 65 INLET_0 send connect disconnect; +#X text 12 85 OUTLET_0 list; +#X restore 667 436 pd META; +#X connect 5 0 11 0; +#X connect 8 0 11 0; +#X connect 11 0 0 0; +#X connect 11 1 1 0; +#X connect 11 2 6 0; +#X connect 11 3 2 0; +#X connect 14 0 23 0; +#X connect 14 1 18 0; +#X connect 15 0 14 0; +#X connect 16 0 14 0; +#X connect 17 0 14 0; +#X connect 19 0 11 0; +#X connect 23 0 20 0; +#X connect 23 1 22 0; +#X connect 23 2 21 0; +#X connect 24 0 11 0; diff --git a/nroute-help.pd b/nroute-help.pd index 0831363..25cc75c 100644 --- a/nroute-help.pd +++ b/nroute-help.pd @@ -1,37 +1,52 @@ -#N canvas 252 37 630 380 12; -#X floatatom 116 199 5 0 0; -#X obj 41 290 print matched; -#X obj 116 256 print failed; -#X msg 78 151 8; -#X obj 41 226 nroute 8 2; -#X msg 41 77 0 8 15; -#X msg 56 105 17 3 45; -#X msg 116 153 3; -#X text 170 197 position to match; -#X floatatom 427 204 5 0 0; -#X obj 336 293 print matched; -#X obj 427 259 print failed; -#X obj 336 229 nroute fly 2; -#X msg 381 178 go; -#X msg 417 178 walk; -#X msg 336 80 swifts fly high; -#X msg 351 108 dogs walk slow; -#X msg 363 141 please go go; -#X text 153 152 what to match; -#X text 54 8 nroute :: route if Nth argument is matched; -#X text 135 24 written by Olaf Matthes ; -#X connect 0 0 4 2; -#X connect 3 0 4 1; -#X connect 4 0 1 0; -#X connect 4 1 2 0; -#X connect 5 0 4 0; -#X connect 6 0 4 0; -#X connect 7 0 4 1; -#X connect 9 0 12 2; -#X connect 12 0 10 0; -#X connect 12 1 11 0; -#X connect 13 0 12 1; -#X connect 14 0 12 1; -#X connect 15 0 12 0; -#X connect 16 0 12 0; -#X connect 17 0 12 0; +#N canvas 10 3 630 380 12; +#X floatatom 116 199 5 0 0 0 - - -; +#X obj 41 290 print matched; +#X obj 116 256 print failed; +#X msg 78 151 8; +#X obj 41 226 nroute 8 2; +#X msg 41 77 0 8 15; +#X msg 56 105 17 3 45; +#X msg 116 153 3; +#X text 170 197 position to match; +#X floatatom 427 204 5 0 0 0 - - -; +#X obj 336 293 print matched; +#X obj 427 259 print failed; +#X obj 336 229 nroute fly 2; +#X msg 381 178 go; +#X msg 417 178 walk; +#X msg 336 80 swifts fly high; +#X msg 351 108 dogs walk slow; +#X msg 363 141 please go go; +#X text 153 152 what to match; +#X text 54 8 nroute :: route if Nth argument is matched; +#X text 135 24 written by Olaf Matthes ; +#N canvas 260 141 494 344 META 0; +#X text 12 65 TEMPLATE template-help.pd v0.1; +#X text 12 85 PLATFORM windows macosx gnulinux; +#X text 12 5 GENRE help; +#X text 12 165 WEBSITE; +#X text 12 205 RELEASE_VERSION 0.42; +#X text 12 225 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 125 LIBRARY external maxlib; +#X text 12 45 LICENSE; +#X text 12 185 RELEASE_DATE; +#X text 12 25 KEYWORDS control; +#X text 12 105 DATATYPE float symbol list; +#X text 12 145 AUTHOR Olaf Matthes; +#X restore 571 354 pd META; +#X connect 0 0 4 2; +#X connect 3 0 4 1; +#X connect 4 0 1 0; +#X connect 4 1 2 0; +#X connect 5 0 4 0; +#X connect 6 0 4 0; +#X connect 7 0 4 1; +#X connect 9 0 12 2; +#X connect 12 0 10 0; +#X connect 12 1 11 0; +#X connect 13 0 12 1; +#X connect 14 0 12 1; +#X connect 15 0 12 0; +#X connect 16 0 12 0; +#X connect 17 0 12 0; diff --git a/pitch-help.pd b/pitch-help.pd index 781fd4c..d4cf38d 100644 --- a/pitch-help.pd +++ b/pitch-help.pd @@ -1,30 +1,45 @@ -#N canvas 166 313 439 308 12; -#X floatatom 83 266 5 0 0; -#X obj 83 35 notein; -#X floatatom 112 217 5 0 0; -#X floatatom 127 191 5 0 0; -#X floatatom 142 166 5 0 0; -#X floatatom 24 33 5 0 0; -#X symbolatom 97 242 7 0 0; -#X text 139 267 MIDI note number; -#X text 166 217 pitch class; -#X text 181 191 interval to last note; -#X text 197 166 register; -#X text 153 33 pitch :: get info about pitch; -#X text 169 243 note name (symbol); -#X text 221 54 use creation argument to; -#X text 221 71 set assumed first note; -#X text 227 104 of the first interval ); -#X text 218 89 ( needed for calculation; -#X obj 83 94 stripnote; -#X obj 83 137 pitch 72; -#X connect 1 0 17 0; -#X connect 1 1 17 1; -#X connect 5 0 18 0; -#X connect 17 0 18 0; -#X connect 17 1 18 1; -#X connect 18 0 0 0; -#X connect 18 1 6 0; -#X connect 18 2 2 0; -#X connect 18 3 3 0; -#X connect 18 4 4 0; +#N canvas 0 26 439 308 12; +#X floatatom 83 266 5 0 0 0 - - -; +#X obj 83 35 notein; +#X floatatom 112 217 5 0 0 0 - - -; +#X floatatom 127 191 5 0 0 0 - - -; +#X floatatom 142 166 5 0 0 0 - - -; +#X floatatom 24 33 5 0 0 0 - - -; +#X symbolatom 97 242 7 0 0 0 - - -; +#X text 139 267 MIDI note number; +#X text 166 217 pitch class; +#X text 181 191 interval to last note; +#X text 197 166 register; +#X text 153 33 pitch :: get info about pitch; +#X text 169 243 note name (symbol); +#X text 221 54 use creation argument to; +#X text 221 71 set assumed first note; +#X text 227 104 of the first interval ); +#X text 218 89 ( needed for calculation; +#X obj 83 94 stripnote; +#X obj 83 137 pitch 72; +#N canvas 295 203 494 344 META 0; +#X text 12 225 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 205 AUTHOR Olaf Matthes ; +#X text 12 45 DESCRIPTION get info about pitch; +#X text 12 5 KEYWORDS control analysis MIDI; +#X text 12 65 INLET_0 float; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 145 OUTLET_2 float; +#X text 12 165 OUTLET_3 float; +#X text 12 185 OUTLET_4 float; +#X text 12 125 OUTLET_1 symbol; +#X restore 375 273 pd META; +#X connect 1 0 17 0; +#X connect 1 1 17 1; +#X connect 5 0 18 0; +#X connect 17 0 18 0; +#X connect 17 1 18 1; +#X connect 18 0 0 0; +#X connect 18 1 6 0; +#X connect 18 2 2 0; +#X connect 18 3 3 0; +#X connect 18 4 4 0; diff --git a/plus-help.pd b/plus-help.pd index 3a0e442..7efc489 100644 --- a/plus-help.pd +++ b/plus-help.pd @@ -1,17 +1,30 @@ -#N canvas 328 264 464 316 12; -#X floatatom 54 217 5 0 0; -#X floatatom 54 127 5 0 0; -#X floatatom 107 127 5 0 0; -#X text 133 204 use creation arguments to set initial; -#X text 133 220 values for inlets; -#X text 26 20 plus :: like '+' but calculates result; -#X msg 23 83 bang; -#X text 69 82 calculate and output result now; -#X obj 54 172 plus 8 6 2; -#X floatatom 161 127 5 0 0; -#X text 91 40 whenever leftmost or second inlet is changed; -#X connect 1 0 8 0; -#X connect 2 0 8 1; -#X connect 6 0 8 0; -#X connect 8 0 0 0; -#X connect 9 0 8 2; +#N canvas 0 26 464 316 12; +#X floatatom 54 217 5 0 0 0 - - -; +#X floatatom 54 127 5 0 0 0 - - -; +#X floatatom 107 127 5 0 0 0 - - -; +#X text 133 204 use creation arguments to set initial; +#X text 133 220 values for inlets; +#X text 26 20 plus :: like '+' but calculates result; +#X msg 23 83 bang; +#X text 69 82 calculate and output result now; +#X obj 54 172 plus 8 6 2; +#X floatatom 161 127 5 0 0 0 - - -; +#X text 91 40 whenever leftmost or second inlet is changed; +#N canvas 295 203 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 165 AUTHOR Olaf Matthes ; +#X text 12 105 INLET_1 float; +#X text 12 45 DESCRIPTION like + but calculates result whenever leftmost +or second inlet is changed; +#X text 12 85 INLET_0 float bang; +#X text 12 125 INLET_2 float; +#X text 12 145 OUTLET_0 float; +#X text 12 5 KEYWORDS control; +#X restore 395 283 pd META; +#X connect 1 0 8 0; +#X connect 2 0 8 1; +#X connect 6 0 8 0; +#X connect 8 0 0 0; +#X connect 9 0 8 2; diff --git a/poisson-help.pd b/poisson-help.pd index ab6fe4b..aca8494 100644 --- a/poisson-help.pd +++ b/poisson-help.pd @@ -1,12 +1,23 @@ -#N canvas 438 222 487 308 12; -#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X floatatom 70 192 5 0 0; -#X floatatom 193 112 5 0 0; -#X text 39 21 poisson :: Poisson distributed random numbers; -#X obj 70 145 poisson 2.2; -#X text 246 113 lambda - value that is most; -#X text 317 132 likely to appear; -#X connect 0 0 4 0; -#X connect 2 0 4 1; -#X connect 4 0 1 0; +#N canvas 0 26 467 278 12; +#X obj 70 95 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X floatatom 70 192 5 0 0 0 - - -; +#X floatatom 193 112 5 0 0 0 - - -; +#X text 39 21 poisson :: Poisson distributed random numbers; +#X obj 70 145 poisson 2.2; +#X text 246 113 lambda - value that is most; +#X text 317 132 likely to appear; +#N canvas 295 203 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 125 AUTHOR Olaf Matthes ; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 45 DESCRIPTION Poisson distributed random numbers; +#X text 12 65 INLET_0 bang; +#X text 12 5 KEYWORDS control random; +#X restore 404 248 pd META; +#X connect 0 0 4 0; +#X connect 2 0 4 1; +#X connect 4 0 1 0; diff --git a/pong-help.pd b/pong-help.pd index bfe788d..710c090 100644 --- a/pong-help.pd +++ b/pong-help.pd @@ -1,5 +1,23 @@ -#N canvas 253 249 450 300 10; -#X obj 153 121 pong; +#N canvas 0 31 450 300 10; #X text 24 14 a bouncing ball model!; #X text 53 45 Based on pong (for Max) version 1.5 written by Richard Dudas.; +#N canvas 460 61 494 344 META 0; +#X text 12 285 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 265 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control needs_work (example and xlets); +#X text 12 165 INLET_5; +#X text 12 145 INLET_4; +#X text 12 125 INLET_3; +#X text 12 105 INLET_2; +#X text 12 85 INLET_1; +#X text 12 65 INLET_0; +#X text 12 185 OUTLET_0; +#X text 12 205 OUTLET_1; +#X text 12 225 OUTLET_2; +#X text 12 245 OUTLET_3; +#X text 12 45 DESCRIPTION bouncing ball model; +#X restore 390 269 pd META; +#X obj 153 121 pong 1.23321e+07; diff --git a/pulse-help.pd b/pulse-help.pd index 6d1320a..942cd71 100644 --- a/pulse-help.pd +++ b/pulse-help.pd @@ -1,35 +1,50 @@ -#N canvas 499 150 464 314 12; -#X obj 23 223 pulse 120 1 4 0; -#X floatatom 23 265 5 0 0; -#X obj 138 265 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -258699 --1; -#X msg 23 23 0; -#X msg 48 80 1; -#X floatatom 51 122 5 0 0; -#X floatatom 138 197 5 0 0; -#X floatatom 109 172 5 0 0; -#X floatatom 80 147 5 0 0; -#X msg 39 53 bang; -#X text 55 23 stop; -#X obj 313 18 metro; -#X text 80 79 start; -#X text 242 44 originally written by; -#X text 240 62 James McCartney for Max; -#X text 74 267 count; -#X text 168 18 pulse :: a better; -#X text 104 123 quarter notes per minute; -#X text 190 199 number of beats to play; -#X text 189 214 before turning off; -#X text 77 54 toggles on/off; -#X text 131 148 interval at which a bang is output; -#X text 160 174 notes to count (default = quarter); -#X text 166 264 pulse turned off automagically; -#X connect 0 0 1 0; -#X connect 0 1 2 0; -#X connect 3 0 0 0; -#X connect 4 0 0 0; -#X connect 5 0 0 1; -#X connect 6 0 0 4; -#X connect 7 0 0 3; -#X connect 8 0 0 2; -#X connect 9 0 0 0; +#N canvas 0 26 464 342 12; +#X obj 23 223 pulse 120 1 4 0; +#X floatatom 23 265 5 0 0 0 - - -; +#X obj 138 265 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -258699 +-1; +#X msg 23 23 0; +#X msg 48 80 1; +#X floatatom 51 122 5 0 0 0 - - -; +#X floatatom 138 197 5 0 0 0 - - -; +#X floatatom 109 172 5 0 0 0 - - -; +#X floatatom 80 147 5 0 0 0 - - -; +#X msg 39 53 bang; +#X text 55 23 stop; +#X obj 313 18 metro; +#X text 80 79 start; +#X text 242 44 originally written by; +#X text 240 62 James McCartney for Max; +#X text 74 267 count; +#X text 168 18 pulse :: a better; +#X text 104 123 quarter notes per minute; +#X text 190 199 number of beats to play; +#X text 189 214 before turning off; +#X text 77 54 toggles on/off; +#X text 131 148 interval at which a bang is output; +#X text 160 174 notes to count (default = quarter); +#X text 166 264 pulse turned off automagically; +#N canvas 474 26 494 344 META 0; +#X text 12 225 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 205 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION a better metro; +#X text 12 65 INLET_0 float bang; +#X text 12 85 INLET_1 float; +#X text 12 105 INLET_2 float; +#X text 12 125 INLET_3 float; +#X text 12 145 INLET_4 float; +#X text 12 165 OUTLET_0 float; +#X text 12 185 OUTLET_1 bang; +#X restore 401 307 pd META; +#X connect 0 0 1 0; +#X connect 0 1 2 0; +#X connect 3 0 0 0; +#X connect 4 0 0 0; +#X connect 5 0 0 1; +#X connect 6 0 0 4; +#X connect 7 0 0 3; +#X connect 8 0 0 2; +#X connect 9 0 0 0; diff --git a/remote-help.pd b/remote-help.pd index 6ee5b8f..41a159c 100644 --- a/remote-help.pd +++ b/remote-help.pd @@ -1,20 +1,29 @@ -#N canvas 472 309 567 308 12; -#X text 9 9 remote :: send data to any receive object; -#X obj 32 224 remote; -#X obj 216 222 receive bla; -#X obj 321 222 receive foo; -#X obj 216 250 print bla; -#X obj 321 250 print foo; -#X msg 32 104 bla 17.3 23; -#X msg 76 183 foo 13 \, bla 4; -#X text 148 75 use message: ; -#X text 253 91 with data of any type; -#X text 89 26 written by Olaf Matthes ; -#X msg 61 147 foo five is 2 more than 3; -#X msg 294 146 \; bla 17.3 23; -#X text 296 168 this does the same...; -#X connect 2 0 4 0; -#X connect 3 0 5 0; -#X connect 6 0 1 0; -#X connect 7 0 1 0; -#X connect 11 0 1 0; +#N canvas 0 26 484 292 12; +#X text 9 9 remote :: send data to any receive object; +#X obj 32 224 remote; +#X obj 216 222 receive bla; +#X obj 321 222 receive foo; +#X obj 216 250 print bla; +#X obj 321 250 print foo; +#X msg 32 104 bla 17.3 23; +#X msg 76 183 foo 13 \, bla 4; +#X text 148 75 use message: ; +#X text 253 91 with data of any type; +#X text 89 26 written by Olaf Matthes ; +#X msg 61 147 foo five is 2 more than 3; +#X msg 294 146 \; bla 17.3 23; +#X text 296 184 this does the same...; +#N canvas 293 158 494 344 META 0; +#X text 12 105 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 85 AUTHOR Olaf Matthes ; +#X text 12 5 KEYWORDS control nonlocal; +#X text 12 45 DESCRIPTION send data to any receive object; +#X text 12 65 INLET_0 anything; +#X restore 423 267 pd META; +#X connect 2 0 4 0; +#X connect 3 0 5 0; +#X connect 6 0 1 0; +#X connect 7 0 1 0; +#X connect 11 0 1 0; diff --git a/rewrap-help.pd b/rewrap-help.pd index e444c9d..42e0012 100644 --- a/rewrap-help.pd +++ b/rewrap-help.pd @@ -1,23 +1,37 @@ -#N canvas 328 32 564 467 12; -#X floatatom 27 304 8 0 0 0 - - -; -#X floatatom 27 73 5 0 0 0 - - -; -#X text 202 47 written by ; -#X floatatom 60 133 5 0 0 0 - - -; -#X floatatom 94 158 5 0 0 0 - - -; -#X text 84 71 input value; -#X text 57 102 creation arguments can be changed dynamically:; -#X text 35 341 creation arguments:; -#X text 115 132 lower limit; -#X text 146 157 upper limit; -#X floatatom 110 276 5 0 0 0 - - -; -#X text 36 358 wrap ; -#X obj 27 249 rewrap 6 40; -#X text 200 27 into a range; -#X text 169 275 wrap period; -#X text 107 305 output; -#X text 122 11 rewrap :: wraps floats back and forth; -#X connect 1 0 12 0; -#X connect 3 0 12 1; -#X connect 4 0 12 2; -#X connect 12 0 0 0; -#X connect 12 1 10 0; +#N canvas 0 26 483 404 12; +#X floatatom 27 304 8 0 0 0 - - -; +#X floatatom 27 73 5 0 0 0 - - -; +#X text 202 47 written by ; +#X floatatom 60 133 5 0 0 0 - - -; +#X floatatom 94 158 5 0 0 0 - - -; +#X text 84 71 input value; +#X text 57 102 creation arguments can be changed dynamically:; +#X text 35 341 creation arguments:; +#X text 115 132 lower limit; +#X text 146 157 upper limit; +#X floatatom 110 276 5 0 0 0 - - -; +#X text 36 358 wrap ; +#X obj 27 249 rewrap 6 40; +#X text 200 27 into a range; +#X text 169 275 wrap period; +#X text 107 305 output; +#X text 122 11 rewrap :: wraps floats back and forth; +#N canvas 293 158 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 165 AUTHOR Olaf Matthes ; +#X text 12 45 DESCRIPTION wraps floats back and forth into a range +; +#X text 12 5 KEYWORDS control; +#X text 12 65 INLET_0 float; +#X text 12 85 INLET_1 float; +#X text 12 105 INLET_2 float; +#X text 12 125 OUTLET_0 float; +#X text 12 145 OUTLET_1 float; +#X restore 413 364 pd META; +#X connect 1 0 12 0; +#X connect 3 0 12 1; +#X connect 4 0 12 2; +#X connect 12 0 0 0; +#X connect 12 1 10 0; diff --git a/rhythm-help.pd b/rhythm-help.pd index bff970c..9d2505b 100644 --- a/rhythm-help.pd +++ b/rhythm-help.pd @@ -1,35 +1,50 @@ -#N canvas 262 64 579 413 12; -#X obj 25 273 rhythm 0; -#X floatatom 25 356 5 0 0; -#X obj 25 59 notein; -#X obj 348 237 makenote 100 100; -#X msg 348 209 60; -#X floatatom 54 328 5 0 0; -#X text 81 360 beats per minute; -#X text 111 331 beats in milliseconds; -#X msg 79 113 reset; -#X msg 90 146 model 0; -#X msg 96 175 model 1; -#X text 158 147 Large and Kolen adaptation model; -#X text 164 174 Toiviainen adaptation model; -#X text 53 21 rhythm :: detects the beat of rhythmic patterns; -#X text 134 39 written by Olaf Matthes ; -#X text 134 56 based on code written by Rober Rowe and published; -#X text 133 72 in 'Mashine musicianship' \, Massachusetts \, 2001; -#X text 115 275 creation: rhythm ; -#X obj 84 303 bng 20 100 10 0 empty empty empty 0 -6 0 8 -262144 -42246 --1; -#X text 115 304 beat pulse; -#X text 132 114 reset all values \, forget rhythm and stop beat pulse -; -#X connect 0 0 1 0; -#X connect 0 1 5 0; -#X connect 0 2 18 0; -#X connect 2 0 0 0; -#X connect 2 1 0 1; -#X connect 3 0 0 0; -#X connect 3 1 0 1; -#X connect 4 0 3 0; -#X connect 8 0 0 0; -#X connect 9 0 0 0; -#X connect 10 0 0 0; +#N canvas 0 26 533 403 12; +#X obj 25 273 rhythm 0; +#X floatatom 25 356 5 0 0 0 - - -; +#X obj 25 59 notein; +#X obj 348 237 makenote 100 100; +#X msg 348 209 60; +#X floatatom 54 328 5 0 0 0 - - -; +#X text 81 360 beats per minute; +#X text 111 331 beats in milliseconds; +#X msg 79 113 reset; +#X msg 90 146 model 0; +#X msg 96 175 model 1; +#X text 158 147 Large and Kolen adaptation model; +#X text 164 174 Toiviainen adaptation model; +#X text 53 21 rhythm :: detects the beat of rhythmic patterns; +#X text 134 39 written by Olaf Matthes ; +#X text 134 56 based on code written by Rober Rowe and published; +#X text 133 72 in 'Mashine musicianship' \, Massachusetts \, 2001; +#X text 115 275 creation: rhythm ; +#X obj 84 303 bng 20 100 10 0 empty empty empty 0 -6 0 8 -262144 -42246 +-1; +#X text 115 304 beat pulse; +#X text 132 114 reset all values \, forget rhythm and stop beat pulse +; +#N canvas 293 158 494 344 META 0; +#X text 12 215 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 125 OUTLET_1 float; +#X text 12 5 KEYWORDS control analysis; +#X text 12 45 DESCRIPTION detects the beat of rhythmic patterns; +#X text 12 165 AUTHOR Olaf Matthes \, based on +code written by Rober Rowe and published in 'Mashine Musicianship' +\, Massachusetts \, 2001; +#X text 12 65 INLET_0 float reset model; +#X text 12 145 OUTLET_2 bang; +#X restore 473 374 pd META; +#X connect 0 0 1 0; +#X connect 0 1 5 0; +#X connect 0 2 18 0; +#X connect 2 0 0 0; +#X connect 2 1 0 1; +#X connect 3 0 0 0; +#X connect 3 1 0 1; +#X connect 4 0 3 0; +#X connect 8 0 0 0; +#X connect 9 0 0 0; +#X connect 10 0 0 0; diff --git a/scale-help.pd b/scale-help.pd index 816bda5..2eb8f30 100644 --- a/scale-help.pd +++ b/scale-help.pd @@ -1,31 +1,47 @@ -#N canvas 381 126 552 355 12; -#X floatatom 27 277 8 0 0; -#X floatatom 27 73 5 0 0; -#X text 213 48 written by ; -#X text 37 306 creation:; -#X text 141 11 scale :: scale input from a certain input range; -#X text 212 29 to lie between output boundaries; -#X floatatom 56 131 5 0 0; -#X floatatom 85 152 5 0 0; -#X floatatom 115 173 5 0 0; -#X floatatom 144 194 5 0 0; -#X text 84 71 input value; -#X text 106 278 scaled output value; -#X text 111 130 in low; -#X text 137 151 in high; -#X text 171 172 out low; -#X text 200 194 out high; -#X text 57 104 creation arguments can be changed dynamically:; -#X text 53 323 scale -; -#X obj 27 249 scale 0 9 100 255 0; -#X floatatom 174 220 5 0 0; -#X text 227 219 log coefficient; -#X text 265 237 0 = linear 1 = log; -#X connect 1 0 18 0; -#X connect 6 0 18 1; -#X connect 7 0 18 2; -#X connect 8 0 18 3; -#X connect 9 0 18 4; -#X connect 18 0 0 0; -#X connect 19 0 18 5; +#N canvas 0 26 533 385 12; +#X floatatom 27 277 8 0 0 0 - - -; +#X floatatom 27 73 5 0 0 0 - - -; +#X text 213 48 written by ; +#X text 37 306 creation:; +#X text 141 11 scale :: scale input from a certain input range; +#X text 212 29 to lie between output boundaries; +#X floatatom 56 131 5 0 0 0 - - -; +#X floatatom 85 152 5 0 0 0 - - -; +#X floatatom 115 173 5 0 0 0 - - -; +#X floatatom 144 194 5 0 0 0 - - -; +#X text 84 71 input value; +#X text 106 278 scaled output value; +#X text 111 130 in low; +#X text 137 151 in high; +#X text 171 172 out low; +#X text 200 194 out high; +#X text 57 104 creation arguments can be changed dynamically:; +#X text 53 323 scale +; +#X floatatom 174 220 5 0 0 0 - - -; +#X text 227 219 log coefficient; +#X text 265 237 0 = linear 1 = log; +#N canvas 293 158 494 344 META 0; +#X text 12 245 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 225 AUTHOR Olaf Matthes ; +#X text 12 205 OUTLET_0 float; +#X text 12 105 INLET_1 float; +#X text 12 45 DESCRIPTION scale input from a certain input range to +lie between output boundaries; +#X text 12 5 KEYWORDS control; +#X text 12 85 INLET_0 float; +#X text 12 125 INLET_2 float; +#X text 12 145 INLET_3 float; +#X text 12 165 INLET_4 float; +#X text 12 185 INLET_5 float; +#X restore 473 357 pd META; +#X obj 27 249 maxlib/scale 0 9 100 255 0; +#X connect 1 0 22 0; +#X connect 6 0 22 1; +#X connect 7 0 22 2; +#X connect 8 0 22 3; +#X connect 9 0 22 4; +#X connect 18 0 22 5; +#X connect 22 0 0 0; diff --git a/score-help.pd b/score-help.pd index a049bab..7c981f7 100644 --- a/score-help.pd +++ b/score-help.pd @@ -1,52 +1,66 @@ -#N canvas 246 86 629 516 12; -#X floatatom 30 301 5 0 0; -#X obj 30 12 notein; -#X obj 193 202 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X msg 95 93 start; -#X msg 104 118 stop; -#X text 217 203 reset; -#X text 145 92 start / stop score following; -#X msg 111 146 start 4; -#X text 176 146 start skipping first 4 notes; -#X obj 193 286 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -258699 --1; -#X text 217 287 error; -#X text 148 24 score :: score follower that tries to match incoming -; -#X text 221 41 MIDI data to a score stored in an array; -#X text 219 57 outputs the index number of current position; -#X obj 23 423 loadbang; -#N canvas 0 0 450 300 graph2 0; -#X array sco_array 25 float 1; -#A 0 60 61 62 63 64 65 66 67 68 69 70 71 72 71 70 69 68 67 66 65 64 -63 62 61 60; -#X coords 0 127 24 0 200 140 1; -#X restore 402 361 graph; -#X obj 30 235 score sco_array 2 300; -#X msg 130 173 set sco_array; -#X msg 23 449 \; sco_array resize 25 \; sco_array read examplescore.txt -\;; -#X text 250 174 set to array that contains the score; -#X text 88 303 position on score; -#X text 86 322 (x index of array); -#X obj 30 356 tabread sco_array; -#X floatatom 30 387 5 0 0; -#X text 86 388 note from score; -#X text 291 255 array: name of array containing score; -#X text 235 234 USAGE: score ; -#X text 292 272 skipitems: max. number of notes to skip; -#X text 292 289 skip time: max. time [ms] to rewind; -#X text 378 307 input data; -#X connect 0 0 22 0; -#X connect 1 0 16 0; -#X connect 1 1 16 1; -#X connect 2 0 16 2; -#X connect 3 0 16 0; -#X connect 4 0 16 0; -#X connect 7 0 16 0; -#X connect 14 0 18 0; -#X connect 16 0 0 0; -#X connect 16 1 9 0; -#X connect 17 0 16 0; -#X connect 22 0 23 0; +#N canvas 0 26 623 545 12; +#X floatatom 30 301 5 0 0 0 - - -; +#X obj 30 12 notein; +#X obj 193 202 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X msg 95 93 start; +#X msg 104 118 stop; +#X text 217 203 reset; +#X text 145 92 start / stop score following; +#X msg 111 146 start 4; +#X text 176 146 start skipping first 4 notes; +#X obj 193 286 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -258699 +-1; +#X text 217 287 error; +#X text 148 24 score :: score follower that tries to match incoming +; +#X text 221 41 MIDI data to a score stored in an array; +#X text 219 57 outputs the index number of current position; +#X obj 23 423 loadbang; +#N canvas 0 0 450 300 (subpatch) 0; +#X array sco_array 25 float 1; +#A 0 60 61 62 63 64 65 66 67 68 69 70 71 72 71 70 69 68 67 66 65 64 +63 62 61 60; +#X coords 0 127 24 0 200 140 1; +#X restore 402 361 graph; +#X obj 30 235 score sco_array 2 300; +#X msg 130 173 set sco_array; +#X msg 23 449 \; sco_array resize 25 \; sco_array read examplescore.txt +\;; +#X text 250 174 set to array that contains the score; +#X text 88 303 position on score; +#X text 86 322 (x index of array); +#X obj 30 356 tabread sco_array; +#X floatatom 30 387 5 0 0 0 - - -; +#X text 86 388 note from score; +#X text 291 255 array: name of array containing score; +#X text 235 234 USAGE: score ; +#X text 292 272 skipitems: max. number of notes to skip; +#X text 292 289 skip time: max. time [ms] to rewind; +#X text 378 307 input data; +#N canvas 292 198 494 344 META 0; +#X text 12 205 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 185 AUTHOR Olaf Matthes ; +#X text 12 105 INLET_1 float; +#X text 12 45 DESCRIPTION score follower that tries to match incoming +MIDI data to a score stored in an array; +#X text 12 85 INLET_0 float start stop set; +#X text 12 125 INLET_2 bang; +#X text 12 145 OUTLET_0 float; +#X text 12 165 OUTLET_0 bang; +#X text 12 5 KEYWORDS control MIDI analysis; +#X restore 563 517 pd META; +#X connect 0 0 22 0; +#X connect 1 0 16 0; +#X connect 1 1 16 1; +#X connect 2 0 16 2; +#X connect 3 0 16 0; +#X connect 4 0 16 0; +#X connect 7 0 16 0; +#X connect 14 0 18 0; +#X connect 16 0 0 0; +#X connect 16 1 9 0; +#X connect 17 0 16 0; +#X connect 22 0 23 0; diff --git a/speedlim-help.pd b/speedlim-help.pd index 2ef4f82..3283e1e 100644 --- a/speedlim-help.pd +++ b/speedlim-help.pd @@ -1,30 +1,42 @@ -#N canvas 445 253 464 314 12; -#X floatatom 38 54 5 0 0; -#X floatatom 18 264 5 0 0; -#X obj 38 141 speedlim 500; -#X text 126 18 speedlim :: lets information through; -#X text 222 37 only every N milliseconds; -#X text 152 171 creation argument = time in ms; -#X floatatom 129 116 5 0 0; -#X text 184 116 time between outputs in ms; -#X msg 49 82 bang; -#X obj 121 207 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 121 236 timer; -#X floatatom 121 262 5 0 0; -#X text 175 262 this should never be less than; -#X text 175 280 the creation argument of speedlim; -#X obj 18 194 route f; -#X obj 47 236 print; -#X msg 95 82 this is speedlim; -#X connect 0 0 2 0; -#X connect 2 0 9 0; -#X connect 2 0 14 0; -#X connect 6 0 2 1; -#X connect 8 0 2 0; -#X connect 9 0 10 1; -#X connect 9 0 10 0; -#X connect 10 0 11 0; -#X connect 14 0 1 0; -#X connect 14 1 15 0; -#X connect 16 0 2 0; +#N canvas 0 26 435 353 12; +#X floatatom 38 54 5 0 0 0 - - -; +#X floatatom 18 264 5 0 0 0 - - -; +#X obj 38 141 speedlim 500; +#X text 126 18 speedlim :: lets information through; +#X text 222 37 only every N milliseconds; +#X text 152 171 creation argument = time in ms; +#X floatatom 129 116 5 0 0 0 - - -; +#X text 184 116 time between outputs in ms; +#X msg 49 82 bang; +#X obj 121 207 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 121 236 timer; +#X floatatom 121 262 5 0 0 0 - - -; +#X text 175 262 this should never be less than; +#X text 175 280 the creation argument of speedlim; +#X obj 18 194 route f; +#X obj 47 236 print; +#X msg 95 82 this is speedlim; +#N canvas 292 198 494 344 META 0; +#X text 12 160 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 140 AUTHOR Olaf Matthes ; +#X text 12 100 INLET_1 float; +#X text 12 45 DESCRIPTION lets information through only every N milliseconds +; +#X text 12 80 INLET_0 anything; +#X text 12 120 OUTLET_0 anything; +#X text 12 5 KEYWORDS control filter anything_op; +#X restore 373 322 pd META; +#X connect 0 0 2 0; +#X connect 2 0 9 0; +#X connect 2 0 14 0; +#X connect 6 0 2 1; +#X connect 8 0 2 0; +#X connect 9 0 10 1; +#X connect 9 0 10 0; +#X connect 10 0 11 0; +#X connect 14 0 1 0; +#X connect 14 1 15 0; +#X connect 16 0 2 0; diff --git a/split-help.pd b/split-help.pd index c4e8d26..095d453 100644 --- a/split-help.pd +++ b/split-help.pd @@ -1,24 +1,38 @@ -#N canvas 328 32 560 463 12; -#X floatatom 27 304 8 0 0 0 - - -; -#X floatatom 27 73 5 0 0 0 - - -; -#X text 196 28 written by ; -#X floatatom 56 131 5 0 0 0 - - -; -#X floatatom 85 152 5 0 0 0 - - -; -#X text 84 71 input value; -#X text 57 104 creation arguments can be changed dynamically:; -#X text 35 341 creation arguments:; -#X obj 27 249 split 6 40; -#X text 111 130 lower limit; -#X text 137 151 upper limit; -#X text 35 378 All floats that fall below the lower limit or above -the upper limit get routed to the 2nd outlet.; -#X text 36 358 split ; -#X floatatom 102 276 5 0 0 0 - - -; -#X text 154 276 floats 'out of range'; -#X text 122 11 split :: split incoming floats according to value; -#X text 106 305 floats 'in range' (including borders!); -#X connect 1 0 8 0; -#X connect 3 0 8 1; -#X connect 4 0 8 2; -#X connect 8 0 0 0; -#X connect 8 1 13 0; +#N canvas 0 26 514 431 12; +#X floatatom 27 304 8 0 0 0 - - -; +#X floatatom 27 73 5 0 0 0 - - -; +#X text 196 28 written by ; +#X floatatom 56 131 5 0 0 0 - - -; +#X floatatom 85 152 5 0 0 0 - - -; +#X text 84 71 input value; +#X text 57 104 creation arguments can be changed dynamically:; +#X text 35 341 creation arguments:; +#X obj 27 249 split 6 40; +#X text 111 130 lower limit; +#X text 137 151 upper limit; +#X text 35 378 All floats that fall below the lower limit or above +the upper limit get routed to the 2nd outlet.; +#X text 36 358 split ; +#X floatatom 102 276 5 0 0 0 - - -; +#X text 154 276 floats 'out of range'; +#X text 122 11 split :: split incoming floats according to value; +#X text 106 305 floats 'in range' (including borders!); +#N canvas 292 198 494 344 META 0; +#X text 12 190 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2; +#X text 12 170 AUTHOR Olaf Matthes ; +#X text 12 90 INLET_1 float; +#X text 12 5 KEYWORDS control filter anything_op; +#X text 12 45 DESCRIPTION split incoming floats according to value +; +#X text 12 70 INLET_0 float; +#X text 12 110 INLET_2 float; +#X text 12 130 OUTLET_0 float; +#X text 12 150 OUTLET_1 float; +#X restore 453 402 pd META; +#X connect 1 0 8 0; +#X connect 3 0 8 1; +#X connect 4 0 8 2; +#X connect 8 0 0 0; +#X connect 8 1 13 0; diff --git a/step-help.pd b/step-help.pd index 9197d01..858462e 100644 --- a/step-help.pd +++ b/step-help.pd @@ -1,22 +1,35 @@ -#N canvas 417 206 533 314 12; -#X floatatom 33 229 5 0 0; -#X text 72 7 step :: output sequence of numbers (similar to 'line') -; -#X text 138 25 written by Olaf Matthes (olaf.matthes@gmx.de); -#X text 222 250 stepsize :: step between two numbers; -#X msg 33 76 23 6000 2; -#X msg 62 119 230; -#X obj 101 282 line; -#X text 98 117 send a single number to jump; -#X text 121 77 send a triplet to step to a new value; -#X text 22 282 see also:; -#X msg 80 146 stop; -#X text 127 147 "stop" message to stop output; -#X text 121 92