Update of /cvsroot/pure-data/externals/mjlib/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2487/doc
Added Files: about-help.pd metroplus-help.pd monorhythm-help.pd morse-help.pd n2m-help.pd pin~-help.pd polyexample.pd prob-help.pd Log Message: made mjLib conform to the CVS build system and 0.37 help patch naming scheme
--- NEW FILE: n2m-help.pd --- #N canvas 227 128 645 441 12; #X obj 104 320 n2m; #X obj 95 378 print; #X text 32 13 n2m - note to midi; #X text 32 36 by mark williamson (http://www.junklight.com); #X text 33 75 n2m converts note names in the form <note name><octave> to a midi number. It copes with single notes or chords.; #X msg 109 174 note C5 d#7 c3; #X msg 67 128 note c6; #X msg 146 220 note D; #X msg 182 270 note 7; #X text 174 129 output note C6; #X text 271 174 output a chord; #X text 244 218 Octave defaults to 4; #X text 266 268 note defaults to C; #X text 191 343 on Windows , its not case sensitive; #X connect 0 0 1 0; #X connect 5 0 0 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X connect 8 0 0 0;
--- NEW FILE: morse-help.pd --- #N canvas 68 34 884 712 12; #X obj 274 213 morse; #X obj 274 243 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 296 243 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 319 243 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 61 73 1; #X msg 121 47 stop; #X msg 303 165 msg this is a test message; #X obj 87 119 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X msg 303 139 msg 1 2 3 4 8; #X obj 106 117 metro 100; #X obj 129 615 dac~; #X obj 137 574 *~; #X obj 165 549 hsl 128 22 0.01 1 1 0 empty empty volume 9 9 1 10 -262144 -1 -1 10000 0; #X obj 137 524 *~; #X obj 62 297 osc~ 440; #X obj 65 269 hsl 128 22 10 6000 0 0 empty empty frequency 9 9 1 10 -262144 -1 -1 1900 1; #X obj 183 484 line~; #X obj 197 390 delay 50; #X obj 197 370 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X floatatom 286 392 5 0 0 0 - - -; #X floatatom 7 298 5 0 0 0 - - -; #X msg 62 241 906.1; #X obj 62 214 loadbang; #X obj 382 389 delay 50; #X obj 382 369 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X floatatom 468 390 5 0 0 0 - - -; #X obj 355 657 writesf~ 2; #X msg 358 596 start; #X msg 421 596 stop; #X msg 428 627 open mouts.wav; #X msg 157 430 1 1; #X msg 197 430 0 1; #X msg 342 429 1 1; #X msg 384 429 0 1; #X obj 683 155 hsl 128 15 10 1000 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 513 1; #X text 714 129 speed; #X floatatom 681 185 5 0 0 0 - - -; #X obj 643 276 s dot; #X obj 735 276 s dash; #X obj 191 91 r dot; #X obj 272 364 r dot; #X obj 457 362 r dash; #X obj 735 224 * 3; #X msg 680 93 50; #X obj 680 64 loadbang; #X text 230 333 dot; #X text 387 337 dash; #X text 188 528 volume - don't forget to set!; #X msg 61 47 start; #X text 335 684 you can record to a file.; #X text 11 4 convert text to Morse Code; #X text 223 36 On UNIX and MacOS X systems , its case-sensitive , on Windows , its not.; #X connect 0 0 1 0; #X connect 0 1 2 0; #X connect 0 2 3 0; #X connect 1 0 18 0; #X connect 2 0 24 0; #X connect 4 0 9 0; #X connect 5 0 9 0; #X connect 6 0 0 0; #X connect 8 0 0 0; #X connect 9 0 0 0; #X connect 9 0 7 0; #X connect 11 0 10 0; #X connect 11 0 10 1; #X connect 11 0 26 0; #X connect 11 0 26 1; #X connect 12 0 11 1; #X connect 13 0 11 0; #X connect 14 0 13 0; #X connect 15 0 14 0; #X connect 15 0 20 0; #X connect 16 0 13 1; #X connect 17 0 31 0; #X connect 18 0 17 0; #X connect 18 0 30 0; #X connect 21 0 15 0; #X connect 22 0 21 0; #X connect 23 0 33 0; #X connect 24 0 23 0; #X connect 24 0 32 0; #X connect 27 0 26 0; #X connect 28 0 26 0; #X connect 29 0 26 0; #X connect 30 0 16 0; #X connect 31 0 16 0; #X connect 32 0 16 0; #X connect 33 0 16 0; #X connect 34 0 36 0; #X connect 36 0 37 0; #X connect 36 0 42 0; #X connect 39 0 9 1; #X connect 40 0 17 1; #X connect 40 0 19 0; #X connect 41 0 23 1; #X connect 41 0 25 0; #X connect 42 0 38 0; #X connect 43 0 34 0; #X connect 44 0 43 0; #X connect 48 0 4 0;
--- NEW FILE: pin~-help.pd --- #N canvas 146 80 623 617 12; #X obj 210 485 dac~; #X obj 159 395 osc~; #X msg 159 282 69; #X obj 159 327 mtof; #X floatatom 159 304 0 0 0 0 - - -; #X floatatom 159 349 0 0 0 0 - - -; #X obj 159 371 sig~; #X floatatom 238 314 5 0 1 0 - - -; #X floatatom 312 359 5 0 0 0 - - -; #X text 19 13 pin~; #X text 20 55 the pin~ object can be considered to be similar to the pin in a bagatelle game. The ball upon hitting it has a random probability of falling to one side or the other. The pin~ object takes a single signal input and outputs it to the left or right output at random based on the probability set (right most input). The interval at which the outlet is choosen can be set by the right most input. Setting this to 0 or less means a different output is choosen for every call of the dsp routine. A higher value means that the output is choosen every so many milliseconds.; #X obj 159 250 loadbang; #X text 19 314 test signal; #X text 19 327 generator---->; #X text 226 289 probability to choose left; #X text 304 307 (between 0 and 1); #X text 325 338 choice interval; #X obj 181 437 pin~ 0.5 100; #X text 25 523 note that no panning or envelopes are applied and therefore low choice intervals will add "switching" noise to the output.; #X text 19 30 by mark williamson (mark@junklight.com); #X connect 1 0 17 0; #X connect 2 0 4 0; #X connect 3 0 5 0; #X connect 4 0 3 0; #X connect 5 0 6 0; #X connect 6 0 1 0; #X connect 7 0 17 1; #X connect 8 0 17 2; #X connect 11 0 2 0; #X connect 17 0 0 0; #X connect 17 1 0 1;
--- NEW FILE: polyexample.pd --- #N canvas 488 354 600 357 12; #X obj 120 193 monorhythm; #X obj 157 270 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 155 91 start; #X obj 111 274 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X obj 200 228 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 228 91 stop; #X msg 220 160 2000; #X obj 286 194 monorhythm; #X obj 323 271 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X obj 277 275 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X obj 358 226 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 374 161 2000; #X text 42 16 An example of a polyrhythm ( 2 against 3) built with 2 monorhythm's; #X obj 321 121 loadbang; #X msg 305 160 2 1 1; #X msg 170 159 2 1; #X text 89 294 beat; #X text 148 292 accent; #X text 250 293 beat; #X text 313 295 accent; #X connect 0 0 3 0; #X connect 0 1 1 0; #X connect 0 2 4 0; #X connect 0 2 7 0; #X connect 2 0 0 0; #X connect 5 0 7 0; #X connect 5 0 0 0; #X connect 6 0 0 2; #X connect 7 0 9 0; #X connect 7 1 8 0; #X connect 7 2 10 0; #X connect 11 0 7 2; #X connect 13 0 11 0; #X connect 13 0 14 0; #X connect 13 0 15 0; #X connect 13 0 6 0; #X connect 14 0 7 1; #X connect 15 0 0 1;
--- NEW FILE: monorhythm-help.pd --- #N canvas 153 22 644 746 12; #X obj 292 684 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 115 505 start; #X obj 219 680 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X obj 373 685 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 41 494 stop; #X obj 210 507 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 353 526 1 2 1 1; #X msg 452 538 2000; #X msg 261 491 1 2 0 1; #X obj 219 611 monorhythm 2000 2 1 1; #X text 23 38 by mark williamson; #X text 25 13 monorhythm; #X text 23 62 (mark@junklight.com); #X text 28 97 The monorhythm object is designed to allow simple rythms to be generated. It is also constructed in such away so as to create more complex polyrhythms quickly and easily.; #X text 28 154 The monorhythm object is given a time interval and a rhythm pattern. It divides the interval into the number of beats in the pattern and outputs bangs as defined by the pattern. The performance time of the entire pattern is given by the time interval.; #X text 30 242 The pattern consists of strings of the symbols 0 , 1 and 2 0 is a rest , 1 is a normal beat and 2 is an accented beat. A rest produces no output. A 1 produces a bang on the leftmost outlet. A 2 produces a bang on the left most outlet and a bang on the middle outlet (the accent outlet).; #X text 30 331 In order to synchronise multiple monorhythms there is a third outlet - the sync outlet. This does a bang at the start of every bar - which can be fed to the left most inlet of a second (or Nth) monorhythm.; #X text 29 412 for an example of a polyrhythm see:; #X obj 380 412 polyexample; #X text 199 701 beat; #X text 278 702 accent; #X text 362 704 sync; #X text 449 568 time interval; #X text 278 459 pattern; #X text 37 466 stop; #X text 104 467 start or bang; #X text 105 483 sets it going; #X msg 25 559 exclusive; #X msg 27 654 nonexclusive; #X text 22 590 beat and accent; #X text 21 607 bangs are mutually; #X text 20 622 exclusive; #X text 23 682 accent bang; #X text 23 697 supplements; #X text 22 715 the beat bang; #X connect 1 0 9 0; #X connect 4 0 9 0; #X connect 5 0 9 0; #X connect 6 0 9 1; #X connect 7 0 9 2; #X connect 8 0 9 1; #X connect 9 0 2 0; #X connect 9 1 0 0; #X connect 9 2 3 0; #X connect 27 0 9 0; #X connect 28 0 9 0;
--- NEW FILE: prob-help.pd --- #N canvas 144 132 614 505 12; #X obj 235 384 prob; #X obj 235 448 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 134 317 start; #X msg 192 304 stop; #X floatatom 249 276 5 0 0 0 - - -; #X floatatom 294 348 5 0 1 0 - - -; #X text 221 254 time interval; #X text 271 314 probability; #X text 260 330 between 0 and 1; #X text 25 15 prob; #X text 25 36 by mark williamson; #X text 23 56 (mark@junklight.com); #X text 26 84 prob is designed to generate a random event with a given probability at a given interval. Every clock tick (set by time) it generates a random number and compares it against the probability to see if an event should occur. If so a bang is output at the outlet. ; #X text 25 174 The probability is set as a value between 0 and 1 Time is measured in milliseconds. The messages start and stop - start and stop events being generated. The prob object can also be started with a bang.; #X obj 103 350 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X text 64 372 bang has the; #X text 64 389 same effect; #X text 64 405 as start; #X connect 0 0 1 0; #X connect 2 0 0 0; #X connect 3 0 0 0; #X connect 4 0 0 1; #X connect 5 0 0 2; #X connect 14 0 0 0;
--- NEW FILE: metroplus-help.pd --- #N canvas 155 70 632 505 12; #X obj 166 441 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 170 249 start; #X msg 123 351 stop; #X floatatom 460 286 5 0 0 0 - - -; #X obj 173 393 metroplus 1000 500 1000 200; #X msg 269 309 500 1000 200; #X text 28 13 metroplus; #X text 27 32 by mark williamson (mark@junklight.com); #X obj 182 279 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X text 27 65 metroplus is a variation on the metro object. Instead of providing a steady pulse however it can provide an irregular beat. It takes as its control a list of numbers representing intervals in milliseconds. These are the time between each "pulse". So for example with the initial setting below (in the metroplus object itself) - the first pulse comes after 1 second the second after 500ms the third after 1 second and the fourth after 200ms - the next beat comming a second after that because the sequence starts again.; #X text 19 243 start with; #X text 18 257 a start message; #X text 18 274 or a 'bang'---->; #X text 12 321 stop with a; #X text 11 338 stop; #X text 13 352 message--->; #X text 245 286 set a new sequence; #X text 457 322 it still works; #X text 455 338 like a metro; #X text 428 355 object if you want; #X text 518 372 it to; #X connect 1 0 4 0; #X connect 2 0 4 0; #X connect 3 0 4 1; #X connect 4 0 0 0; #X connect 5 0 4 1; #X connect 8 0 4 0;
--- NEW FILE: about-help.pd --- #N canvas 123 239 657 440 12; #X floatatom 215 277 5 0 0 0 of_this_number---> - -; #X floatatom 217 374 5 0 0 0 here---> - -; #X obj 218 172 bng 35 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X floatatom 325 214 5 0 0 0 - - -; #X obj 219 323 about 10; #X text 24 16 about; #X text 25 34 by mark williamson; #X text 22 56 (mark@junklight.com); #X text 26 92 about makes numbers that are + or - a percenage error from a given value. That is it makes numbers that are "about" the given value.; #X text 67 168 click here --->; #X text 88 194 and get; #X text 258 192 a number which is within; #X text 377 215 %; #X text 319 340 %age as a parameter; #X text 304 322 note: you can set the default; #X connect 0 0 4 0; #X connect 2 0 0 0; #X connect 3 0 4 1; #X connect 4 0 1 0;