From 3cf10b76a1322341856509569310681e4f4b81e9 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Mon, 3 Jan 2011 17:52:00 +0000 Subject: added META subpatch svn path=/trunk/externals/ekext/; revision=14688 --- count-help.pd | 34 ++++++++++++- count.pd | 2 +- cup-help.pd | 10 ++++ cupd-help.pd | 15 +++++- doubledelta-help.pd | 15 +++++- framescore~-help.pd | 19 +++++-- framespect~-help.pd | 21 ++++++-- hasc~-help.pd | 16 +++++- hssc~-help.pd | 26 +++++++--- list_sum-help.pd | 16 +++++- listmoses-help.pd | 21 +++++++- lpc~-help.pd | 19 +++++-- lpreson~-help.pd | 14 +++++- maskxor-help.pd | 17 ++++++- peakit~-help.pd | 19 +++++-- polymap-help.pd | 17 ++++++- polystat-help.pd | 17 ++++++- sieve-help.pd | 15 +++++- simile-help.pd | 16 +++++- simile~-help.pd | 29 ++++++++--- steady-help.pd | 16 +++++- valve-help.pd | 14 +++++- voicing_detector~-help.pd | 19 ++++++- voicing_detector~test3-help.pd | 81 +++++++++++++++-------------- weightonset-help.pd | 112 ++++++++++++++++++++++++----------------- zeroxpos~-help.pd | 15 +++++- 26 files changed, 484 insertions(+), 131 deletions(-) diff --git a/count-help.pd b/count-help.pd index a079712..cc4325f 100644 --- a/count-help.pd +++ b/count-help.pd @@ -1,2 +1,34 @@ -#N canvas 1 52 450 300 10; +#N canvas 0 31 450 300 10; +#N canvas 458 322 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 165 AUTHOR Ed Kelly ; +#X text 12 65 INLET_0 float bang; +#X text 12 125 OUTLET_0 float; +#X text 12 25 LICENSE GPL v3; +#X text 12 5 KEYWORDS control abstraction; +#X text 12 45 DESCRIPTION simple counter abstraction; +#X text 12 85 INLET_1 bang; +#X text 12 105 INLET_2 float; +#X text 12 145 OUTLET_1 bang; +#X restore 387 265 pd META; +#X floatatom 134 195 5 0 0 0 - - -; +#X obj 196 195 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +-1 -1; +#X obj 155 29 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X obj 168 64 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 +-1; +#X msg 182 89 12; +#X floatatom 109 36 5 0 0 0 - - -; +#X text 180 27 count; +#X text 195 59 reset; +#X text 216 89 mod; #X obj 155 148 count; +#X text 219 197 bang when limit reached; +#X connect 3 0 10 0; +#X connect 4 0 10 1; +#X connect 5 0 10 2; +#X connect 6 0 10 0; +#X connect 10 0 1 0; +#X connect 10 1 2 0; diff --git a/count.pd b/count.pd index 9be4cf8..f3ff0b0 100644 --- a/count.pd +++ b/count.pd @@ -1,4 +1,4 @@ -#N canvas 529 241 271 210 10; +#N canvas 0 31 271 210 10; #X obj 69 42 inlet; #X obj 180 76 inlet; #X obj 69 59 f; diff --git a/cup-help.pd b/cup-help.pd index ea1a27f..c576674 100644 --- a/cup-help.pd +++ b/cup-help.pd @@ -38,6 +38,16 @@ #X connect 7 0 8 0; #X connect 8 0 1 0; #X restore 230 158 pd simplecounter; +#N canvas 379 254 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 45 DESCRIPTION it's the simplest counter there is; +#X text 12 65 INLET_0 float bang setbang; +#X text 12 85 OUTLET_0 float; +#X text 12 5 KEYWORDS control storage; +#X text 12 25 LICENSE GPL v3; +#X text 12 105 AUTHOR Ed Kelly ; +#X restore 374 240 pd META; #X connect 0 0 8 0; #X connect 1 0 0 0; #X connect 2 0 0 0; diff --git a/cupd-help.pd b/cupd-help.pd index 2bd8d67..4500ee2 100644 --- a/cupd-help.pd +++ b/cupd-help.pd @@ -1,9 +1,9 @@ -#N canvas 0 0 450 300 10; +#N canvas 0 31 450 300 10; #X obj 87 161 cupd; #X obj 87 94 metro 100; #X obj 87 56 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; -#X obj 110 134 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 110 134 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X floatatom 87 201 5 0 0 0 - - -; #X msg 197 102 160; @@ -12,6 +12,17 @@ #X text 223 101 float sets next; #X text 132 135 != 0 counts down \, 0 counts up; #X text 69 235 aaaaah \, simplicity!; +#N canvas 379 254 447 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 5 KEYWORDS control storage; +#X text 12 125 AUTHOR Ed Kelly ; +#X text 12 65 INLET_0 float bang; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 45 DESCRIPTION cup counts up ^_^ and down _^_; +#X text 12 25 LICENSE GPL v3; +#X restore 390 270 pd META; #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 2 0 1 0; diff --git a/doubledelta-help.pd b/doubledelta-help.pd index a06d36b..1be2ed4 100644 --- a/doubledelta-help.pd +++ b/doubledelta-help.pd @@ -1,10 +1,21 @@ -#N canvas 1 52 450 300 10; +#N canvas 0 31 450 300 10; #X obj 138 148 doubledelta; #X obj 139 113 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 --1 -1 5900 1; +-1 -1 0 1; #X floatatom 138 178 5 0 0 0 - - -; #X floatatom 201 178 5 0 0 0 - - -; #X text 87 63 delta and delta-of-delta of incoming values; +#N canvas 55 93 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 125 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS control needs_work (example patch); +#X text 12 45 DESCRIPTION ???; +#X text 12 65 INLET_0 float bang; +#X text 12 85 OUTLET_0 float; +#X text 12 105 OUTLET_1 float; +#X text 12 25 LICENSE GPL v3; +#X restore 394 270 pd META; #X connect 0 0 2 0; #X connect 0 1 3 0; #X connect 1 0 0 0; diff --git a/framescore~-help.pd b/framescore~-help.pd index 694cd6f..ec0deb4 100644 --- a/framescore~-help.pd +++ b/framescore~-help.pd @@ -1,4 +1,4 @@ -#N canvas 184 397 913 445 10; +#N canvas 0 31 913 445 10; #N canvas 0 22 464 243 frame-scoring 0; #X obj 61 76 inlet~; #X obj 362 116 block~ 1024; @@ -36,11 +36,11 @@ #X obj 73 73 openpanel; #X obj 107 23 inlet; #X obj 107 40 sel 1 2; -#N canvas 0 22 450 300 graph20 0; +#N canvas 0 22 450 300 (subpatch) 0; #X array test-1 325922 float 0; #X coords 0 1 325921 -1 300 80 1; #X restore 83 191 graph; -#N canvas 0 22 450 300 graph20 0; +#N canvas 0 22 450 300 (subpatch) 0; #X array test-2 192058 float 0; #X coords 0 1 192057 -1 300 80 1; #X restore 83 282 graph; @@ -134,6 +134,19 @@ the library.; #X obj 671 318 hssc~; #X text 438 210 Alternatively the object may be used to compare any positive pair of vectors block-by-block.; +#N canvas 379 254 494 344 META 0; +#X text 12 175 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 155 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS signal; +#X text 12 45 DESCRIPTION calculate a weighted similarity value for +two signal vectors; +#X text 12 75 INLET_0 signal; +#X text 12 95 INLET_1 signal; +#X text 12 115 INLET_2 float; +#X text 12 135 OUTLET_0 float; +#X text 12 25 LICENSE GPL v3; +#X restore 848 413 pd META; #X connect 0 0 1 0; #X connect 1 0 2 1; #X connect 2 0 29 0; diff --git a/framespect~-help.pd b/framespect~-help.pd index ea4c3e6..32ff4e1 100644 --- a/framespect~-help.pd +++ b/framespect~-help.pd @@ -1,4 +1,4 @@ -#N canvas 109 303 913 445 10; +#N canvas 0 31 913 445 10; #N canvas 0 22 468 247 frame-scoring 0; #X obj 61 76 inlet~; #X obj 362 116 block~ 1024; @@ -32,11 +32,11 @@ #X obj 73 73 openpanel; #X obj 107 23 inlet; #X obj 107 40 sel 1 2; -#N canvas 0 22 450 300 graph20 0; +#N canvas 0 22 450 300 (subpatch) 0; #X array test-1 325922 float 0; #X coords 0 1 325921 -1 300 80 1; #X restore 83 191 graph; -#N canvas 0 22 450 300 graph20 0; +#N canvas 0 22 450 300 (subpatch) 0; #X array test-2 192058 float 0; #X coords 0 1 192057 -1 300 80 1; #X restore 83 282 graph; @@ -130,6 +130,21 @@ conversion is done internally to the object \, may not be used in the same way as it can with \, but since the phase is not calculated as it is in it is marginally less CPU-intensive.; +#N canvas 379 254 494 344 META 0; +#X text 12 215 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 5 KEYWORDS signal; +#X text 12 25 LICENSE GPL v3; +#X text 12 45 DESCRIPTION calculate a weighted similarity value for +two signal vectors; +#X text 12 75 INLET_0 signal; +#X text 12 95 INLET_1 signal; +#X text 12 135 INLET_3 signal; +#X text 12 115 INLET_2 signal; +#X text 12 155 INLET_4 float; +#X text 12 175 OUTLET_0 float; +#X text 12 195 AUTHOR Ed Kelly ; +#X restore 855 416 pd META; #X connect 0 0 1 0; #X connect 1 0 2 1; #X connect 2 0 28 0; diff --git a/hasc~-help.pd b/hasc~-help.pd index 092e270..ce645d9 100644 --- a/hasc~-help.pd +++ b/hasc~-help.pd @@ -1,3 +1,17 @@ -#N canvas 1 52 450 300 10; +#N canvas 0 31 450 300 10; #X obj 109 101 hasc~; #X text 78 43 Highest Apparent Spectral Component; +#N canvas 303 130 489 373 META 0; +#X text 12 195 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 5 KEYWORDS signal needs_work (example patch); +#X text 12 45 DESCRIPTION highest apparent spectral component \, according +to amplitude threshold; +#X text 12 75 INLET_0 signal; +#X text 12 95 INLET_1 signal; +#X text 12 115 INLET_2 float; +#X text 12 135 OUTLET_0 float; +#X text 12 155 OUTLET_1 float; +#X text 12 175 AUTHOR Ed Kelly ; +#X text 12 25 LICENSE GPL v3; +#X restore 387 265 pd META; diff --git a/hssc~-help.pd b/hssc~-help.pd index 2f59ba4..6f1cc06 100644 --- a/hssc~-help.pd +++ b/hssc~-help.pd @@ -1,5 +1,5 @@ -#N canvas 20 27 860 633 10; -#N canvas 0 22 450 300 graph1 0; +#N canvas 0 31 860 633 10; +#N canvas 0 22 450 300 (subpatch) 0; #X array play-01 209416 float 0; #X coords 0 1 209415 -1 750 71 1; #X restore 72 34 graph; @@ -32,7 +32,7 @@ #X restore 88 329 pd play-01; #X obj 88 299 bng 15 250 50 0 empty empty play -6 -10 0 18 -225280 -1 -90881; -#X obj 153 315 bng 15 250 50 0 empty bang-load load -4 -6 64 12 -228992 +#X obj 153 315 bng 15 250 50 0 empty bang-load load -4 -6 0 12 -228992 -1 -1; #X floatatom 245 367 5 2 2000 1 ratio ratio_set -; #X floatatom 88 469 5 0 0 0 - - -; @@ -76,17 +76,17 @@ #X obj 273 428 spigot; #X obj 273 396 t f f; #X obj 303 412 > 0; -#N canvas 0 22 450 300 graph1 0; +#N canvas 0 22 450 300 (subpatch) 0; #X array hssc 204 float 0; #X coords 0 511 203 0 750 71 1; #X restore 72 107 graph; -#N canvas 0 22 450 300 graph1 0; +#N canvas 0 22 450 300 (subpatch) 0; #X array sssc 204 float 0; #X coords 0 511 203 0 750 71 1; #X restore 72 193 graph; #X obj 273 489 tabwrite sssc; #X obj 100 351 dac~; -#N canvas 0 22 450 300 graph1 0; +#N canvas 0 22 450 300 (subpatch) 0; #X array pointer 204 float 0; #X coords 0 1 203 0 750 11 1; #X restore 72 180 graph; @@ -119,6 +119,20 @@ strongest significant spectral component; #X msg 559 448 \; pd dsp 1 \; bang-load bang; #X text 562 432 start here; #X text 563 489 then hit play; +#N canvas 369 151 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 165 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS signal; +#X text 12 25 LICENSE GPL v3; +#X text 12 45 DESCRIPTION the highest significant spectral component +; +#X text 12 65 INLET_0 signal; +#X text 12 85 INLET_1 signal; +#X text 12 105 INLET_2 float; +#X text 12 125 OUTLET_0 float; +#X text 12 145 OUTLET_1 float; +#X restore 794 598 pd META; #X connect 1 0 34 0; #X connect 1 0 34 1; #X connect 1 0 18 0; diff --git a/list_sum-help.pd b/list_sum-help.pd index 7259add..48cbcbd 100644 --- a/list_sum-help.pd +++ b/list_sum-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 707 528 10; +#N canvas 0 31 637 475 10; #X obj 84 255 list_sum; #X floatatom 101 358 0 0 0 3 length - -; #X floatatom 84 391 0 0 0 3 total - -; @@ -24,6 +24,20 @@ -1; #X text 206 301 calculate the sum of elements in a list \, wrapping the list.; +#N canvas 239 251 494 344 META 0; +#X text 12 199 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 179 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS control storage list_op; +#X text 12 45 DESCRIPTION calculate the sum of elements in a list \, +wrapping the list; +#X text 12 25 LICENSE GPL v3; +#X text 12 79 INLET_0 all set clear; +#X text 12 99 INLET_1 float; +#X text 12 119 INLET_2 float; +#X text 12 139 OUTLET_0 float; +#X text 12 159 OUTLET_1 float; +#X restore 577 446 pd META; #X connect 0 0 2 0; #X connect 0 1 1 0; #X connect 3 0 0 0; diff --git a/listmoses-help.pd b/listmoses-help.pd index 50451ab..12b2e90 100644 --- a/listmoses-help.pd +++ b/listmoses-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 849 300 10; +#N canvas 0 31 709 300 10; #X obj 141 151 listmoses; #X floatatom 287 137 5 0 0 0 - - -; #X floatatom 324 137 5 0 0 0 - - -; @@ -20,6 +20,25 @@ contained within the first list. When used with binline~ it can be used to isolate particular frequency/amplitude lists where the frequencies are constrained \, or where the amplitudes are constrained (when used with _swap_).; +#N canvas 159 147 507 333 META 0; +#X text 12 295 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 275 AUTHOR Ed Kelly ; +#X text 12 25 LICENSE GPL v3; +#X text 12 45 DESCRIPTION split two lists up according to the values +contained within the first list; +#X text 12 75 INLET_0 list; +#X text 12 95 INLET_1 list; +#X text 12 115 INLET_2 float; +#X text 12 135 INLET_3 float; +#X text 12 155 OUTLET_0 list; +#X text 12 175 OUTLET_1 list; +#X text 12 195 OUTLET_2 list; +#X text 12 215 OUTLET_3 list; +#X text 12 235 OUTLET_4 list; +#X text 12 255 OUTLET_5 list; +#X text 12 5 KEYWORDS control list_op; +#X restore 650 270 pd META; #X connect 0 0 9 0; #X connect 0 1 10 0; #X connect 0 2 11 0; diff --git a/lpc~-help.pd b/lpc~-help.pd index 7c9faea..d5dd04b 100644 --- a/lpc~-help.pd +++ b/lpc~-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 917 300 10; +#N canvas 0 31 763 270 10; #X obj 185 160 lpc~ 10; #N canvas 0 0 450 300 playsound 0; #X obj 68 74 inlet; @@ -20,10 +20,10 @@ #X connect 5 0 6 0; #X connect 6 0 7 0; #X restore 185 119 pd playsound; -#N canvas 0 0 450 300 graph1 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array testfile 1.7683e+06 float 0; #X coords 0 1 1.7683e+06 -1 200 140 1; -#X restore 516 19 graph; +#X restore 516 39 graph; #X obj 264 104 bng 15 250 50 0 empty empty load 0 -6 0 8 -262144 -1 -1; #X obj 185 104 bng 15 250 50 0 empty empty play 0 -6 0 8 -262144 -1 @@ -38,6 +38,19 @@ #X floatatom 242 142 5 1 100 0 poles - -; #X obj 184 183 lpreson~; #X obj 185 206 hip~ 18; +#N canvas 381 277 494 344 META 0; +#X text 12 175 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 155 AUTHOR Ed Kelly ; +#X text 12 135 OUTLET_1 float; +#X text 12 45 DESCRIPTION Linear Predictive Coding - PARCOR and residual +generation; +#X text 12 75 INLET_0 signal; +#X text 12 95 INLET_1 float; +#X text 12 115 OUTLET_0 signal; +#X text 12 25 LICENSE GPL v3; +#X text 12 5 KEYWORDS signal; +#X restore 707 241 pd META; #X connect 0 0 11 0; #X connect 0 1 11 0; #X connect 1 0 0 0; diff --git a/lpreson~-help.pd b/lpreson~-help.pd index 7c9faea..cdbc84e 100644 --- a/lpreson~-help.pd +++ b/lpreson~-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 917 300 10; +#N canvas 0 31 765 300 10; #X obj 185 160 lpc~ 10; #N canvas 0 0 450 300 playsound 0; #X obj 68 74 inlet; @@ -20,7 +20,7 @@ #X connect 5 0 6 0; #X connect 6 0 7 0; #X restore 185 119 pd playsound; -#N canvas 0 0 450 300 graph1 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array testfile 1.7683e+06 float 0; #X coords 0 1 1.7683e+06 -1 200 140 1; #X restore 516 19 graph; @@ -38,6 +38,16 @@ #X floatatom 242 142 5 1 100 0 poles - -; #X obj 184 183 lpreson~; #X obj 185 206 hip~ 18; +#N canvas 620 320 494 344 META 0; +#X text 12 125 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 105 AUTHOR Ed Kelly ; +#X text 12 85 OUTLET_0 signal; +#X text 12 45 DESCRIPTION Lattice IIR filter for lpc; +#X text 12 25 LICENSE GPL v3; +#X text 12 5 KEYWORDS signal filter; +#X text 12 65 INLET_0 signal float; +#X restore 697 255 pd META; #X connect 0 0 11 0; #X connect 0 1 11 0; #X connect 1 0 0 0; diff --git a/maskxor-help.pd b/maskxor-help.pd index 1276de8..0e81fd0 100644 --- a/maskxor-help.pd +++ b/maskxor-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 956 304 10; +#N canvas 0 31 956 304 10; #X obj 368 207 maskxor; #X obj 457 63 t b b; #X msg 38 157 bang; @@ -41,7 +41,7 @@ is GNU software.; #X msg 678 114 1 1 0 0 0 1; #X msg 721 131 0 1 1 0 2 1 0; #X msg 669 190 mode \$1; -#X obj 669 167 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 669 167 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 728 191 ... in mode 1 \, floats are only; #X text 729 204 passed through the left outlet; @@ -77,6 +77,19 @@ is GNU software.; #X text 847 105 |; #X text 847 114 |; #X text 759 65 <; +#N canvas 355 347 494 344 META 0; +#X text 12 5 GENRE help; +#X text 12 185 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 45 LICENSE GPL v3; +#X text 12 165 AUTHOR Ed Kelly ; +#X text 12 65 DESCRIPTION exclusive-OR mask map; +#X text 12 25 KEYWORDS control list_op; +#X text 12 85 INLET_0 float listl listr clear bang mode; +#X text 12 105 OUTLET_0 float; +#X text 12 125 OUTLET_1 float; +#X text 12 145 OUTLET_2 list; +#X restore 887 275 pd META; #X connect 0 0 4 0; #X connect 0 1 3 0; #X connect 0 2 12 0; diff --git a/peakit~-help.pd b/peakit~-help.pd index 276f4d7..0328c57 100644 --- a/peakit~-help.pd +++ b/peakit~-help.pd @@ -1,4 +1,4 @@ -#N canvas 183 261 585 491 10; +#N canvas 0 31 585 491 10; #X text 267 241 argument sets minimum magnitude to report; #X obj 150 161 *~; #X obj 166 139 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 @@ -10,7 +10,7 @@ 1; #X text 263 207 turn processing on or off; #X obj 220 161 *~; -#X obj 236 139 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 236 139 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #N canvas 0 22 458 308 peakit~ 0; #X obj 59 69 inlet~; @@ -33,8 +33,21 @@ with the [switch~] object. Its set to 1024 here.; #X restore 168 262 pd peakit~; #X obj 202 138 osc~; #X obj 205 98 hsl 128 15 50 500 1 0 empty empty empty -2 -6 0 8 -262144 --1 -1 8100 0; +-1 -1 0 0; #X floatatom 211 118 5 0 0 0 - - -; +#N canvas 379 254 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 25 LICENSE GPL v3; +#X text 12 165 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS signal needs_work (description); +#X text 12 45 DESCRIPTION needs a description; +#X text 12 65 INLET_0 signal; +#X text 12 85 INLET_1 float; +#X text 12 105 INLET_2 float; +#X text 12 125 OUTLET_0 list; +#X text 12 145 OUTLET_1 list; +#X restore 528 459 pd META; #X connect 1 0 10 0; #X connect 2 0 1 1; #X connect 3 0 1 0; diff --git a/polymap-help.pd b/polymap-help.pd index 292f95e..0f93365 100644 --- a/polymap-help.pd +++ b/polymap-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 690 434 10; +#N canvas 0 31 690 434 10; #X obj 502 26 sieve; #X obj 545 26 maskxor; #X obj 26 26 polymap; @@ -39,6 +39,21 @@ be stored until one is set to 0 again.; #X text 23 100 Values are stored as messages in the form [note x y value( where value is either 0 or some other value.; #X text 217 147 noteoffs; +#N canvas 346 235 494 344 META 0; +#X text 12 205 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 25 LICENSE GPL v3; +#X text 12 185 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS control MIDI; +#X text 12 45 DESCRIPTION two-dimensional polypony-resetricted map +; +#X text 12 65 INLET_0 note clear print print32; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 125 OUTLET_1 float; +#X text 12 145 OUTLET_2 float; +#X text 12 165 OUTLET_3 list; +#X restore 624 404 pd META; #X connect 6 0 7 1; #X connect 7 0 18 0; #X connect 7 1 12 0; diff --git a/polystat-help.pd b/polystat-help.pd index 187cf7d..64407f4 100644 --- a/polystat-help.pd +++ b/polystat-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 785 462 10; +#N canvas 0 31 726 429 10; #X obj 76 256 polystat; #X floatatom 76 351 5 0 0 1 voice - -; #X floatatom 88 337 5 0 0 1 instances - -; @@ -57,6 +57,21 @@ updated when another voice's instances exceed; #X obj 515 24 maskxor; #X text 44 389 Polyphony control objects by Ed Kelly \, November 2006 ; +#N canvas 379 254 494 344 META 0; +#X text 12 205 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 25 LICENSE GPL v3; +#X text 12 185 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS control MIDI; +#X text 12 45 DESCRIPTION outpu statistics about voice usage; +#X text 12 65 INLET_0 float mode clear print getmap voices clearall +; +#X text 12 85 OUTLET_0 float; +#X text 12 105 OUTLET_1 float; +#X text 12 125 OUTLET_2 float; +#X text 12 145 OUTLET_3 float; +#X text 12 165 OUTLET_4 list; +#X restore 666 401 pd META; #X connect 0 0 1 0; #X connect 0 1 2 0; #X connect 0 2 3 0; diff --git a/sieve-help.pd b/sieve-help.pd index e472628..f475ea0 100644 --- a/sieve-help.pd +++ b/sieve-help.pd @@ -1,4 +1,4 @@ -#N canvas 439 25 595 461 10; +#N canvas 0 31 595 504 10; #X obj 94 346 sieve; #X msg 147 276 set 2 1; #X msg 198 276 set 7 0.86; @@ -94,6 +94,19 @@ is wrapped and the lowest or highest is chosen respectively.; #X connect 11 0 0 0; #X connect 13 0 0 0; #X restore 325 298 pd register_functions; +#N canvas 379 254 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 25 LICENSE GPL v3; +#X text 12 165 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS signal needs_work (description); +#X text 12 45 DESCRIPTION needs a description; +#X text 12 65 INLET_0 signal; +#X text 12 85 INLET_1 float; +#X text 12 105 INLET_2 float; +#X text 12 125 OUTLET_0 list; +#X text 12 145 OUTLET_1 list; +#X restore 538 474 pd META; #X connect 0 0 6 0; #X connect 0 1 7 0; #X connect 0 2 8 0; diff --git a/simile-help.pd b/simile-help.pd index 9b2d510..80b73ea 100644 --- a/simile-help.pd +++ b/simile-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 719 285 10; +#N canvas 0 31 653 285 10; #X floatatom 29 62 5 0 0 3 in-1 #0-sim-1-in-1 -; #X floatatom 95 63 5 0 0 3 in-2 #0-sim-1-in-2 -; #X floatatom 144 99 5 0 0 3 window #0-sim-1-win -; @@ -26,6 +26,20 @@ is a 1 If thetwo numbers differ by the value of the error window then the output is 0.5. The second outlet is the sign \, so that if i1 >= i2 it is a 1 and if i1 < i2 it is a -1; #X text 262 114 useful for comparing pitches \, durations etc.; +#N canvas 415 266 494 265 META 0; +#X text 12 185 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 25 LICENSE GPL v3; +#X text 12 165 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION compare two numbers according to an error +window; +#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 597 257 pd META; #X connect 0 0 4 0; #X connect 1 0 4 1; #X connect 2 0 4 2; diff --git a/simile~-help.pd b/simile~-help.pd index a1847e3..62b8fbd 100644 --- a/simile~-help.pd +++ b/simile~-help.pd @@ -1,4 +1,4 @@ -#N canvas 365 7 693 886 10; +#N canvas 0 31 693 886 10; #X obj 71 321 simile~; #X obj 71 269 sig~; #X obj 113 270 sig~; @@ -150,7 +150,7 @@ useful for phase-locked loops and other self-calibrating machines... #X floatatom 259 648 5 0 100 2 volume - -; #X obj 82 689 dac~; #X text 157 621 output~; -#N canvas 0 0 450 300 graph2 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array sim 8820 float 1; #A 0 0.00893242 0.00894733 0.0089625 0.00897789 0.00899362 0.0090096 0.00902575 0.00904234 0.0090591 0.00907611 0.00909355 0.00911105 0.00912905 @@ -1402,7 +1402,7 @@ useful for phase-locked loops and other self-calibrating machines... 0.0096371 0.00966539 0.00969393 0.00972312 0.00975249 0.00978236; #X coords 0 1 8819 -1 300 100 1; #X restore 358 484 graph; -#N canvas 0 0 450 300 graph2 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array sign 8820 float 1; #A 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 @@ -1735,7 +1735,7 @@ useful for phase-locked loops and other self-calibrating machines... 1; #X coords 0 1 8819 -1 300 100 1; #X restore 358 587 graph; -#N canvas 0 0 450 300 graph3 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array sine-1 8820 float 1; #A 0 -0.739 -0.742134 -0.745241 -0.748349 -0.751425 -0.75449 -0.75755 -0.760572 -0.763594 -0.766594 -0.769572 -0.77255 -0.775491 -0.778425 @@ -4137,7 +4137,7 @@ useful for phase-locked loops and other self-calibrating machines... #X obj 248 238 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 248 253 \; pd dsp \$1; -#X obj 185 399 tgl 15 0 empty empty graph 0 -6 0 8 -262144 -1 -1 1 +#X obj 185 399 tgl 15 0 empty empty graph 0 -6 0 8 -262144 -1 -1 0 1; #X msg 185 414 \; metro \$1; #X obj 268 506 bng 15 250 50 0 empty empty graph 0 -6 0 8 -262144 -1 @@ -4147,7 +4147,7 @@ useful for phase-locked loops and other self-calibrating machines... #X floatatom 188 690 5 0 0 0 - - -; #X obj 221 713 / 64; #X floatatom 233 745 5 0 0 0 - - -; -#N canvas 0 0 450 300 graph2 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array score 8820 float 1; #A 0 0.438094 0.141779 0.0824044 0.0618505 0.0561296 0.0623698 0.0988021 0.341186 0.087642 0.0391706 0.0256266 0.0199546 0.0175753 0.0173033 @@ -5000,7 +5000,7 @@ useful for phase-locked loops and other self-calibrating machines... 0.00893611 0.0172416 0.114685 0.0191837 0.00906882 0.0064335 0.00541941 0.00513921 0.00542282 0.00646134 0.00924126 0.0212836 0.107861 0.0145255 0.00791741 0.00590706 0.0051426 0.00501545 0.00544724 0.00673092 0.0102571 -0.0327235 0.096902; +0.0327235 0.096902 ; #A 6000 0.0122069 0.00737504 0.00575324 0.00516745 0.00518156 0.00579757 0.00745284 0.0122643 0.0982692 0.039197 0.011181 0.00732271 0.00594972 0.005509 0.00568242 0.00656155 0.00881636 0.016 0.118272 0.0263769 @@ -5414,6 +5414,21 @@ vector block. divide by the blocksize to get the average for each block. ; #X text 253 708 divide by; #X text 254 719 blocksize; +#N canvas 379 254 494 344 META 0; +#X text 12 205 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 25 LICENSE GPL v3; +#X text 12 185 AUTHOR Ed Kelly ; +#X text 12 45 DESCRIPTION compare two signals according to an error +window; +#X text 12 65 INLET_0 signal; +#X text 12 85 INLET_1 signal; +#X text 12 105 INLET_2 float; +#X text 12 125 OUTLET_0 signal; +#X text 12 145 OUTLET_1 signal; +#X text 12 165 OUTLET_2; +#X text 12 5 KEYWORDS signal needs_work (OUTLET_2?); +#X restore 634 855 pd META; #X connect 0 0 13 0; #X connect 0 1 17 0; #X connect 1 0 0 0; diff --git a/steady-help.pd b/steady-help.pd index 260409f..cb2ec62 100644 --- a/steady-help.pd +++ b/steady-help.pd @@ -1,4 +1,4 @@ -#N canvas 455 323 616 303 10; +#N canvas 0 31 616 303 10; #N canvas 0 22 696 311 fiddle-example 0; #X obj 139 187 steady; #X floatatom 98 223 5 0 0 3 max - -; @@ -97,6 +97,20 @@ occurs from then onwards.; #X text 194 188 ...sometimes useful to filter out erroneous results from fiddle~ and other externs...; #X text 194 73 but...; +#N canvas 379 254 494 279 META 0; +#X text 12 185 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 25 LICENSE GPL v3; +#X text 12 165 AUTHOR Ed Kelly ; +#X text 12 5 KEYWORDS control; +#X text 12 45 DESCRIPTION get maximum and minimum from a stream of +numbers; +#X text 12 65 INLET_0 float; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 125 OUTLET_1 float; +#X text 12 145 OUTLET_2 float; +#X restore 553 273 pd META; #X connect 1 0 10 0; #X connect 1 1 11 0; #X connect 1 2 12 0; diff --git a/valve-help.pd b/valve-help.pd index d5c7cef..be7c5c7 100644 --- a/valve-help.pd +++ b/valve-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 450 300 10; +#N canvas 0 31 429 276 10; #X obj 126 189 valve; #X msg 60 46 map 0 0 1 1 1 1 0 0; #X obj 21 82 loadbang; @@ -24,6 +24,18 @@ #X text 175 78 _________; #X msg 240 82 6; #X text 149 98 ______; +#N canvas 379 254 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 25 LICENSE GPL v3; +#X text 12 145 AUTHOR Ed Kelly ; +#X text 12 45 DESCRIPTION needs a description; +#X text 12 5 KEYWORDS control needs_work (description); +#X text 12 65 INLET_0 float map; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 125 OUTLET_1 float; +#X restore 372 243 pd META; #X connect 0 0 9 0; #X connect 0 1 10 0; #X connect 1 0 0 0; diff --git a/voicing_detector~-help.pd b/voicing_detector~-help.pd index 6b863d6..af82432 100644 --- a/voicing_detector~-help.pd +++ b/voicing_detector~-help.pd @@ -1,4 +1,4 @@ -#N canvas 109 182 510 323 10; +#N canvas 0 31 486 356 10; #N canvas 119 189 450 300 voxdetect 0; #X obj 150 156 voicing_detector~; #X obj 150 99 inlet~; @@ -68,11 +68,26 @@ #X floatatom 193 168 5 0 0 0 - - -; #X text 79 253 The voicing detector estimates whether a frame of speech is voiced (uses the vocal chords) or unvoiced (does not).; -#X text 128 288 (Gnu) Edward Kelly and Nicolas Chetry 2005; +#X text 128 318 (Gnu) Edward Kelly and Nicolas Chetry 2005; #X msg 15 131 \; pd dsp \$1; #X obj 15 102 tgl 15 0 empty empty audio_on 0 -6 0 8 -262144 -1 -1 0 1; #X obj 124 162 adc~; +#X obj 93 291 pddp/pddplink voicing_detector~test3-help.pd; +#N canvas 397 190 494 344 META 0; +#X text 12 5 GENRE help; +#X text 12 195 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 45 LICENSE GPL v3; +#X text 12 25 KEYWORDS signal analysis; +#X text 12 175 AUTHOR Ed Kelly and Nicolas Chetry; +#X text 12 65 DESCRIPTION estimate whether a frame of speech is voiced +or unvoiced; +#X text 12 95 INLET_0 signal; +#X text 12 115 INLET_1 float; +#X text 12 135 OUTLET_0 float; +#X text 12 155 OUTLET_1 signal; +#X restore 429 320 pd META; #X connect 0 0 7 0; #X connect 0 1 8 0; #X connect 0 1 8 1; diff --git a/voicing_detector~test3-help.pd b/voicing_detector~test3-help.pd index f4dedc4..e7bb299 100644 --- a/voicing_detector~test3-help.pd +++ b/voicing_detector~test3-help.pd @@ -1,6 +1,6 @@ -#N canvas 0 0 728 435 10; +#N canvas 0 31 750 448 10; #X floatatom 128 105 5 0 100 2 thresh - -; -#N canvas 0 0 450 300 graph1 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array testinput 1.31596e+06 float 2; #X coords 0 1 1.31596e+06 -1 300 60 1; #X restore 255 18 graph; @@ -13,9 +13,9 @@ #X obj 115 41 bng 15 250 50 0 empty empty play 0 -6 0 8 -262144 -1 -1; #X obj 199 54 spigot; -#X obj 228 39 tgl 15 0 empty empty loop 0 -6 0 8 -262144 -1 -1 1 1 +#X obj 228 39 tgl 15 0 empty empty loop 0 -6 0 8 -262144 -1 -1 0 1 ; -#X obj 235 121 tgl 15 0 empty empty on 0 -6 0 8 -262144 -1 -1 1 1; +#X obj 235 121 tgl 15 0 empty empty on 0 -6 0 8 -262144 -1 -1 0 1; #N canvas 0 0 450 300 testload 0; #X floatatom 118 256 0 0 0 0 - - -; #X obj 118 168 cputime; @@ -55,11 +55,8 @@ #X connect 1 0 4 0; #X connect 2 0 3 0; #X connect 4 0 10 0; -#X connect 4 2 9 0; -#X connect 6 0 4 2; -#X connect 8 0 4 3; #X restore 116 136 pd voicingdet~; -#N canvas 0 0 450 300 graph2 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array voicing 300 float 3; #A 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 0 0 0 0 1 1 1 1 1 1 1 @@ -72,36 +69,31 @@ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 1 1 1 1 1 0 0 0 1 0; #X coords 0 2 299 -1 300 50 1; #X restore 254 223 graph; -#N canvas 0 0 450 300 graph2 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array amdf_pitch 300 float 3; -#A 0 inf 52.6308 inf inf inf inf inf inf inf 61.6769 inf inf 79.9839 -81.0009 81.3891 80.4557 68.64 64.1892 inf 66.4698 50.6665 inf inf inf -inf inf inf inf 50.6665 50.6665 50.6665 72.3208 80.0773 72.0166 68.0305 -50.6665 inf inf inf inf inf inf inf 50.6665 inf inf inf inf 50.6665 -inf inf 50.6665 50.6665 inf inf inf 50.6665 77.8829 50.6665 inf 61.011 -63.8438 60.475 54.3953 52.2985 inf 58.8633 51.3383 63.4215 71.0568 -62.7265 70.8633 66.6197 inf 50.6665 inf 55.7069 50.6665 50.6665 50.6665 -inf inf inf inf inf inf inf inf inf 70.4828 68.3603 inf 72.7731 50.6665 -inf 62.1356 inf inf 50.6665 inf inf inf inf inf 50.6665 50.6665 50.6665 -71.1217 75.6314 inf inf inf inf inf inf inf inf 50.6665 inf inf inf -50.6665 inf inf inf inf inf 78.0763 55.3107 50.6665 inf inf inf 50.6665 -inf 50.6665 inf 50.6665 58.9598 76.4972 76.5862 inf 50.6665 50.6665 -inf inf inf 56.3603 50.6665 inf inf 50.6665 inf inf 50.6665 inf 73.5356 -70.5499 76.0095 inf 50.6665 inf inf 50.9078 inf inf inf inf inf inf -inf inf inf 63.716 79.2014 76.856 inf inf 80.648 50.6665 50.6665 inf -50.6665 inf inf inf inf 50.6665 inf inf inf inf inf inf 50.6665 inf -inf inf inf inf inf inf inf 68.4159 inf 50.6665 81.3498 63.4605 81.0393 -inf inf inf inf inf inf 54.5446 60.9024 50.6665 inf 50.6665 inf inf -inf inf inf inf inf inf inf 57.4776 63.716 55.3107 inf inf inf inf -inf inf inf 50.6665 inf 50.6665 inf inf inf 50.6665 50.6665 50.6665 -50.6665 50.6665 inf inf inf inf inf inf inf 69.3891 64.6309 inf 50.6665 -inf inf inf 50.6665 inf inf inf 50.6665 inf inf inf 70.4077 80.6965 -79.0156 80.7342 78.1348 76.2328 78.4102 78.9541 inf inf 50.6665 inf -inf 50.6665 inf 50.6665 inf 50.6665 inf 67.0773 56.6965 inf inf 50.6665 -50.6665 inf inf inf; +#A 0 0 52.6308 0 0 0 0 0 0 0 61.6769 0 0 79.9839 81.0009 81.3891 80.4557 +68.64 64.1892 0 66.4698 50.6665 0 0 0 0 0 0 0 50.6665 50.6665 50.6665 +72.3208 80.0773 72.0166 68.0305 50.6665 0 0 0 0 0 0 0 50.6665 0 0 0 +0 50.6665 0 0 50.6665 50.6665 0 0 0 50.6665 77.8829 50.6665 0 61.011 +63.8438 60.475 54.3953 52.2985 0 58.8633 51.3383 63.4215 71.0568 62.7265 +70.8633 66.6197 0 50.6665 0 55.7069 50.6665 50.6665 50.6665 0 0 0 0 +0 0 0 0 0 70.4828 68.3603 0 72.7731 50.6665 0 62.1356 0 0 50.6665 0 +0 0 0 0 50.6665 50.6665 50.6665 71.1217 75.6314 0 0 0 0 0 0 0 0 50.6665 +0 0 0 50.6665 0 0 0 0 0 78.0763 55.3107 50.6665 0 0 0 50.6665 0 50.6665 +0 50.6665 58.9598 76.4972 76.5862 0 50.6665 50.6665 0 0 0 56.3603 50.6665 +0 0 50.6665 0 0 50.6665 0 73.5356 70.5499 76.0095 0 50.6665 0 0 50.9078 +0 0 0 0 0 0 0 0 0 63.716 79.2014 76.856 0 0 80.648 50.6665 50.6665 +0 50.6665 0 0 0 0 50.6665 0 0 0 0 0 0 50.6665 0 0 0 0 0 0 0 0 68.4159 +0 50.6665 81.3498 63.4605 81.0393 0 0 0 0 0 0 54.5446 60.9024 50.6665 +0 50.6665 0 0 0 0 0 0 0 0 0 57.4776 63.716 55.3107 0 0 0 0 0 0 0 50.6665 +0 50.6665 0 0 0 50.6665 50.6665 50.6665 50.6665 50.6665 0 0 0 0 0 0 +0 69.3891 64.6309 0 50.6665 0 0 0 50.6665 0 0 0 50.6665 0 0 0 70.4077 +80.6965 79.0156 80.7342 78.1348 76.2328 78.4102 78.9541 0 0 50.6665 +0 0 50.6665 0 50.6665 0 50.6665 0 67.0773 56.6965 0 0 50.6665 50.6665 +0 0 0; #X coords 0 128 299 0 300 50 1; #X restore 253 159 graph; -#N canvas 0 0 450 300 graph2 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array fiddle_pitch 300 float 3; #A 0 42.759 42.5032 42.473 54.6862 54.2724 88.0229 88.184 69.9998 46.2469 46.1609 36.5253 51.6493 56.2251 57.3686 56.4619 54.6808 0 0 54.0894 @@ -197,7 +189,7 @@ inf 50.6665 inf 50.6665 inf 50.6665 inf 67.0773 56.6965 inf inf 50.6665 #X connect 6 0 1 0; #X connect 7 0 1 0; #X restore 107 298 pd amgatewrite; -#N canvas 0 0 450 300 graph2 0; +#N canvas 0 0 450 300 (subpatch) 0; #X array amdf_gated_pitch 300 float 3; #A 0 0 0 0 280.892 0 152.595 0 0 0 0 0 0 0 745.652 0 715.135 0 867.135 0 450 0 807.692 0 295.973 0 210.054 0 0 0 0 0 0 0 0 0 152.595 0 0 0 @@ -220,9 +212,9 @@ inf 50.6665 inf 50.6665 inf 50.6665 inf 67.0773 56.6965 inf inf 50.6665 #X obj 106 322 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 105 378 s \$0-reset_counters; -#X obj 593 56 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +#X obj 593 56 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; -#X msg 594 99 \; pd dsp \$1; +#X msg 593 89 \; pd dsp \$1; #X msg 104 352 0; #X obj 575 326 soundfiler; #X obj 575 277 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 @@ -238,6 +230,19 @@ inf 50.6665 inf 50.6665 inf 50.6665 inf 67.0773 56.6965 inf inf 50.6665 #X floatatom 36 265 5 0 0 0 - - -; #X obj 17 314 -; #X floatatom 16 339 5 0 0 0 - - -; +#N canvas 379 254 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 5 KEYWORDS signal analysis; +#X text 12 45 DESCRIPTION find a zero-crossing point within a dsp block +; +#X text 12 145 AUTHOR Ed Kelly ; +#X text 12 65 INLET_0 signal bang mode; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 125 OUTLET_1 float; +#X text 12 25 LICENSE GPL v3; +#X restore 688 400 pd META; #X connect 0 0 12 1; #X connect 2 0 12 0; #X connect 2 0 35 0; diff --git a/weightonset-help.pd b/weightonset-help.pd index 28c43f7..9d82162 100644 --- a/weightonset-help.pd +++ b/weightonset-help.pd @@ -1,4 +1,4 @@ -#N canvas 31 64 901 594 10; +#N canvas 0 31 901 629 10; #N canvas 1901 230 450 300 hasc 0; #X obj 65 62 inlet~; #X obj 196 184 block~ 1024; @@ -14,21 +14,21 @@ from the FFT; #X connect 2 1 3 1; #X connect 3 0 4 0; #X connect 5 0 3 2; -#X restore 44 446 pd hasc; -#X obj 128 374 bonk~; +#X restore 44 466 pd hasc; +#X obj 128 394 bonk~; #N canvas 0 0 450 300 (subpatch) 0; #X array \$0-input 106595 float 0; #X coords 0 1 106594 -1 200 51 1; -#X restore 287 337 graph; -#X obj 128 398 t b b; -#X obj 81 534 f; -#X floatatom 96 515 5 0 0 0 - - -; -#X floatatom 168 376 5 0 99 0 - - -; -#X obj 81 554 print end-value; -#X obj 43 352 tabplay~ \$0-input; -#X floatatom 75 382 5 0 100 0 - - -; -#X floatatom 75 424 5 0 0 0 - - -; -#X obj 75 402 * 0.1; +#X restore 287 357 graph; +#X obj 128 418 t b b; +#X obj 81 554 f; +#X floatatom 96 535 5 0 0 0 - - -; +#X floatatom 168 396 5 0 99 0 - - -; +#X obj 81 574 print end-value; +#X obj 43 372 tabplay~ \$0-input; +#X floatatom 75 402 5 0 100 0 - - -; +#X floatatom 75 444 5 0 0 0 - - -; +#X obj 75 422 * 0.1; #N canvas 0 0 450 300 tw 0; #X obj 274 70 inlet; #X msg 274 91 0; @@ -51,12 +51,15 @@ from the FFT; #X connect 7 0 8 0; #X connect 8 0 9 0; #X connect 8 1 6 0; -#X restore 39 547 pd tw; +#X restore 39 567 pd tw; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-hasc 1 float 3; -#A 0 0; -#X coords 0 511 1 -1 200 51 1; -#X restore 287 408 graph; +#X array \$0-hasc 104 float 3; +#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0; +#X coords 0 511 104 -1 200 51 1; +#X restore 287 428 graph; #N canvas 0 0 450 300 adapt 0; #X obj 128 44 inlet; #X obj 127 74 / 100; @@ -70,10 +73,10 @@ from the FFT; #X connect 2 1 4 1; #X connect 3 0 4 0; #X connect 4 0 5 0; -#X restore 168 395 pd adapt; -#X floatatom 168 429 5 0 0 1 influence - -; -#X obj 168 336 loadbang; -#X obj 88 304 bng 15 250 50 0 empty empty load 17 7 0 10 -262144 -1 +#X restore 168 415 pd adapt; +#X floatatom 168 449 5 0 0 1 influence - -; +#X obj 168 356 loadbang; +#X obj 88 324 bng 15 250 50 0 empty empty load 17 7 0 10 -262144 -1 -1; #N canvas 211 176 325 300 loadfile 0; #X obj 44 28 openpanel; @@ -106,16 +109,19 @@ from the FFT; #X connect 11 0 0 0; #X connect 13 0 14 0; #X connect 14 0 1 0; -#X restore 88 323 pd loadfile; -#X obj 43 304 bng 12 250 50 0 empty empty play 15 6 0 10 -262144 -1 +#X restore 88 343 pd loadfile; +#X obj 43 324 bng 12 250 50 0 empty empty play 15 6 0 10 -262144 -1 -1; -#X obj 43 319 t b b; +#X obj 43 339 t b b; #N canvas 0 0 450 300 (subpatch) 0; -#X array \$0-weightonset 1 float 3; -#A 0 0; -#X coords 0 511 1 -1 200 51 1; -#X restore 287 478 graph; -#X obj 116 435 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +#X array \$0-weightonset 104 float 3; +#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 +0 0 0 0 0; +#X coords 0 511 104 -1 200 51 1; +#X restore 287 498 graph; +#X obj 116 455 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -257985 -1; #X text 56 49 The second value is multipled by the value in the second inlet (range 0-1) and added to the first value. Then \, the divider @@ -124,11 +130,11 @@ by this value \, and added to it.; #X text 46 8 This object makes a moving average with successively less important values. The calculation initiates when the object is banged \, and the first value is the most influential.; -#X msg 65 472 1; -#X obj 130 473 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +#X msg 65 492 1; +#X obj 130 493 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; -#X obj 195 528 print data; -#X text 78 161 When the object is banged the right outlet sends a list +#X obj 195 548 print data; +#X text 78 171 When the object is banged the right outlet sends a list of all the values that influenced the result since the last bang \, up to a limit of 1024 values.; #X obj 477 73 weightonset; @@ -163,22 +169,22 @@ up to a limit of 1024 values.; #X text 538 119 V; #X text 531 132 data dump; #X text 537 143 on bang; -#X msg 49 382 5; -#X text 212 439 factor; -#X text 202 415 successive; +#X msg 49 402 5; +#X text 212 459 factor; +#X text 202 435 successive; #X text 64 101 The influence of successive values is lessened by the inverse of the factor on the right inlet. So \, a value of 0.2 in the second inlet means that the second value after the bang is 20% as influential as the first \, and the third value is 20% of 20% (4%) as influential as the first.; -#X floatatom 195 465 5 0 10 1 attack - -; +#X floatatom 195 485 5 0 10 1 attack - -; #X text 509 200 influence factor = 0 : 1st float output only; #X text 510 188 attack length = 0 \,; #X text 535 166 EXAMPLES:; #X text 520 226 attack length = 0 \,; #X text 519 238 influence factor = 1: successive values are; -#X text 232 475 phase; -#X text 232 489 0-100; +#X text 232 495 phase; +#X text 232 509 0-100; #X text 508 252 equally influential to the total \, but the list; #X text 492 31 successive influence factor (0-1); #X text 538 58 V; @@ -205,15 +211,15 @@ values are at the start of the series.; #X text 517 437 attack length = 3 \,; #X text 509 327 influence factor = 0.5: v1 w 1 \, v2 w 0.5 \, v3 w 0.25 \, v4 w 0.125; -#X text 86 200 If the attack phase is greater than 0 \, the values +#X text 86 210 If the attack phase is greater than 0 \, the values become successively more influential to the weighted average \, until the number of values is equal to the attack+1. The next value after the attack phase is the most influential \, then the influence factor kicks in and successive values become less influential.; #X text 557 71 creation args: influence factor \, attack; -#X obj 96 495 weightonset 0.8 0; -#X obj 10 381 dac~; -#X msg 168 356 80; +#X obj 96 515 weightonset 0.8 0; +#X obj 10 401 dac~; +#X msg 168 376 80; #X text 513 451 influence factor = 0.5: v1 w 0.125 \, v2 w 0.25 \, v3 w 0.5 \, v4 w 1 \, v5 w 0.5 \, v6 w 0.25...; #X text 525 43 attack phase (0-100+); @@ -224,9 +230,23 @@ v3 w 0.5 \, v4 w 1 \, v5 w 0.5 \, v6 w 0.25...; #X text 509 517 the output is onset-weighted e.g. the most influential values are at the start of the series \, after the attack phase in which the values become successively more influential.; -#X text 99 269 The weightings of values during the attack phase is +#X text 99 289 The weightings of values during the attack phase is the reverse of successive weightings after the attack:; -#X text 226 294 weighting = influence pow(attack - index); +#X text 226 314 weighting = influence pow(attack - index); +#N canvas 343 202 494 344 META 0; +#X text 12 195 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 5 KEYWORDS control; +#X text 12 175 AUTHOR Ed Kelly ; +#X text 12 25 LICENSE GPL v3; +#X text 12 75 INLET_0 float; +#X text 12 95 INLET_1 float; +#X text 12 115 INLET_2 float; +#X text 12 135 OUTLET_0 float; +#X text 12 155 OUTLET_1 list; +#X text 12 45 DESCRIPTION makes a moving average with successively +less important values; +#X restore 841 597 pd META; #X connect 0 0 12 0; #X connect 0 0 98 0; #X connect 1 0 3 0; diff --git a/zeroxpos~-help.pd b/zeroxpos~-help.pd index 7bb2f23..cb1041b 100644 --- a/zeroxpos~-help.pd +++ b/zeroxpos~-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 603 357 10; +#N canvas 0 31 603 357 10; #X obj 251 132 block~ 256; #X obj 144 150 zeroxpos~ 3; #X obj 40 150 zeroxpos~ -3; @@ -78,6 +78,19 @@ of zero crossing.; #X text 424 150 look for zero-crossings \,; #X text 431 163 and output those stored; #X text 437 175 in memory when banged.; +#N canvas 379 254 494 344 META 0; +#X text 12 165 HELP_PATCH_AUTHORS Ed Kelly. Revised by Jonathan Wilkes +for Pd-extended 0.42 to conform to the PDDP template.; +#X text 12 5 KEYWORDS signal analysis; +#X text 12 45 DESCRIPTION find a zero-crossing point within a dsp block +; +#X text 12 145 AUTHOR Ed Kelly ; +#X text 12 65 INLET_0 signal bang mode; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 float; +#X text 12 125 OUTLET_1 float; +#X text 12 25 LICENSE GPL v3; +#X restore 544 330 pd META; #X connect 1 0 6 0; #X connect 1 1 24 0; #X connect 2 0 5 0; -- cgit v1.2.1