From de86cb7754d773a2dba3ae92eb0dfc4cb9d77cbd Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 29 Aug 2003 13:53:51 +0000 Subject: imported latest version 1.4 direct from Olaf svn path=/trunk/externals/maxlib/; revision=898 --- help/help-allow.pd | 21 ++++++ help/help-arraycopy.pd | 62 ++++++++++++++++ help/help-deny.pd | 20 ++++++ help/help-listfifo.pd | 26 +++++++ help/help-maxlib.pd | 188 ++++++++++++++++++++++++++++++------------------- help/help-nchange.pd | 31 ++++++++ help/help-remote.pd | 4 +- help/help-sync.pd | 53 ++++++++++++++ 8 files changed, 333 insertions(+), 72 deletions(-) create mode 100644 help/help-allow.pd create mode 100644 help/help-arraycopy.pd create mode 100644 help/help-deny.pd create mode 100644 help/help-listfifo.pd create mode 100644 help/help-nchange.pd create mode 100644 help/help-sync.pd (limited to 'help') diff --git a/help/help-allow.pd b/help/help-allow.pd new file mode 100644 index 0000000..084d52f --- /dev/null +++ b/help/help-allow.pd @@ -0,0 +1,21 @@ +#N canvas 358 305 554 308 12; +#X text 24 17 allow :: lets only 'allowed' floats or symbols through +; +#X text 97 34 written by Olaf Matthes ; +#X msg 125 65 cat; +#X msg 147 97 dog; +#X msg 157 126 bird; +#X floatatom 82 269 5 0 0 0 - - -; +#X symbolatom 151 246 10 0 0 0 - - -; +#X obj 114 156 symbol \$1; +#X floatatom 40 81 5 0 0 0 - - -; +#X obj 82 217 route float symbol; +#X obj 82 189 allow 17 cat dog 23; +#X connect 2 0 7 0; +#X connect 3 0 7 0; +#X connect 4 0 7 0; +#X connect 7 0 10 0; +#X connect 8 0 10 0; +#X connect 9 0 5 0; +#X connect 9 1 6 0; +#X connect 10 0 9 0; diff --git a/help/help-arraycopy.pd b/help/help-arraycopy.pd new file mode 100644 index 0000000..6963c69 --- /dev/null +++ b/help/help-arraycopy.pd @@ -0,0 +1,62 @@ +#N canvas 140 43 934 584 12; +#N canvas 0 0 450 300 graph1 0; +#X array array1 20 float 1; +#A 0 0 0 0.342857 0.542857 0.6 -0.442857 -0.485714 0.0142858 -0.428571 +-0.114286 0.0857143 -0.2 -0.214285 0.314285 -0.157143 -0.314285 -0.142857 +-0.0428571 0.114286 -0.685713; +#X coords 0 1 19 -1 200 140 1; +#X restore 680 27 graph; +#N canvas 0 0 450 300 graph2 0; +#X array array2 20 float 1; +#A 0 -0.214286 -0.171429 0.1 0.614286 0.757143 0.757143 0.542857 0.2 +-0.0285714 -0.271429 -0.414286 -0.514286 -0.528571 -0.485714 -0.371429 +-0.157143 0.214286 0.557143 0.714286 0.757143; +#X coords 0 1 19 -1 200 140 1; +#X restore 681 196 graph; +#N canvas 0 0 450 300 graph3 0; +#X array array3 20 float 1; +#A 0 1.86265e-009 1.86265e-009 1.86265e-009 1.86265e-009 1.86265e-009 +-0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 -0.0142857 +-0.0142857 -0.0285714 -0.0285714 -0.0285714 -0.0285714 -0.0142857 -0.0142857 +-0.0142857; +#X coords 0 1 19 -1 200 140 1; +#X restore 680 371 graph; +#X obj 22 500 arraycopy array3; +#X text 339 402 set the destination array; +#X text 41 1 arraycopy :: copy data from one array to another; +#X text 146 22 written by Olaf Matthes ; +#X msg 22 109 copy array1; +#X msg 43 139 copy array1 10 15; +#X text 131 109 copy the whole array; +#X text 200 140 copy from value 10 to 15; +#X msg 60 169 copy array1 10 +5; +#X text 217 170 copy from value 10 the next 5 values; +#X msg 85 359 print \$1; +#X obj 85 333 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X text 116 334 switch console printout on/off; +#X text 281 202 copy from value 10 to 15; +#X msg 73 201 copy array1 10 15 array2; +#X text 280 222 into array2 (starting at 0); +#X text 322 251 copy from value 10 to 15; +#X text 321 271 into array2 starting at 4; +#X msg 92 250 copy array1 10 15 array2 4; +#X msg 368 454 array3; +#X msg 86 414 bang; +#X text 137 412 perform last copy; +#X text 137 429 operation again; +#X text 20 537 creation argument: initial destination array to copy +data to; +#X obj 200 502 symbol; +#X msg 339 428 array2; +#X connect 7 0 3 0; +#X connect 8 0 3 0; +#X connect 11 0 3 0; +#X connect 13 0 3 0; +#X connect 14 0 13 0; +#X connect 17 0 3 0; +#X connect 21 0 3 0; +#X connect 22 0 27 0; +#X connect 23 0 3 0; +#X connect 27 0 3 1; +#X connect 28 0 27 0; diff --git a/help/help-deny.pd b/help/help-deny.pd new file mode 100644 index 0000000..9ca4a29 --- /dev/null +++ b/help/help-deny.pd @@ -0,0 +1,20 @@ +#N canvas 358 305 556 310 12; +#X text 97 34 written by Olaf Matthes ; +#X msg 125 65 cat; +#X msg 147 97 dog; +#X msg 157 126 bird; +#X floatatom 82 269 5 0 0 0 - - -; +#X symbolatom 151 246 10 0 0 0 - - -; +#X obj 114 156 symbol \$1; +#X floatatom 40 81 5 0 0 0 - - -; +#X obj 82 217 route float symbol; +#X obj 82 189 deny 17 cat dog 23; +#X text 32 18 deny :: blocks 'denyed' floats or symbols; +#X connect 1 0 6 0; +#X connect 2 0 6 0; +#X connect 3 0 6 0; +#X connect 6 0 9 0; +#X connect 7 0 9 0; +#X connect 8 0 4 0; +#X connect 8 1 5 0; +#X connect 9 0 8 0; diff --git a/help/help-listfifo.pd b/help/help-listfifo.pd new file mode 100644 index 0000000..a40a609 --- /dev/null +++ b/help/help-listfifo.pd @@ -0,0 +1,26 @@ +#N canvas 476 153 456 307 12; +#X floatatom 104 231 5 0 0 0 - - -; +#X msg 38 46 bang; +#X text 146 152 fifo ; +#X obj 38 152 listfifo 10; +#X text 42 14 listfifo :: first in first out buffer for lists; +#X obj 104 187 unpack f f; +#X floatatom 179 230 5 0 0 0 - - -; +#X obj 38 263 print listfifo_output; +#X text 204 185 output of listfifo; +#X msg 66 76 17.3 23; +#X obj 166 101 pack f f; +#X floatatom 166 70 5 0 0 0 - - -; +#X floatatom 225 70 5 0 0 0 - - -; +#X msg 84 125 \$1 \$2; +#X text 83 46 hit to get next number out of the fifo; +#X connect 1 0 3 0; +#X connect 3 0 5 0; +#X connect 3 0 7 0; +#X connect 5 0 0 0; +#X connect 5 1 6 0; +#X connect 9 0 3 0; +#X connect 10 0 13 0; +#X connect 11 0 10 0; +#X connect 12 0 10 1; +#X connect 13 0 3 0; diff --git a/help/help-maxlib.pd b/help/help-maxlib.pd index 663c605..dfe8564 100644 --- a/help/help-maxlib.pd +++ b/help/help-maxlib.pd @@ -1,73 +1,119 @@ -#N canvas 70 3 889 647 12; -#X obj 290 277 average; -#X obj 19 171 beat; -#X obj 19 196 borax; -#X obj 19 146 chord; -#X obj 472 491 dist; -#X obj 290 172 divide; -#X obj 290 146 divmod; -#X obj 606 171 fifo; -#X obj 290 303 history; -#X obj 17 496 ignore; -#X obj 17 470 iso; -#X obj 605 145 lifo; -#X obj 290 329 match; -#X obj 290 197 minus; -#X obj 609 261 mlife; -#X obj 290 224 multi; -#X obj 472 516 netdist; -#X obj 19 272 pitch; -#X obj 290 251 plus; -#X obj 17 418 pulse; -#X obj 472 542 remote; -#X obj 19 221 rhythm; -#X obj 19 246 score array01; -#X obj 17 444 speedlim; -#X obj 17 522 step; -#X obj 609 236 subst; -#X text 30 27 maxlib 0.8 :: Music Analysis eXtensions LIBrary; +#N canvas 11 6 1106 717 12; +#X obj 274 260 average; +#X obj 18 150 beat; +#X obj 18 175 borax; +#X obj 18 125 chord; +#X obj 15 551 dist; +#X obj 274 155 divide; +#X obj 274 129 divmod; +#X obj 599 149 fifo; +#X obj 274 286 history; +#X obj 601 503 ignore; +#X obj 601 477 iso; +#X obj 598 123 lifo; +#X obj 274 312 match; +#X obj 274 180 minus; +#X obj 600 257 mlife; +#X obj 274 207 multi; +#X obj 15 576 netdist; +#X obj 18 251 pitch; +#X obj 274 234 plus; +#X obj 601 425 pulse; +#X obj 15 600 remote; +#X obj 18 200 rhythm; +#X obj 18 225 score array01; +#X obj 601 451 speedlim; +#X obj 601 529 step; +#X obj 600 232 subst; #X text 140 44 written by Olaf Matthes ; -#X text 139 61 download at http://www.akustische-kunst.de/puredata/maxlib +#X text 71 125 chord detection; +#X text 68 150 beat tracking; +#X text 77 201 beat detection; +#X text 72 176 music analysis; +#X text 135 225 score following; +#X text 72 251 pitch information; +#X text 19 94 MUSIC / MIDI ANALYSIS; +#X text 274 93 MATH; +#X text 341 130 calculate / and %; +#X text 339 155 / for several inputs; +#X text 333 235 + for several inputs; +#X text 333 207 * for several inputs; +#X text 337 181 - for several inputs; +#X text 345 259 average of last N values; +#X text 346 285 average over last N seconds; +#X text 329 312 match input to list of numbers; +#X text 601 399 TIME; +#X text 678 452 lets input through every N milliseconds; +#X text 640 479 play sequence of MIDI notes; +#X text 662 504 ignore too fast changing input; +#X text 63 550 send to list of receive objects; +#X text 84 574 same for netreceive; +#X text 74 599 send to one receive object; +#X text 597 96 BUFFER; +#X text 648 531 a line object that steps; +#X text 599 208 OTHER / EXPERIMENTAL; +#X text 657 231 self-similar substitution; +#X text 656 257 cellular automaton; +#X obj 274 338 scale; +#X text 656 425 a 'better' metro; +#X obj 601 555 history; +#X obj 601 581 velocity; +#X text 670 555 average over last N milliseconds; +#X text 677 581 velocity of input in digits per second; +#X obj 15 624 netrec; +#X text 74 625 netreceive with extra info about sender; +#X obj 274 364 delta; +#X text 139 61 download at http://www.akustische-kunst.org/puredata/maxlib ; -#X text 72 146 chord detection; -#X text 69 171 beat tracking; -#X text 78 222 beat detection; -#X text 73 197 music analysis; -#X text 136 246 score following; -#X text 73 272 pitch information; -#X text 20 115 MUSIC / MIDI ANALYSIS; -#X text 290 110 MATH; -#X text 357 147 calculate / and %; -#X text 355 172 / for several inputs; -#X text 349 252 + for several inputs; -#X text 349 224 * for several inputs; -#X text 353 198 - for several inputs; -#X text 361 276 average of last N values; -#X text 362 302 average over last N seconds; -#X text 345 329 match input to list of numbers; -#X text 17 392 TIME; -#X text 94 445 lets input through every N milliseconds; -#X text 56 472 play sequence of MIDI notes; -#X text 78 497 ignore too fast changing input; -#X text 469 459 CONTROL; -#X text 520 490 send to list of receive objects; -#X text 541 514 same for netreceive; -#X text 531 541 send to one receive object; -#X text 604 118 BUFFER; -#X text 650 145 last in first out; -#X text 653 171 first in first out; -#X text 64 524 a line object that steps; -#X text 606 204 OTHER / EXPERIMENTAL; -#X text 666 235 self-similar substitution; -#X text 665 261 cellular automaton; -#X obj 290 355 scale; -#X text 344 356 scale input to outpur range; -#X text 72 418 a 'better' metro; -#X obj 17 548 history; -#X obj 17 574 velocity; -#X text 86 548 average over last N milliseconds; -#X text 93 574 velocity of input in digits per second; -#X obj 472 569 netrec; -#X text 531 570 netreceive with extra info about sender; -#X obj 290 381 delta; -#X text 344 381 calculate 1st or 2nd order difference; +#X obj 599 174 listfifo; +#X text 677 173 first in first out for lists; +#X text 646 148 first in first out for floats; +#X text 643 123 last in first out for floats; +#X obj 600 607 sync; +#X text 645 609 extended trigger object; +#X text 328 338 scale input to output range; +#X text 13 528 (REMOTE)CONTROL; +#X obj 16 649 netserver; +#X obj 16 676 netclient; +#X text 103 654 bidirectional communication; +#X text 112 669 (client / server based); +#X obj 274 392 wrap; +#X obj 274 419 rewrap; +#X text 320 392 warp a number in a range; +#X text 337 420 warp it back and forth; +#X text 30 26 maxlib 1.3 :: Music Analysis eXtensions LIBrary; +#X text 328 364 calculate 1st or 2nd order diff.; +#X text 600 288 RANDOM; +#X obj 600 312 gauss; +#X obj 600 337 poisson; +#X obj 666 312 linear; +#X obj 666 337 bilex; +#X obj 736 311 expo; +#X obj 785 311 beta; +#X obj 834 312 cauchy; +#X obj 737 338 arbran array01 array02; +#X obj 18 278 gestalt; +#X obj 18 303 edge; +#X text 56 306 detect rising/falling edge; +#X text 84 278 'gestalt' of music; +#X obj 599 365 urn; +#X text 632 366 urn selection model; +#X obj 601 635 timebang; +#X text 680 635 send a bang at given time of day; +#X obj 15 390 split; +#X obj 15 439 unroute; +#X text 81 440 opposit to route; +#X text 67 392 split according to range; +#X obj 15 463 limit; +#X text 63 464 limiter for floats; +#X obj 15 415 nroute; +#X text 69 416 r. according to Nth elem.; +#X text 24 363 ROUTING / CHECKING; +#X obj 600 661 pong; +#X obj 18 330 tilt; +#X obj 600 686 temperature; +#X text 698 687 amount of input changes per time; +#X text 646 662 a bouncing ball model; +#X text 66 333 meassure tilt of input; +#X obj 16 489 listfunnel; +#X text 107 490 Max's funnel for lists; diff --git a/help/help-nchange.pd b/help/help-nchange.pd new file mode 100644 index 0000000..cfcf00b --- /dev/null +++ b/help/help-nchange.pd @@ -0,0 +1,31 @@ +#N canvas 271 238 519 310 12; +#X obj 30 213 nchange f; +#X obj 371 215 nchange l; +#X msg 367 144 bla foo dog; +#X msg 387 169 bla foo 23; +#X msg 348 121 bla foo dog 17; +#X obj 200 214 nchange s; +#X obj 200 185 symbol; +#X msg 200 126 dog; +#X msg 216 153 cat; +#X obj 162 15 change; +#X obj 371 253 print list; +#X obj 200 255 print symbol; +#X msg 30 152 0; +#X msg 43 180 1; +#X obj 30 257 print float; +#X text 100 34 written by Olaf Matthes ; +#X text 12 15 nchange :: a 'new'; +#X text 22 77 The creation argument specifies whether nchange works +for floats \, symbols or lists.; +#X connect 0 0 14 0; +#X connect 1 0 10 0; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 4 0 1 0; +#X connect 5 0 11 0; +#X connect 6 0 5 0; +#X connect 7 0 6 0; +#X connect 8 0 6 0; +#X connect 12 0 0 0; +#X connect 13 0 0 0; diff --git a/help/help-remote.pd b/help/help-remote.pd index 54a7caf..6ee5b8f 100644 --- a/help/help-remote.pd +++ b/help/help-remote.pd @@ -1,4 +1,4 @@ -#N canvas 472 309 456 306 12; +#N canvas 472 309 567 308 12; #X text 9 9 remote :: send data to any receive object; #X obj 32 224 remote; #X obj 216 222 receive bla; @@ -11,6 +11,8 @@ #X text 253 91 with data of any type; #X text 89 26 written by Olaf Matthes ; #X msg 61 147 foo five is 2 more than 3; +#X msg 294 146 \; bla 17.3 23; +#X text 296 168 this does the same...; #X connect 2 0 4 0; #X connect 3 0 5 0; #X connect 6 0 1 0; diff --git a/help/help-sync.pd b/help/help-sync.pd new file mode 100644 index 0000000..d82521e --- /dev/null +++ b/help/help-sync.pd @@ -0,0 +1,53 @@ +#N canvas 142 53 830 657 12; +#X text 78 16 sync :: extended trigger object based; +#X text 143 35 on sync from jMax; +#X floatatom 18 485 5 0 0 0 - - -; +#X floatatom 39 457 5 0 0 0 - - -; +#X floatatom 61 433 5 0 0 0 - - -; +#X floatatom 18 124 5 0 0 0 - - -; +#X floatatom 39 152 5 0 0 0 - - -; +#X floatatom 61 177 5 0 0 0 - - -; +#X msg 205 143 mode any; +#X msg 187 116 mode all; +#X msg 216 169 mode left; +#X msg 229 198 mode right; +#X msg 243 226 mode none; +#X text 295 142 any input triggers the outputs; +#X text 305 169 trigger output when left inlet changes; +#X text 325 199 trigger output when right inlet changes; +#X text 333 228 never trigger output; +#X obj 18 404 sync 3; +#X text 146 415 the creation argument determines the number of inlets +/ outlets sync will have.; +#X obj 149 462 sync 23 17.3; +#X text 147 490 alternatively it's possible to specify the number of +inlets / outlets by giving initial values for every outlet. these values +will be output in case no input has been received in the corresponding +inlet until the time when the output is triggered.; +#X text 274 116 all inputs have to change to trigger output (default) +; +#X msg 223 270 trigger 2; +#X msg 230 335 require 1; +#X text 324 320 additionally another input can be defined to be required +for the trigger event to take place. i.e. the second inlet (inlet #1) +from the left must have been changed since the last triggering occured. +; +#X text 324 265 use this message to make the n-th input (counting from +0 to ) a triggering input. only one input at +a time can be triggering!; +#X text 212 90 the easy way:; +#X msg 228 299 trigger 1; +#X connect 5 0 17 0; +#X connect 6 0 17 1; +#X connect 7 0 17 2; +#X connect 8 0 17 0; +#X connect 9 0 17 0; +#X connect 10 0 17 0; +#X connect 11 0 17 0; +#X connect 12 0 17 0; +#X connect 17 0 2 0; +#X connect 17 1 3 0; +#X connect 17 2 4 0; +#X connect 22 0 17 0; +#X connect 23 0 17 0; +#X connect 27 0 17 0; -- cgit v1.2.1