From e29b99512a632a04c35d4a6b88c6e7fccbd89e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pais?= Date: Fri, 30 Jan 2009 00:32:18 +0000 Subject: svn path=/trunk/abstractions/jmmmp/; revision=10677 --- -dsp-help.pd | 20 -- -dsp.pd | 70 ------ array-edit.pd | 753 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ clock-help.pd | 8 +- datei-o-help.pd | 5 +- datei-r-help.pd | 3 +- datei-w-help.pd | 13 +- dsp01-help.pd | 32 +-- f+-help.pd | 5 +- jmmmp-ext.txt | 3 +- liner+~-help.pd | 7 +- liner~-help.pd | 7 +- m-i-help.pd | 48 ++-- m-i.pd | 33 +-- maat~-help.pd | 7 +- mat~-help.pd | 7 +- met~-help.pd | 7 +- mk-help.pd | 8 +- oscD-help.pd | 8 +- oscS-help.pd | 10 +- pd-colors.pd | 2 +- rec-name-help.pd | 31 +-- stoppuhr-help.pd | 5 +- stoppuhr.pd | 25 +- uhr-help.pd | 36 +-- 25 files changed, 875 insertions(+), 278 deletions(-) delete mode 100644 -dsp-help.pd delete mode 100644 -dsp.pd create mode 100644 array-edit.pd diff --git a/-dsp-help.pd b/-dsp-help.pd deleted file mode 100644 index 1c41bf0..0000000 --- a/-dsp-help.pd +++ /dev/null @@ -1,20 +0,0 @@ -#N canvas 101 86 414 286 10; -#X obj 36 89 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 -; -#X text 12 207 (C) 2006 Joao Miguel Pais - jmmmpais@googlemail.com -; -#X text 12 247 Released under the BSD License; -#X text 12 10 [-dsp] - DSP switch; -#X msg 56 89 bang; -#X text 12 227 Adapted from H-C Steiner's dsp abstraction; -#X text 260 100 Inlets; -#X text 260 150 GUI; -#X text 260 170 - Click on it; -#X text 260 120 - Bang / Number; -#X text 260 50 Arguments; -#X text 260 70 - DSP state (1/0); -#X text 92 89 On / Off; -#X text 107 118 <- Or click on it; -#X obj 36 119 -dsp; -#X connect 0 0 14 0; -#X connect 4 0 14 0; diff --git a/-dsp.pd b/-dsp.pd deleted file mode 100644 index 80e0b52..0000000 --- a/-dsp.pd +++ /dev/null @@ -1,70 +0,0 @@ -#N canvas 70 178 479 313 10; -#X obj 84 191 s pd; -#X msg 84 171 dsp \$1; -#X obj 84 41 r pd; -#X obj 84 61 route dsp; -#X obj 84 151 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 2 -; -#X obj 14 111 hradio 15 1 0 4 empty empty empty 0 -6 0 8 -262144 -1 --1 0; -#X obj 14 111 cnv 15 60 15 empty \$0-dsp DSP_AUS 2 8 0 10 -233017 -1 -0; -#X msg 84 81 set \$1; -#X obj 146 228 s \$0-dsp; -#X obj 146 168 sel 0; -#X msg 146 188 label DSP_AUS \, color 10 22; -#X msg 171 208 label DSP_EIN \, color 22 0; -#X obj 94 110 inlet; -#X text 12 10 [-dsp] - DSP switch; -#X text 12 260 (C) 2006 Joao Miguel Pais - jmmmpais@googlemail.com -; -#N canvas 0 0 426 446 license 0; -#X text 8 47 All rights reserved.; -#X text 8 227 The names of its contributors may not be used to endorse -or promote products derived from this software without specific prior -written permission.; -#X text 8 87 Redistribution and use in source and binary forms \, with -or without modification \, are permitted provided that the following -conditions are met:; -#X text 8 127 Redistributions of source code must retain the above -copyright notice \, this list of conditions and the following disclaimer. -; -#X text 8 297 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND -CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES \, INCLUDING -\, BUT NOT LIMITED TO \, THE IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT \, INDIRECT -\, INCIDENTAL \, SPECIAL \, EXEMPLARY \, OR CONSEQUENTIAL DAMAGES (INCLUDING -\, BUT NOT LIMITED TO \, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES -; -#X text 8 167 Redistributions in binary form must reproduce the above -copyright notice \, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the distribution. -; -#X text 8 27 jmmmpais@googlemail.com; -#X text 8 7 Copyright 2006 \, Joćo Miguel Pais; -#X restore 15 278 pd license; -#X obj 136 111 init \$1; -#X text 350 100 Inlets; -#X text 350 150 GUI; -#X text 350 170 - Click on it; -#X text 350 120 - Bang / Number; -#X text 350 50 Arguments; -#X text 350 70 - DSP state (1/0); -#X obj 14 131 bang; -#X connect 1 0 0 0; -#X connect 2 0 3 0; -#X connect 3 0 7 0; -#X connect 3 0 9 0; -#X connect 4 0 1 0; -#X connect 4 0 9 0; -#X connect 5 0 23 0; -#X connect 7 0 4 0; -#X connect 9 0 10 0; -#X connect 9 1 11 0; -#X connect 10 0 8 0; -#X connect 11 0 8 0; -#X connect 12 0 4 0; -#X connect 16 0 4 0; -#X connect 23 0 4 0; -#X coords 0 -1 1 1 62 17 1 13 110; diff --git a/array-edit.pd b/array-edit.pd new file mode 100644 index 0000000..f650bdc --- /dev/null +++ b/array-edit.pd @@ -0,0 +1,753 @@ +#N canvas 68 28 402 755 10; +#N canvas 73 134 639 485 inside 0; +#X msg 287 128 const \$1; +#X obj 15 159 r \$0-resize; +#X msg 64 199 resize \$1; +#X obj 15 68 arraysize; +#X obj 15 28 r \$0-arr; +#X msg 15 48 set \$1 \, bang; +#X msg 15 98 set \$1; +#X obj 89 97 s \$0-arrsize; +#X obj 15 119 s \$0-resize-i; +#X obj 287 108 r \$0-const; +#X text 21 9 Resize; +#X text 293 86 Constant; +#X obj 531 104 tabread; +#X obj 541 64 r \$0-arr; +#X msg 541 84 set \$1; +#X obj 531 34 r \$0-ind_i; +#X obj 531 124 s \$0-ind_t-i; +#X obj 531 214 s \$0-ind_i-i; +#X msg 531 194 range 0 \$1; +#X obj 531 154 r \$0-arrsize; +#X obj 531 174 - 1; +#X text 532 12 Index test; +#X msg 436 59 rename \$1; +#X text 445 18 Rename; +#X obj 436 39 r \$0-rename; +#X obj 446 129 s \$0-arr-i; +#X msg 446 109 symbol \$1; +#X obj 287 38 r \$0-norml; +#X text 293 16 Normalize; +#X msg 287 58 normalize \$1; +#N canvas 335 713 293 221 x-ticks 0; +#X obj 103 16 r \$0-arrsize; +#X obj 143 86 /; +#X obj 143 56 t b f; +#X obj 115 126 pack f f f; +#X obj 172 106 expr 100/$f1; +#X obj 115 176 outlet; +#X obj 143 36 r \$0-xtick-div; +#X obj 172 86 r \$0-xtick-prop; +#X obj 35 86 r \$0-xtick-send; +#X msg 115 146 xticks \$1 \$2 \$3; +#X connect 0 0 1 0; +#X connect 1 0 3 1; +#X connect 2 0 1 0; +#X connect 2 1 1 1; +#X connect 3 0 9 0; +#X connect 4 0 3 2; +#X connect 6 0 2 0; +#X connect 7 0 4 0; +#X connect 8 0 3 0; +#X connect 9 0 5 0; +#X coords 0 0 1 1 201 75 0; +#X restore 199 197 pd x-ticks; +#X text 150 197 X-ticks; +#X text 150 217 X-label; +#N canvas 274 695 314 213 bounds 0; +#X msg 41 142 bounds \$1 \$2 \$3 \$4; +#X obj 41 122 pack f f f f; +#X obj 193 125 r \$0-arrsize; +#X obj 34 62 f; +#X obj 41 172 outlet; +#X obj 49 42 r \$0-bound-x; +#X obj 87 82 r \$0-bound-xx; +#X obj 193 165 s \$0-bound-xx-i; +#X obj 64 62 r \$0-bound-y; +#X obj 110 102 r \$0-bound-yy; +#X obj 34 22 r \$0-bound-send; +#X obj 193 145 - 1; +#X connect 0 0 4 0; +#X connect 1 0 0 0; +#X connect 2 0 11 0; +#X connect 3 0 1 0; +#X connect 5 0 3 1; +#X connect 6 0 1 2; +#X connect 8 0 1 1; +#X connect 9 0 1 3; +#X connect 10 0 3 0; +#X connect 11 0 7 0; +#X coords 0 0 1 1 116 75 0; +#X restore 199 137 pd bounds; +#X text 153 137 Bounds; +#N canvas 0 0 304 224 send 0; +#X obj 197 153 send13 foo; +#X obj 207 103 r \$0-arr; +#X msg 207 123 set \$1; +#X obj 177 63 inlet; +#X obj 64 183 s \$0-command; +#X obj 64 133 drip; +#X msg 124 153 set; +#X obj 64 103 t a b; +#X msg 64 153 add2 \$1; +#X obj 124 123 loadbang; +#X connect 1 0 2 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 3 0 7 0; +#X connect 5 0 8 0; +#X connect 6 0 4 0; +#X connect 7 0 5 0; +#X connect 7 1 6 0; +#X connect 8 0 4 0; +#X connect 9 0 6 0; +#X restore 279 297 pd send; +#N canvas 595 204 275 570 x-label 0; +#X obj 130 279 r \$0-arrsize; +#X obj 96 499 prepent xlabel; +#X obj 42 39 - 1.2; +#X obj 96 479 prepent; +#X obj 61 299 expr $f2/$f1; +#X obj 56 399 serialize; +#X obj 22 340 until; +#X obj 73 369 +; +#X obj 46 369 0; +#X obj 61 329 t b f; +#X obj 61 349 0; +#X obj 42 249 t f f f; +#X obj 61 279 - 1; +#X obj 42 109 moses 2; +#X obj 42 89 r \$0-xlabel-wv; +#X obj 42 59 s \$0-xlabel-dist-i; +#X obj 42 19 loadbang; +#X obj 96 529 outlet; +#X obj 42 229 f; +#X obj 108 459 t b f; +#X obj 91 129 t b f; +#X obj 116 197 spigot 0; +#X obj 141 167 1; +#X obj 171 147 r \$0-arr; +#X msg 171 167 0; +#X obj 108 439 r \$0-xlabel-dist; +#X connect 0 0 4 1; +#X connect 1 0 17 0; +#X connect 2 0 15 0; +#X connect 3 0 1 0; +#X connect 4 0 9 0; +#X connect 5 0 3 0; +#X connect 6 0 8 0; +#X connect 7 0 8 1; +#X connect 8 0 7 0; +#X connect 8 0 5 0; +#X connect 9 0 10 0; +#X connect 9 1 7 1; +#X connect 10 0 8 1; +#X connect 11 0 6 0; +#X connect 11 1 12 0; +#X connect 11 2 5 1; +#X connect 12 0 4 0; +#X connect 13 1 20 0; +#X connect 14 0 13 0; +#X connect 16 0 2 0; +#X connect 18 0 11 0; +#X connect 19 0 21 0; +#X connect 19 1 3 1; +#X connect 20 0 22 0; +#X connect 20 1 18 0; +#X connect 21 0 18 0; +#X connect 22 0 21 1; +#X connect 23 0 24 0; +#X connect 24 0 21 1; +#X connect 25 0 19 0; +#X coords 0 0 1 1 195 60 0; +#X restore 199 217 pd x-label; +#X text 150 177 Y-label; +#X text 148 157 Y-ticks; +#N canvas 906 167 297 695 y-label 0; +#X obj 106 609 prepent; +#X obj 66 529 serialize; +#X obj 32 430 until; +#X obj 83 459 +; +#X obj 56 459 0; +#X obj 71 419 t b f; +#X obj 71 439 0; +#X obj 52 269 t f f f; +#X obj 71 369 - 1; +#X obj 52 109 moses 2; +#X obj 52 19 loadbang; +#X obj 106 659 outlet; +#X obj 52 59 s \$0-ylabel-dist-i; +#X obj 52 89 r \$0-ylabel-wv; +#X obj 118 569 r \$0-ylabel-dist; +#X obj 106 629 prepent ylabel; +#X obj 52 39 - 6; +#X obj 140 339 t b f; +#X obj 140 369 -; +#X obj 100 299 r \$0-bound-y; +#X obj 140 319 r \$0-bound-yy; +#X obj 81 489 r \$0-bound-yy; +#X obj 71 389 expr $f2/$f1; +#X obj 66 509 +; +#X obj 52 249 f; +#X obj 118 589 t b f; +#X obj 91 129 t b f; +#X obj 136 207 spigot 0; +#X obj 161 177 1; +#X obj 191 157 r \$0-arr; +#X msg 191 177 0; +#X connect 0 0 15 0; +#X connect 1 0 0 0; +#X connect 2 0 4 0; +#X connect 3 0 4 1; +#X connect 4 0 3 0; +#X connect 4 0 23 0; +#X connect 5 0 6 0; +#X connect 5 1 3 1; +#X connect 6 0 4 1; +#X connect 7 0 2 0; +#X connect 7 1 8 0; +#X connect 7 2 1 1; +#X connect 8 0 22 0; +#X connect 9 1 26 0; +#X connect 10 0 16 0; +#X connect 13 0 9 0; +#X connect 14 0 25 0; +#X connect 15 0 11 0; +#X connect 16 0 12 0; +#X connect 17 0 18 0; +#X connect 17 1 18 1; +#X connect 18 0 22 1; +#X connect 19 0 18 0; +#X connect 20 0 17 0; +#X connect 21 0 23 1; +#X connect 22 0 5 0; +#X connect 23 0 1 0; +#X connect 24 0 7 0; +#X connect 25 0 27 0; +#X connect 25 1 0 1; +#X connect 26 0 28 0; +#X connect 26 1 24 0; +#X connect 27 0 24 0; +#X connect 28 0 27 1; +#X connect 29 0 30 0; +#X connect 30 0 27 1; +#X coords 0 0 1 1 195 60 0; +#X restore 199 177 pd y-label; +#N canvas 524 614 293 249 y-ticks 0; +#X obj 133 126 /; +#X obj 133 96 t b f; +#X obj 105 166 pack f f f; +#X obj 162 146 expr 100/$f1; +#X obj 105 216 outlet; +#X obj 25 126 r \$0-ytick-send; +#X msg 105 186 yticks \$1 \$2 \$3; +#X obj 162 126 r \$0-ytick-prop; +#X obj 133 76 r \$0-ytick-div; +#X obj 93 56 t b f; +#X obj 93 86 -; +#X obj 53 16 r \$0-bound-y; +#X obj 93 36 r \$0-bound-yy; +#X connect 0 0 2 1; +#X connect 1 0 0 0; +#X connect 1 1 0 1; +#X connect 2 0 6 0; +#X connect 3 0 2 2; +#X connect 5 0 2 0; +#X connect 6 0 4 0; +#X connect 7 0 3 0; +#X connect 8 0 1 0; +#X connect 9 0 10 0; +#X connect 9 1 10 1; +#X connect 10 0 0 0; +#X connect 11 0 10 0; +#X connect 12 0 9 0; +#X coords 0 0 1 1 201 75 0; +#X restore 199 157 pd y-ticks; +#X obj 14 338 r \$0-f-writ; +#X msg 14 358 \; pd-function-writer vis 1; +#X msg 14 298 \; pd-segment-draw vis 1; +#X obj 14 278 r \$0-s-draw; +#X obj 15 179 moses 1; +#X obj 279 317 dsp01 1; +#X text 18 434 adicionar toggle para com/sem wraparound.; +#X obj 456 89 inlet; +#X connect 0 0 35 0; +#X connect 1 0 45 0; +#X connect 2 0 35 0; +#X connect 3 0 6 0; +#X connect 3 0 7 0; +#X connect 4 0 5 0; +#X connect 5 0 3 0; +#X connect 6 0 8 0; +#X connect 9 0 0 0; +#X connect 12 0 16 0; +#X connect 13 0 14 0; +#X connect 14 0 12 0; +#X connect 15 0 12 0; +#X connect 18 0 17 0; +#X connect 19 0 20 0; +#X connect 20 0 18 0; +#X connect 22 0 35 0; +#X connect 24 0 22 0; +#X connect 24 0 26 0; +#X connect 26 0 25 0; +#X connect 27 0 29 0; +#X connect 29 0 35 0; +#X connect 30 0 35 0; +#X connect 33 0 35 0; +#X connect 36 0 35 0; +#X connect 39 0 35 0; +#X connect 40 0 35 0; +#X connect 41 0 42 0; +#X connect 44 0 43 0; +#X connect 45 1 2 0; +#X connect 45 1 7 0; +#X connect 48 0 26 0; +#X restore 32 695 pd inside; +#X obj 290 310 cnv 15 100 100 empty empty empty 20 12 0 14 -191407 +-66577 0; +#X floatatom 307 367 5 0 0 0 - #0-bound-x-i #0-bound-x; +#X floatatom 327 347 5 0 0 0 - #0-bound-y-i #0-bound-y; +#X floatatom 347 367 5 0 0 0 - #0-bound-xx-i #0-bound-xx; +#X floatatom 327 387 5 0 0 0 - #0-bound-yy-i #0-bound-yy; +#X text 294 312 Graphic bounds; +#X text 293 365 X; +#X text 328 328 Y; +#X obj 307 347 bng 13 250 50 0 \$0-bound-send \$0-bound-send-i empty +17 7 0 10 -228856 -1 -1; +#X obj 12 398 cnv 15 265 65 empty empty empty 20 12 0 14 -191407 -66577 +0; +#X floatatom 17 418 5 2 100000 0 - #0-xlabel-wv-i #0-xlabel-wv; +#X text 108 418 How many numbers in total; +#X floatatom 17 438 6 0 0 0 - #0-xlabel-dist-i #0-xlabel-dist; +#X text 108 438 Distance (as y value); +#X obj 12 310 cnv 15 265 80 empty empty empty 20 12 0 14 -191407 -66577 +0; +#X floatatom 18 329 5 0 0 0 - #0-xtick-div-i #0-xtick-div; +#X floatatom 18 349 5 0 0 0 - #0-xtick-prop-i #0-xtick-prop; +#X obj 25 369 bng 14 250 50 0 \$0-xtick-send \$0-xtick-send-i empty +17 7 0 10 -228856 -1 -1; +#X text 108 369 Send format; +#X text 108 349 Proportion of big ticks (%); +#X text 108 329 How many divisions in total; +#X obj 11 186 cnv 15 135 25 empty empty empty 20 12 0 14 -191407 -66577 +0; +#X floatatom 15 191 5 0 0 0 - #0-norml-i #0-norml; +#X text 50 191 Normalize to x; +#X obj 197 151 cnv 15 115 60 empty empty empty 20 12 0 14 -191407 -66577 +0; +#X floatatom 202 189 10 0 0 0 - #0-ind_t-i #0-ind_t; +#X text 199 150 Index test; +#X text 268 169 Index; +#X text 268 188 Value; +#X obj 12 216 cnv 15 170 25 empty empty empty 20 12 0 14 -191407 -66577 +0; +#X floatatom 16 221 5 0 0 0 - #0-const-i #0-const; +#X text 51 221 Set a constant value; +#X obj 11 156 cnv 15 145 25 empty empty empty 20 12 0 14 -191407 -66577 +0; +#X floatatom 15 160 10 0 0 0 - #0-resize-i #0-resize; +#X text 82 160 Size/Resize; +#X obj 71 52 cnv 15 260 60 empty empty empty 20 12 0 14 -241339 -66577 +0; +#X symbolatom 144 61 30 0 0 0 - #0-arr-i #0-arr; +#X symbolatom 144 89 30 0 0 0 - #0-rename-i #0-rename; +#X text 74 89 Rename it; +#X text 74 61 Array name; +#X obj 117 8 cnv 15 160 30 empty empty ARRAY-EDITOR 8 16 0 20 -191407 +-33289 0; +#X obj 12 255 cnv 15 60 20 empty empty Display 5 11 0 12 -191407 -33289 +0; +#X obj 202 169 nbx 5 16 0 119 0 0 \$0-ind_i \$0-ind_i-i empty 0 -8 +0 10 -228856 -1 -1 0 256; +#X obj 12 495 r \$0-command; +#X msg 12 515; +#X floatatom 68 329 5 0 0 0 - #0-ytick-div-i #0-ytick-div; +#X floatatom 68 349 5 0 0 0 - #0-ytick-prop-i #0-ytick-prop; +#X obj 75 369 bng 14 250 50 0 \$0-ytick-send \$0-ytick-send-i empty +17 7 0 10 -228856 -1 -1; +#X floatatom 67 418 5 2 100000 0 - #0-ylabel-wv-i #0-ylabel-wv; +#X floatatom 67 438 6 0 0 0 - #0-ylabel-dist-i #0-ylabel-dist; +#X text 23 310 X / Y Ticks; +#X text 25 398 X / Y Label; +#N canvas 505 36 496 590 function-writer 0; +#X obj 27 231 tabwrite~ \$1; +#X obj 27 122 bng 15 250 50 0 empty empty Calculate 21 8 0 12 -228856 +-1 -1; +#X text 15 51 1 - Edit your formula below; +#X text 13 330 Some formula examples:; +#X text 17 398 - descending line; +#X obj 139 379 expr~ $v1; +#X obj 139 399 expr~ 1-$v1; +#X obj 139 439 expr~ pow($v1 \, .5); +#X text 17 438 - logarithmic line; +#X text 17 418 - exponential line; +#X obj 139 419 expr~ pow($v1 \, 2); +#X text 13 350 Lines; +#X floatatom 279 150 5 0 0 0 - - -; +#X text 14 8 The function writer writes a funcion in your array. It +analyses the sample rate and arraysize \, so that the wave fits perfectly +with the array. To create a new waveform:; +#X text 131 103 Edit your formula here \, or copy-paste from the ones +below. The number field is to connect with the gaussian formula \, +or with any formulas that need extra argument(s).; +#N canvas 0 0 450 372 calc 0; +#X obj 187 38 inlet; +#X obj 226 78 samplerate~; +#X obj 127 278 r \$0-arr; +#X obj 197 298 phasor~; +#X obj 226 238 /; +#X msg 127 298 set \$1; +#X obj 206 258 0; +#X obj 241 98 r \$0-arrsize; +#X obj 187 58 t a b b; +#X obj 187 338 outlet; +#X obj 197 318 outlet~; +#X obj 241 218 +; +#X obj 256 118 r \$0-wrapar; +#X obj 256 138 * -1; +#X obj 241 188 f; +#X obj 256 158 t b f; +#X connect 0 0 8 0; +#X connect 1 0 4 0; +#X connect 2 0 5 0; +#X connect 3 0 10 0; +#X connect 4 0 3 0; +#X connect 5 0 9 0; +#X connect 6 0 3 1; +#X connect 7 0 14 0; +#X connect 8 0 9 0; +#X connect 8 1 6 0; +#X connect 8 2 1 0; +#X connect 11 0 4 1; +#X connect 12 0 13 0; +#X connect 13 0 15 0; +#X connect 14 0 11 0; +#X connect 15 0 14 0; +#X connect 15 1 11 1; +#X restore 27 140 pd calc; +#X text 70 543 If there's any function that you think should be here +\, tell me about it at jmmmpais@googlemail.com; +#N canvas 0 0 685 457 (subpatch) 0; +#X array array2 120 float 0; +#X coords 0 1 119 0 120 90 1; +#X restore 311 354 graph; +#X obj 286 292 s \$0-arr-i; +#X text 50 254 To try out the waveforms below \, first choose this +array as the array to be edited by clicking on:; +#X msg 286 272 symbol array2; +#X text 15 71 2 - Bang "Calculate"; +#X text 16 378 - ascending line; +#N canvas 232 298 502 309 panning-curves 0; +#X obj 380 12 switch~ 0; +#X text 17 138 - simple (triangular); +#X text 12 19 Panning curves; +#X obj 149 139 expr~ 1-$v1; +#X text 11 80 Some curves need the Wraparound option \, so that the +final value is as close as possible.; +#X obj 149 159 expr~ pow(1-$v1 \, .5); +#X text 17 158 - square root; +#X obj 149 179 expr~ cos($v1*0.5*3.14159); +#X text 17 178 - sinus; +#X obj 149 199 expr~ ((sqrt(2)/2) * (cos(($v1) * (4 * atan(1)) - (4 +* atan(1)/2)) - sin(($v1) * (4 * atan(1)) - (4 * atan(1)/2))))*0.5+0.5 +; +#X text 16 198 - "equal power"; +#X text 11 40 These curves are for the left side. To get the right +side value \, just read the table at the mirror point: [arraysize]-[index]-1. +; +#X text 17 268 Formulas taken from Csound Ezine/Jamie Bullock.; +#X restore 23 478 pd panning-curves; +#N canvas 148 141 450 259 trigonometry/windowing 0; +#X text 17 48 - sine wave; +#X obj 139 49 expr~ sin($v1*3.14159*2); +#X obj 139 89 expr~ 0.5*(1-cos($v1*3.14159*2)); +#X text 17 68 - cosine window; +#X obj 139 69 expr~ sin($v1*3.14159); +#X obj 139 109 expr~ 0.53836-0.46164*cos($v1*3.14159*2); +#X text 17 108 - hamming window; +#X text 17 88 - hanning window; +#X text 17 128 - connes window; +#X obj 139 129 expr~ pow(1-pow($v1*2-1 \, 2) \, 2); +#X obj 139 149 expr~ 1-abs($v1*2-1); +#X text 17 148 - welch window; +#X text 17 168 - gaussian window; +#X obj 137 170 expr~ pow(2 \, pow((($v1*2-1)/$f2) \, 2)*-1); +#X text 17 208 - lanczos window; +#X obj 139 209 expr~ sin(($v1*2-1)*3.14159)/(($v1*2-1)*3.14159); +#X text 12 19 Trigonometry/Windowing formulas; +#X obj 380 12 switch~ 0; +#X text 134 188 (0 < $f2 < 1); +#X restore 23 508 pd trigonometry/windowing; +#X obj 67 181 expr~ pow(2 \, pow((($v1*2-1)/$f2) \, 2)*-1); +#X connect 1 0 15 0; +#X connect 12 0 25 1; +#X connect 15 0 0 0; +#X connect 15 1 25 0; +#X connect 20 0 18 0; +#X connect 25 0 0 0; +#X restore 32 639 pd function-writer; +#X obj 12 128 cnv 15 60 20 empty empty Basic 5 11 0 12 -191407 -33289 +0; +#X text 12 277 Attention: to edit the Y fields \, you must first define +the Y values in Graphic Bounds.; +#N canvas 266 36 411 747 segment-draw 0; +#X msg 75 356 0 0 \, -1.5 15 \, 1 50 \, 0.75 75 \, 0 100; +#X text 11 528 relative index: 0%-100%; +#N canvas 545 59 692 802 segment-function-draw 0; +#X obj 173 33 inlet; +#X obj 92 133 r \$0-arrsize; +#X obj 77 153 *; +#X obj 77 113 * 0.01; +#X obj 344 21 inlet; +#X text 168 9 relativ; +#X text 389 16 absolut; +#X obj 77 173 i; +#X obj 219 573 samplerate~; +#X obj 69 682 r \$0-arr; +#X obj 219 593 /; +#X msg 69 702 set \$1; +#X obj 189 644 0; +#X obj 143 293 -; +#X obj 158 273 f; +#X obj 143 243 t f f b; +#X msg 130 583 start \$1; +#X obj 170 553 t f b b; +#X obj 77 193 t f f; +#X obj 27 283 moses; +#X obj 54 263 r \$0-arrsize; +#X obj 104 213 moses 1; +#X obj 152 682 phasor~; +#X obj 130 772 tabwrite~ \$1; +#X obj 295 627 del; +#X obj 295 607 * 1.01; +#N canvas 77 335 450 302 blocksize 0; +#X obj 174 211 outlet; +#X obj 164 31 inlet; +#X obj 164 51 samplerate~; +#X obj 174 171 /; +#X obj 174 191 * 1000; +#X obj 179 121 iem_blocksize~; +#X obj 164 141 f; +#X obj 164 71 t b f; +#X obj 179 101 sig~; +#X connect 1 0 2 0; +#X connect 2 0 7 0; +#X connect 3 0 4 0; +#X connect 4 0 0 0; +#X connect 5 0 6 1; +#X connect 6 0 3 0; +#X connect 7 0 6 0; +#X connect 7 1 3 1; +#X connect 8 0 5 0; +#X restore 295 587 pd blocksize; +#X obj 219 613 t b f; +#X obj 179 83 swap; +#X obj 151 742 +~; +#X text 327 629 each segment is written after a delay of 1 block. maybe +not the best way \, but the only one using ~ ?; +#X obj 152 722 *~; +#X obj 170 493 textfile; +#X obj 310 155 f; +#X obj 275 238 route list; +#X obj 275 208 list prepend; +#X obj 344 188 spigot 0; +#X msg 374 168 0; +#X msg 404 168 1; +#X obj 275 125 t f b f b; +#X obj 275 258 unpack; +#X obj 304 318 -; +#X obj 294 298 f; +#X obj 275 278 t f b f; +#X obj 170 443 prepent add; +#X msg 104 473 clear; +#X msg 205 467 rewind \, bang; +#X obj 143 373 swap; +#X obj 143 353 pack; +#X obj 205 139 t b b b; +#X obj 143 403 pack f f f f f; +#X obj 170 523 unpack f f f f f; +#X obj 173 53 zexy/unpack f f f; +#X obj 254 413 0; +#X obj 143 423 t b a; +#X obj 152 702 expr~ pow($v1 \, exp($f2*5*log(2))); +#X text 280 523 dauer \, anfangspunkt \, anfangswert \, skalierung +\, exp-curve; +#X obj 350 71 swap; +#X obj 344 41 zexy/unpack f f f; +#X msg 323 471 print; +#X connect 0 0 52 0; +#X connect 1 0 2 1; +#X connect 2 0 7 0; +#X connect 3 0 2 0; +#X connect 4 0 58 0; +#X connect 7 0 18 0; +#X connect 8 0 10 0; +#X connect 9 0 11 0; +#X connect 10 0 27 0; +#X connect 11 0 23 0; +#X connect 12 0 22 1; +#X connect 13 0 48 0; +#X connect 14 0 13 1; +#X connect 15 0 13 0; +#X connect 15 1 14 1; +#X connect 15 2 14 0; +#X connect 16 0 23 0; +#X connect 17 0 16 0; +#X connect 17 1 12 0; +#X connect 17 2 8 0; +#X connect 18 0 19 0; +#X connect 18 1 21 0; +#X connect 19 0 48 1; +#X connect 19 1 49 0; +#X connect 20 0 19 1; +#X connect 21 0 14 1; +#X connect 21 0 45 0; +#X connect 21 1 15 0; +#X connect 22 0 55 0; +#X connect 24 0 32 0; +#X connect 25 0 24 0; +#X connect 26 0 25 0; +#X connect 27 0 26 0; +#X connect 27 1 22 0; +#X connect 28 0 3 0; +#X connect 28 1 39 0; +#X connect 29 0 23 0; +#X connect 31 0 29 0; +#X connect 32 0 51 0; +#X connect 33 0 36 0; +#X connect 34 0 40 0; +#X connect 35 0 34 0; +#X connect 36 0 35 1; +#X connect 37 0 36 1; +#X connect 38 0 36 1; +#X connect 39 0 35 0; +#X connect 39 1 38 0; +#X connect 39 2 33 1; +#X connect 39 3 33 0; +#X connect 40 0 43 0; +#X connect 40 1 42 1; +#X connect 41 0 50 3; +#X connect 42 0 41 0; +#X connect 43 0 50 2; +#X connect 43 1 42 0; +#X connect 43 2 41 1; +#X connect 44 0 32 0; +#X connect 45 0 32 0; +#X connect 46 0 32 0; +#X connect 47 0 50 0; +#X connect 47 1 50 1; +#X connect 48 0 47 0; +#X connect 49 0 46 0; +#X connect 49 1 35 1; +#X connect 49 2 37 0; +#X connect 50 0 54 0; +#X connect 51 0 17 0; +#X connect 51 1 10 1; +#X connect 51 2 29 1; +#X connect 51 3 31 1; +#X connect 51 4 55 1; +#X connect 52 0 28 0; +#X connect 52 1 28 1; +#X connect 52 2 50 4; +#X connect 53 0 50 4; +#X connect 54 0 53 0; +#X connect 54 1 44 0; +#X connect 55 0 31 0; +#X connect 57 0 18 0; +#X connect 57 1 39 0; +#X connect 58 0 57 0; +#X connect 58 1 57 1; +#X connect 58 2 50 4; +#X connect 59 0 32 0; +#X restore 45 509 pd segment-function-draw; +#X msg 55 316 0 0 \, 1 50 \, 0 100; +#X text 20 196 Attention: You must always define an array completely +\, from the first to last indexes (be it in relative or absolute indexes). +; +#X text 181 529 absolute index: 0-arraysize; +#X text 27 692 Note: Each segment is written after a 1-block delay. +If you're thinking about using this tool for live audio \, make sure +you don't get side effects due to this technique.; +#X text 21 87 - index Value; +#X text 21 107 - duration - in percentage of total duration (left inlet) +or in absolute indexes (right inlet); +#X text 20 56 Segment draw: Define each breakpoint with 2 or 3 indexes. +Each breakpoint is separated by commas:; +#N canvas 0 0 668 457 (subpatch) 0; +#X array array1 120 float 0; +#X coords 0 1 119 -1 120 90 1; +#X restore 145 581 graph; +#X obj 256 282 s \$0-arr-i; +#X msg 256 262 symbol array1; +#X obj 147 21 cnv 15 95 20 empty empty Segment-draw 5 11 0 12 -191407 +-33289 0; +#X text 21 138 - curve steppness [-1 to 1]: 0 or missing for a straight +line. 0 to 1 for exponential curve \, -1 to 0 for logarithmic curve. +; +#X text 164 315 normal wave; +#X msg 64 336 0 0 \, 1 50 0.15 \, 0 100 -0.15; +#X text 236 335 same wave \, but curved; +#X text 20 244 To try out the waveforms below \, first choose this +array as the array to be edited by clicking on:; +#X text 83 376 more complex example; +#X msg 164 433 0 0 \, 1 60 \, 0 120; +#X msg 174 453 0 0 \, 1 60 0.15 \, 0 120 -0.15; +#X msg 185 473 0 0 \, -1.5 18 \, 1 60 \, 0.75 90 \, 0 120; +#X text 93 413 Same examples as above \, with absolute coordinates +; +#X connect 0 0 2 0; +#X connect 3 0 2 0; +#X connect 12 0 11 0; +#X connect 16 0 2 0; +#X connect 20 0 2 1; +#X connect 21 0 2 1; +#X connect 22 0 2 1; +#X restore 32 596 pd segment-draw; +#X obj 12 640 bng 15 250 50 0 \$0-f-writ \$0-f-writ-i empty 17 7 0 +10 -228856 -1 -1; +#X obj 12 597 bng 15 250 50 0 \$0-s-draw \$0-s-draw-i empty 17 7 0 +10 -228856 -1 -1; +#X text 32 576 Draw a wave shape through break points; +#X text 32 619 Define a wave shape through its function; +#X obj 12 549 cnv 15 90 20 empty empty Other.tools 5 11 0 12 -191407 +-33289 0; +#X text 94 685 (where everything works); +#X text 12 474 You can copy the commands and paste them in your patch: +; +#X obj 32 675 inlet; +#N canvas 0 0 426 446 license 0; +#X text 8 47 All rights reserved.; +#X text 8 227 The names of its contributors may not be used to endorse +or promote products derived from this software without specific prior +written permission.; +#X text 8 87 Redistribution and use in source and binary forms \, with +or without modification \, are permitted provided that the following +conditions are met:; +#X text 8 127 Redistributions of source code must retain the above +copyright notice \, this list of conditions and the following disclaimer. +; +#X text 8 297 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES \, INCLUDING +\, BUT NOT LIMITED TO \, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT \, INDIRECT +\, INCIDENTAL \, SPECIAL \, EXEMPLARY \, OR CONSEQUENTIAL DAMAGES (INCLUDING +\, BUT NOT LIMITED TO \, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES +; +#X text 8 167 Redistributions in binary form must reproduce the above +copyright notice \, this list of conditions and the following disclaimer +in the documentation and/or other materials provided with the distribution. +; +#X text 8 27 jmmmpais@googlemail.com; +#X text 8 7 Copyright 2006 \, Joćo Pais; +#X restore 32 724 pd license; +#X text 99 724 (C) 2009 Joćo Pais - jmmmpais@googlemail.com; +#X obj 197 216 cnv 15 187 25 empty empty empty 20 12 0 14 -191407 -66577 +0; +#X obj 202 221 tgl 15 0 \$0-wrapar \$0-wrapar-i empty 17 7 0 10 -228856 +-1 -1 0 1; +#X text 221 220 Wraparound (last index ~0); +#X connect 44 0 45 0; +#X connect 64 0 0 0; diff --git a/clock-help.pd b/clock-help.pd index dffde99..02a926b 100644 --- a/clock-help.pd +++ b/clock-help.pd @@ -1,13 +1,12 @@ -#N canvas 125 122 422 301 10; +#N canvas 99 182 422 327 10; #X floatatom 26 169 5 0 0 0 - - -; #X obj 26 79 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X msg 92 99 0; #X msg 102 119 100; #X text 12 10 [clock] - Chronometer with display in seconds; -#X text 12 247 (C) 2006 Joćo Pais - jmmmpais@googlemail.com -; -#X text 12 267 Released under the BSD License; +#X text 12 277 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 297 Released under the BSD License; #X text 260 50 Inlets; #X text 260 70 - On / Off; #X text 260 120 Outlets; @@ -22,6 +21,7 @@ #X text 104 146 <- Reset to 0; #X text 64 169 Seconds; #X text 260 140 - Second count (Float); +#X text 12 247 Related objects: [stoppuhr] [uhr]; #X connect 1 0 15 0; #X connect 2 0 15 1; #X connect 3 0 15 1; diff --git a/datei-o-help.pd b/datei-o-help.pd index 10775f8..a7de9e0 100644 --- a/datei-o-help.pd +++ b/datei-o-help.pd @@ -1,4 +1,4 @@ -#N canvas 38 28 454 293 10; +#N canvas 110 129 454 293 10; #X text 310 50 Inlets; #X text 310 100 Outlets; #X text 310 150 GUI; @@ -16,8 +16,7 @@ #X obj 22 160 print Datei_O; #X text 12 237 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; #X text 12 257 Released under the BSD License; -#X text 13 206 This patch belongs to the group datei-o \, datei-r \, -datei-w.; +#X text 12 207 Related objects: [datei-r] [datei-w]; #X connect 6 0 12 0; #X connect 8 0 12 0; #X connect 12 0 14 0; diff --git a/datei-r-help.pd b/datei-r-help.pd index 7647066..f69d96a 100644 --- a/datei-r-help.pd +++ b/datei-r-help.pd @@ -16,8 +16,7 @@ #X text 111 160 Message; #X text 12 237 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; #X text 12 257 Released under the BSD License; -#X text 13 206 This patch belongs to the group datei-o \, datei-r \, -datei-w.; +#X text 12 208 Related objects: [datei-o] [datei-w]; #X connect 0 0 1 0; #X connect 1 0 2 0; #X connect 3 0 1 0; diff --git a/datei-w-help.pd b/datei-w-help.pd index 0b93ce7..dd4c9df 100644 --- a/datei-w-help.pd +++ b/datei-w-help.pd @@ -7,8 +7,6 @@ #X text 310 120 - Message; #X msg 22 50 bang; #X text 120 80 Takes the file string; -#X text 12 237 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; -#X text 12 257 Released under the BSD License; #X msg 32 80 filename.ext; #X text 60 50 Opens up dialog; #X text 92 120 <- Or click on it; @@ -16,9 +14,10 @@ #X obj 22 120 datei-w; #X text 12 6 [datei-w] - Sends the message "write ../../"; #X obj 22 160 print Datei_W; -#X text 13 206 This patch belongs to the group datei-o \, datei-r \, -datei-w.; -#X connect 6 0 14 0; -#X connect 10 0 14 0; -#X connect 14 0 16 0; +#X text 12 237 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 257 Released under the BSD License; +#X text 12 207 Related objects: [datei-o] [datei-r]; +#X connect 6 0 12 0; +#X connect 8 0 12 0; +#X connect 12 0 14 0; #X coords 0 0 1 1 62 17 0; diff --git a/dsp01-help.pd b/dsp01-help.pd index 30679a8..6a49d05 100644 --- a/dsp01-help.pd +++ b/dsp01-help.pd @@ -1,8 +1,7 @@ -#N canvas 101 86 422 294 10; +#N canvas 101 86 422 283 10; #X obj 36 89 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; -#X text 12 207 (C) 2006 Joćo Pais - jmmmpais@googlemail.com -; +#X text 12 207 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; #X msg 56 89 bang; #X text 16 227 Adapted from H-C Steiner's dsp abstraction; #X text 260 100 Inlets; @@ -15,31 +14,6 @@ #X text 107 118 <- Or click on it; #X obj 36 119 dsp01; #X text 12 10 [dsp01] - DSP switch; -#N canvas 0 0 426 446 license 0; -#X text 8 47 All rights reserved.; -#X text 8 227 The names of its contributors may not be used to endorse -or promote products derived from this software without specific prior -written permission.; -#X text 8 87 Redistribution and use in source and binary forms \, with -or without modification \, are permitted provided that the following -conditions are met:; -#X text 8 127 Redistributions of source code must retain the above -copyright notice \, this list of conditions and the following disclaimer. -; -#X text 8 297 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND -CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES \, INCLUDING -\, BUT NOT LIMITED TO \, THE IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT \, INDIRECT -\, INCIDENTAL \, SPECIAL \, EXEMPLARY \, OR CONSEQUENTIAL DAMAGES (INCLUDING -\, BUT NOT LIMITED TO \, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES -; -#X text 8 167 Redistributions in binary form must reproduce the above -copyright notice \, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the distribution. -; -#X text 8 27 jmmmpais@googlemail.com; -#X text 8 7 Copyright 2006 \, Joćo Pais; -#X restore 15 248 pd license; +#X text 16 247 Released under the BSD License; #X connect 0 0 12 0; #X connect 2 0 12 0; diff --git a/f+-help.pd b/f+-help.pd index 80757ef..34c299e 100644 --- a/f+-help.pd +++ b/f+-help.pd @@ -1,6 +1,5 @@ -#N canvas 84 86 653 493 10; -#X text 11 427 (C) 2006 Joćo Pais - jmmmpais@googlemail.com -; +#N canvas 84 86 653 478 10; +#X text 11 427 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; #X text 11 447 Released under the BSD License; #X text 11 10 [f+] - Counter with variable increment; #X msg 25 56 bang; diff --git a/jmmmp-ext.txt b/jmmmp-ext.txt index 81c82c3..19b72a1 100644 --- a/jmmmp-ext.txt +++ b/jmmmp-ext.txt @@ -7,6 +7,7 @@ Released under the BSD license (more information in each abstraction). This package has several base utilities that make coding a bit easier (at least for me). It is composed of the following abstractions: +array-edit - edit properties of arrays and populate them following several formulas clock - Chronometer with display in seconds datei-o - Sends the message "open ../../" datei-r - Sends the message "read ../../" @@ -43,5 +44,5 @@ Non-working or discarded abstractions: aufnahme~ - Multichannel audio saver (1 to 8 channels) bcf2000 - Store and recall presets for Behringer BCF2000 --dsp01 - replaced by dsp01 +-dsp - replaced by dsp01 datei-l - replaced with datei-o \ No newline at end of file diff --git a/liner+~-help.pd b/liner+~-help.pd index 23d1b9a..c00c9d4 100755 --- a/liner+~-help.pd +++ b/liner+~-help.pd @@ -1,12 +1,12 @@ -#N canvas 539 156 376 360 10; -#X text 12 327 Released under the BSD License; +#N canvas 330 116 376 384 10; +#X text 12 357 Released under the BSD License; #X obj 27 89 dsp01; #X obj 26 248 snaps~; #X text 78 147 Ramp duration in ms; #X msg 79 167 20; #X msg 79 207 1000; #X msg 79 187 400; -#X text 12 307 (C) 2008 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 337 (C) 2008 Joćo Pais - jmmmpais@googlemail.com; #N canvas 0 0 396 219 floats 0; #X obj 47 95 outlet; #X obj 47 75 random 100; @@ -30,6 +30,7 @@ #X text 11 9 [liner+~] - Practical implementation of signal envelopping ; #X text 24 268 Scaled signal; +#X text 12 307 Related objects: [liner~]; #X connect 4 0 10 2; #X connect 5 0 10 2; #X connect 6 0 10 2; diff --git a/liner~-help.pd b/liner~-help.pd index 198d00a..89ba3e7 100755 --- a/liner~-help.pd +++ b/liner~-help.pd @@ -1,5 +1,5 @@ -#N canvas 277 106 415 360 10; -#X text 12 327 Released under the BSD License; +#N canvas 277 106 415 378 10; +#X text 12 347 Released under the BSD License; #X text 230 150 Inlets; #X text 230 220 Outlets; #X obj 16 95 dsp01; @@ -16,7 +16,7 @@ #X msg 59 203 1000; #X msg 59 183 400; #X text 17 264 Float converted to signal.; -#X text 12 307 (C) 2008 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 327 (C) 2008 Joćo Pais - jmmmpais@googlemail.com; #X text 12 38 Send a float to create a ramp with [line~]. Duration is decided through a parameter.; #N canvas 0 0 396 219 floats 0; @@ -28,6 +28,7 @@ is decided through a parameter.; #X restore 16 115 pd floats; #X obj 16 224 liner~; #X text 86 163 (Standard); +#X text 12 297 Related objects: [liner+~]; #X connect 13 0 20 1; #X connect 14 0 20 1; #X connect 15 0 20 1; diff --git a/m-i-help.pd b/m-i-help.pd index 19035eb..14e9c1b 100644 --- a/m-i-help.pd +++ b/m-i-help.pd @@ -1,25 +1,25 @@ -#N canvas 125 122 434 313 10; -#X text 12 257 (C) 2006 Joćo Pais - jmmmpais@googlemail.com -; -#X text 12 277 Released under the BSD License; -#X floatatom 16 99 3 0 127 0 - - -; -#X floatatom 16 151 5 0 0 0 - - -; -#X text 41 98 Simulation of MIDI controller; -#X text 54 151 Converted value; +#N canvas 125 122 449 354 10; +#X text 12 327 Released under the BSD License; +#X floatatom 16 109 3 0 127 0 - - -; +#X floatatom 16 161 5 0 0 0 - - -; +#X text 41 108 Simulation of MIDI controller; +#X text 53 161 Converted value; #X text 12 10 [m-i] - Automatic conversion of MIDI controller; -#X obj 16 119 m-i 1 0 1000; -#X floatatom 85 171 5 0 0 0 - - -; -#X text 123 171 Original midi value; -#X text 266 145 Inlets; -#X text 266 195 Outlets; -#X text 266 35 Arguments; -#X text 266 55 - Input controller; -#X text 266 75 - Lower range; -#X text 266 165 - Controller simulation; -#X text 266 215 - Scaled float; -#X text 266 95 - Upper range; -#X text 266 235 - Direct MIDI input; -#X text 266 115 - MIDI feedback; -#X connect 2 0 7 0; -#X connect 7 0 3 0; -#X connect 7 1 8 0; +#X obj 16 129 m-i 1 0 1000; +#X floatatom 85 181 5 0 0 0 - - -; +#X text 121 181 Original midi value; +#X text 266 150 Inlets; +#X text 266 200 Outlets; +#X text 266 40 Arguments; +#X text 266 80 - Lower range; +#X text 266 170 - Controller simulation; +#X text 266 220 - Scaled float; +#X text 266 100 - Upper range; +#X text 266 240 - Direct MIDI input; +#X text 265 120 - MIDI feedback on/off (1/0); +#X text 266 60 - Controller channel; +#X text 12 307 (C) 2009 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 277 Related objects: [mk]; +#X connect 1 0 6 0; +#X connect 6 0 2 0; +#X connect 6 1 7 0; diff --git a/m-i.pd b/m-i.pd index 4d29bbc..179ec84 100644 --- a/m-i.pd +++ b/m-i.pd @@ -1,4 +1,4 @@ -#N canvas 393 81 445 341 10; +#N canvas 393 81 445 319 10; #X obj 19 135 outlet; #X obj 19 54 ctlin \$1; #X obj 99 54 inlet midi-sim; @@ -9,13 +9,10 @@ #X text 236 150 Inlets; #X text 236 200 Outlets; #X text 236 40 Arguments; -#X text 236 60 - Input controller; #X text 236 80 - Lower range; #X text 236 170 - Controller simulation; #X text 236 220 - Scaled float; #X text 236 100 - Upper range; -#X text 12 271 (C) 2006 Joćo Pais - jmmmpais@googlemail.com -; #N canvas 0 0 426 446 license 0; #X text 8 47 All rights reserved.; #X text 8 227 The names of its contributors may not be used to endorse @@ -44,21 +41,25 @@ in the documentation and/or other materials provided with the distribution. #X restore 15 289 pd license; #X obj 19 115 expr_scale 0 127 \$2 \$3; #X obj 109 165 outlet; -#X obj 100 195 ctlout \$4; #X text 236 240 - Direct MIDI input; -#X text 236 120 - MIDI feedback; #X obj 133 145 i; +#X obj 99 225 ctlout \$1; +#X obj 99 205 spigot \$4; +#X text 235 120 - MIDI feedback on/off (1/0); +#X text 236 60 - Controller channel; +#X text 12 271 (C) 2009 Joćo Pais - jmmmpais@googlemail.com; #X connect 1 0 4 0; -#X connect 1 0 16 0; -#X connect 1 0 17 0; -#X connect 1 0 18 0; +#X connect 1 0 14 0; +#X connect 1 0 15 0; +#X connect 1 0 19 0; #X connect 2 0 4 0; -#X connect 2 0 16 0; -#X connect 2 0 17 0; -#X connect 2 0 18 0; -#X connect 3 0 16 0; -#X connect 3 0 21 0; +#X connect 2 0 14 0; +#X connect 2 0 15 0; +#X connect 2 0 19 0; +#X connect 3 0 14 0; +#X connect 3 0 17 0; #X connect 4 0 3 0; -#X connect 16 0 0 0; -#X connect 21 0 17 0; +#X connect 14 0 0 0; +#X connect 17 0 15 0; +#X connect 19 0 18 0; #X coords 0 -1 1 1 59 26 1 131 89; diff --git a/maat~-help.pd b/maat~-help.pd index 47442c8..5b46601 100644 --- a/maat~-help.pd +++ b/maat~-help.pd @@ -1,7 +1,7 @@ -#N canvas 277 106 415 410 10; +#N canvas 277 106 415 447 10; #X text 81 196 <- 0dB; -#X text 12 357 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; -#X text 12 377 Released under the BSD License; +#X text 12 397 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 417 Released under the BSD License; #X text 230 105 Inlets; #X text 230 215 Outlets; #N canvas 0 0 396 219 signal 0; @@ -50,6 +50,7 @@ #X text 11 38 Controls the amplitude of a stereo signal with values between 0 and 127 Lighter as met~.; #X obj 16 85 dsp01; +#X text 12 367 Related objects: [mat~] [met~]; #X connect 5 0 17 0; #X connect 5 0 17 1; #X connect 5 1 17 3; diff --git a/mat~-help.pd b/mat~-help.pd index d421d2f..22c438d 100644 --- a/mat~-help.pd +++ b/mat~-help.pd @@ -1,7 +1,7 @@ -#N canvas 277 106 387 410 10; +#N canvas 277 106 387 439 10; #X text 51 196 <- 0dB; -#X text 12 357 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; -#X text 12 377 Released under the BSD License; +#X text 12 387 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 407 Released under the BSD License; #X text 230 85 Inlets; #X text 230 175 Outlets; #N canvas 0 0 392 215 signal 0; @@ -46,6 +46,7 @@ #X text 11 38 Controls the amplitude of a signal with values between 0 and 127 Lighter as met~.; #X obj 16 85 dsp01; +#X text 12 357 Related objects: [maat~] [met~]; #X connect 5 0 19 0; #X connect 5 1 19 2; #X connect 8 0 19 1; diff --git a/met~-help.pd b/met~-help.pd index b0ba449..4300a46 100644 --- a/met~-help.pd +++ b/met~-help.pd @@ -1,8 +1,8 @@ -#N canvas 277 106 407 465 10; +#N canvas 277 106 407 480 10; #X text 11 8 [met~] - Level meter with amplitude control; #X text 51 196 <- 0dB; -#X text 12 407 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; -#X text 12 427 Released under the BSD License; +#X text 12 427 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 447 Released under the BSD License; #X text 230 85 Inlets; #X text 230 175 Outlets; #N canvas 0 0 392 215 signal 0; @@ -49,6 +49,7 @@ but doesn't look as nice.; #X msg 89 153 127; #X text 118 153 Control level; #X obj 16 85 dsp01; +#X text 12 397 Related objects: [maat~] [mat~]; #X connect 6 0 9 0; #X connect 6 1 9 2; #X connect 9 0 7 0; diff --git a/mk-help.pd b/mk-help.pd index f901718..34319a5 100644 --- a/mk-help.pd +++ b/mk-help.pd @@ -1,10 +1,10 @@ -#N canvas 125 122 364 221 10; -#X text 12 157 (C) 2006 Joćo Pais - jmmmpais@googlemail.com -; -#X text 12 177 Released under the BSD License; +#N canvas 125 122 364 235 10; +#X text 12 187 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 207 Released under the BSD License; #X text 12 40 [mk] shows the controller number and MIDI value.; #X text 196 80 GUI; #X text 196 100 - Controller number; #X text 196 120 - MIDI value; #X obj 26 95 mk; #X text 12 10 [mk] - Fast visual control of MIDI inputs; +#X text 12 157 Related objects: [m-i]; diff --git a/oscD-help.pd b/oscD-help.pd index a2357f0..bf9d412 100644 --- a/oscD-help.pd +++ b/oscD-help.pd @@ -1,7 +1,6 @@ -#N canvas 114 117 407 303 10; -#X text 12 247 (C) 2006 Joćo Pais - jmmmpais@googlemail.com -; -#X text 12 267 Released under the BSD License; +#N canvas 114 117 407 326 10; +#X text 12 277 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 297 Released under the BSD License; #X text 12 10 [oscD] - Counts received OSC messages; #X text 196 110 Outlets; #X text 196 40 Arguments; @@ -14,4 +13,5 @@ #X text 196 80 - Printing on / off; #X obj 26 105 oscD 5000 1; #X obj 26 138 print oscD-extern; +#X text 12 248 Related objects: [oscS]; #X connect 12 0 13 0; diff --git a/oscS-help.pd b/oscS-help.pd index b4d4809..51d7865 100644 --- a/oscS-help.pd +++ b/oscS-help.pd @@ -1,14 +1,13 @@ -#N canvas 114 117 403 329 10; -#X text 12 267 (C) 2006 Joćo Pais - jmmmpais@googlemail.com -; -#X text 12 287 Released under the BSD License; +#N canvas 114 117 403 333 10; +#X text 12 287 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 307 Released under the BSD License; #X text 239 39 Arguments; #X obj 13 177 oscS localhost 5000 1; #X text 12 10 [oscS] - Interface for sendOSC; #X msg 37 147 for example a list; #X floatatom 13 110 5 0 0 0 - - -; #X msg 27 127 symbol a.symbol; -#X obj 13 197 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +#X obj 13 197 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X text 239 59 - IP; #X text 239 79 - Port; @@ -25,6 +24,7 @@ #X text 17 73 Send any kind of message here \,; #X text 35 197 State; #X text 171 140 On / Off; +#X text 12 258 Related objects: [oscD]; #X connect 3 0 8 0; #X connect 5 0 3 0; #X connect 6 0 3 0; diff --git a/pd-colors.pd b/pd-colors.pd index ab6a831..2d15f0c 100755 --- a/pd-colors.pd +++ b/pd-colors.pd @@ -27,7 +27,7 @@ in the documentation and/or other materials provided with the distribution. #X text 8 7 Copyright 2006 \, Joćo Pais; #X restore 15 140 pd license; #X text 12 122 (C) 2008 Joćo Pais - jmmmpais@googlemail.com; -#X text 112 15 PD Color Palettes; +#X text 102 15 PD Color Palettes; #X text 15 59 Data Structures palette; #X text 15 47 Click the Bng for; #X text 185 47 Click the patch for; diff --git a/rec-name-help.pd b/rec-name-help.pd index 3390f4b..48fcb76 100755 --- a/rec-name-help.pd +++ b/rec-name-help.pd @@ -21,32 +21,6 @@ or playback; #X obj 36 366 writesf~ 2; #X obj 119 366 readsf~ 2; #X obj 119 386 dac~; -#N canvas 0 0 430 450 license 0; -#X text 8 47 All rights reserved.; -#X text 8 227 The names of its contributors may not be used to endorse -or promote products derived from this software without specific prior -written permission.; -#X text 8 87 Redistribution and use in source and binary forms \, with -or without modification \, are permitted provided that the following -conditions are met:; -#X text 8 127 Redistributions of source code must retain the above -copyright notice \, this list of conditions and the following disclaimer. -; -#X text 8 297 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND -CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES \, INCLUDING -\, BUT NOT LIMITED TO \, THE IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT \, INDIRECT -\, INCIDENTAL \, SPECIAL \, EXEMPLARY \, OR CONSEQUENTIAL DAMAGES (INCLUDING -\, BUT NOT LIMITED TO \, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES -; -#X text 8 167 Redistributions in binary form must reproduce the above -copyright notice \, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the distribution. -; -#X text 8 27 jmmmpais@googlemail.com; -#X text 8 7 Copyright 2007 \, Joćo Pais; -#X restore 15 485 pd license; #X obj 36 336 rec-name; #X text 16 437 NOTE: needs [time] \, [date] and [makesymbol] from Zexy ; @@ -67,6 +41,7 @@ This string can be connected with the writesf~ and readsf~ objects. #X text 13 76 This abstraction can be quite useful when making several recordings (or takes) one after the other. The files are named automatically \, avoiding the constant inputting of a filename.; +#X text 12 487 Released under the BSD License; #X connect 0 0 12 0; #X connect 0 1 13 0; #X connect 8 0 0 0; @@ -75,5 +50,5 @@ recordings (or takes) one after the other. The files are named automatically #X connect 11 0 0 1; #X connect 15 0 16 0; #X connect 15 1 16 1; -#X connect 18 0 14 0; -#X connect 18 1 15 0; +#X connect 17 0 14 0; +#X connect 17 1 15 0; diff --git a/stoppuhr-help.pd b/stoppuhr-help.pd index 170efc7..99c976e 100644 --- a/stoppuhr-help.pd +++ b/stoppuhr-help.pd @@ -1,6 +1,6 @@ #N canvas 108 117 718 384 10; -#X text 12 317 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; -#X text 12 337 Released under the BSD License; +#X text 12 327 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; +#X text 12 347 Released under the BSD License; #X text 476 70 Inlets; #X text 476 140 Outlets; #X text 12 10 [stoppuhr] - Chronometer with two layers; @@ -29,6 +29,7 @@ ; #X text 125 165 Click the right button to open the documentation window. ; +#X text 12 295 Related objects: [clock] [uhr]; #X connect 11 0 5 0; #X connect 11 1 6 0; #X connect 12 0 11 0; diff --git a/stoppuhr.pd b/stoppuhr.pd index e1e73fa..0e529f6 100644 --- a/stoppuhr.pd +++ b/stoppuhr.pd @@ -1,4 +1,4 @@ -#N canvas 340 87 592 458 10; +#N canvas 340 87 581 451 10; #X obj 11 41 cnv 15 100 69 empty empty Stoppuhr 6 10 0 9 -195568 -1 0; #X obj 85 374 textfile; @@ -13,10 +13,10 @@ #X obj 159 271 s \$0-sekt; #X msg 15 251 label \$1; #X obj 15 271 s \$0-tot; -#X obj 15 86 cnv 15 92 20 empty \$0-sekt 0'3''422 6 11 0 10 -233017 --1 0; -#X obj 15 61 cnv 15 92 20 empty \$0-tot 0'17''396 6 11 0 10 -233017 --1 0; +#X obj 15 86 cnv 15 92 20 empty \$0-sekt empty 6 11 0 10 -233017 -1 +0; +#X obj 15 61 cnv 15 92 20 empty \$0-tot empty 6 11 0 10 -233017 -1 +0; #N canvas 530 20 265 164 Kontrolle 0; #X text 10 55 Space - Reset; #X text 12 75 m - new section; @@ -31,11 +31,11 @@ #X obj 159 159 inlet; #X obj 12 129 tastin; #X obj 15 231 stoppuhr-clock; -#X obj 94 281 outlet; -#X obj 94 261 * 0.001; +#X obj 96 271 outlet; +#X obj 96 251 * 0.001; #X obj 159 231 stoppuhr-clock; -#X obj 238 281 outlet; -#X obj 238 261 * 0.001; +#X obj 240 271 outlet; +#X obj 240 251 * 0.001; #X obj 229 159 inlet offset; #X text 346 100 Inlets; #X text 346 170 Outlets; @@ -82,8 +82,10 @@ in the documentation and/or other materials provided with the distribution. #X obj 78 307 * 0.001; #X obj 165 347 datei-w; #X msg 118 57 \; pd-Kontrolle vis \$1; -#X obj 95 45 tgl 12 0 empty empty empty 0 -6 0 8 -166441 -1 -1 1 1 +#X obj 95 45 tgl 12 0 empty empty empty 0 -6 0 8 -166441 -1 -1 0 1 ; +#X msg 270 321 label; +#X obj 270 301 loadbang; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 22 0; @@ -120,4 +122,7 @@ in the documentation and/or other materials provided with the distribution. #X connect 43 0 41 0; #X connect 44 0 1 0; #X connect 46 0 45 0; +#X connect 47 0 10 0; +#X connect 47 0 12 0; +#X connect 48 0 47 0; #X coords 0 -1 1 1 100 69 1 11 41; diff --git a/uhr-help.pd b/uhr-help.pd index d38aeac..4c23c7e 100755 --- a/uhr-help.pd +++ b/uhr-help.pd @@ -1,31 +1,7 @@ -#N canvas 525 156 365 168 10; -#X text 11 100 (C) 2006 Joćo Pais - jmmmpais@googlemail.com -; +#N canvas 35 130 301 182 10; +#X text 11 132 (C) 2006 Joćo Pais - jmmmpais@googlemail.com; #X text 11 10 [uhr] - Shows the time; -#X obj 41 56 uhr; -#N canvas 0 0 426 446 license 0; -#X text 8 47 All rights reserved.; -#X text 8 227 The names of its contributors may not be used to endorse -or promote products derived from this software without specific prior -written permission.; -#X text 8 87 Redistribution and use in source and binary forms \, with -or without modification \, are permitted provided that the following -conditions are met:; -#X text 8 127 Redistributions of source code must retain the above -copyright notice \, this list of conditions and the following disclaimer. -; -#X text 8 297 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND -CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES \, INCLUDING -\, BUT NOT LIMITED TO \, THE IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL -THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT \, INDIRECT -\, INCIDENTAL \, SPECIAL \, EXEMPLARY \, OR CONSEQUENTIAL DAMAGES (INCLUDING -\, BUT NOT LIMITED TO \, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES -; -#X text 8 167 Redistributions in binary form must reproduce the above -copyright notice \, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the distribution. -; -#X text 8 27 jmmmpais@googlemail.com; -#X text 8 7 Copyright 2006 \, Joćo Pais; -#X restore 14 121 pd license; +#X obj 41 61 uhr; +#X text 12 149 Released under the BSD License; +#X text 47 41 H / M / S; +#X text 12 99 Related objects: [stoppuhr] [clock]; -- cgit v1.2.1