diff --git a/Examples/Part.04-Control/14-Triggers-LFO-LFNoise/7.[clock].pd b/Examples/Part.04-Control/14-Triggers-LFO-LFNoise/7.[clock].pd index c316140c..d7327c9e 100644 --- a/Examples/Part.04-Control/14-Triggers-LFO-LFNoise/7.[clock].pd +++ b/Examples/Part.04-Control/14-Triggers-LFO-LFNoise/7.[clock].pd @@ -40,11 +40,11 @@ See the help file of the object., f 87; #X obj 103 364 clock 60; #X obj 213 364 clock -s 2; #X obj 302 364 clock -s 3/2; -#X obj 508 489 tap; -#X obj 508 452 bng 17 250 50 0 empty empty empty 17 7 0 10 #dfdfdf +#X obj 526 393 tap; +#X obj 526 356 bng 17 250 50 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000; -#X floatatom 508 525 7 0 0 0 - - - 0; -#X text 444 387 See also the [tap] object that can set a tempo from +#X floatatom 526 429 7 0 0 0 - - - 0; +#X text 462 291 See also the [tap] object that can set a tempo from "tapping" on a bang., f 25; #X obj 103 421 impseq~; #X obj 213 421 impseq~; @@ -53,6 +53,8 @@ See the help file of the object., f 87; #X obj 213 458 resonant~ 1050 200, f 9; #X obj 103 497 drive~ 5; #X obj 103 451 resonant~ 450 300, f 9; +#X text 442 493 This object also syncs with [metronome] objects as +we'll see later in the section on sequencers., f 25; #X connect 1 0 22 0; #X connect 2 0 22 1; #X connect 4 0 22 0; diff --git a/Examples/Part.04-Control/19-Sequencing/6.Rythmic/6.[pattern].pd b/Examples/Part.04-Control/19-Sequencing/6.Rythmic/6.[pattern].pd index 6efe3b10..78ef1fd6 100755 --- a/Examples/Part.04-Control/19-Sequencing/6.Rythmic/6.[pattern].pd +++ b/Examples/Part.04-Control/19-Sequencing/6.Rythmic/6.[pattern].pd @@ -1,11 +1,11 @@ -#N canvas 636 106 597 568 12; +#N canvas 709 23 625 659 12; #X declare -path else; #X obj 371 40 declare -path else; -#X obj 194 411 bng 18 250 50 0 empty empty empty 17 7 0 10 -228856 --1 -1; +#X obj 194 411 bng 18 250 50 0 empty empty empty 17 7 0 10 #dcdcdc +#000000 #000000; #X text 189 433 stop; -#X obj 235 483 bng 18 250 50 0 empty empty empty 17 7 0 10 -228856 --1 -1; +#X obj 235 483 bng 18 250 50 0 empty empty empty 17 7 0 10 #dcdcdc +#000000 #000000; #X text 261 477 start of pattern, f 8; #X text 317 441 Bar number and total number of tempos, f 20; #X obj 194 380 route stop start bar dur; @@ -16,14 +16,14 @@ #X msg 170 242 1/4 1/4 1/4 1/8 1/24 1/24 1/24 | 1/4 -1/4 1/8 1/8 1/4 1/8 1/8 1/4, f 32; #X text 379 375 route information from the right outlet, f 22; -#X obj 142 247 tgl 20 0 empty empty empty 17 7 0 10 -228856 -1 -1 0 -1; +#X obj 142 247 tgl 20 0 empty empty empty 17 7 0 10 #dcdcdc #000000 +#000000 0 1; #X obj 317 410 else/display 8; #X obj 276 444 else/display 4; #X msg 187 339 10/56 5/56 5/56 10/56 5/56 3/40 3/40 3/40 3/40 3/40 ; -#X obj 129 209 bng 20 250 50 0 empty empty empty 17 7 0 10 -228856 --1 -1; +#X obj 129 209 bng 20 250 50 0 empty empty empty 17 7 0 10 #dcdcdc +#000000 #000000; #X text 156 211 <= start/restart; #X text 406 240 <== set and start or restart the sequence, f 20; #X msg 86 210 stop; @@ -36,8 +36,11 @@ defined as \, for instance \, 1/6 (a fourth note triplet). Note you can have nested tuplets (1/15 is a quintuplet inside a triplet). Check the help file for more info., f 67; #X msg 34 314 tempo \$1; -#X floatatom 34 286 5 0 0 0 - - -; +#X floatatom 34 286 5 0 0 0 - - - 0; #X text 36 264 bpm; +#X text 122 556 A [pattern] object can also output indexes that you +can use to query for a sequence from an array or a [sequencer] object. +Check the example in the help file., f 58; #X connect 6 0 1 0; #X connect 6 1 3 0; #X connect 6 2 14 0; diff --git a/Examples/Part.04-Control/19-Sequencing/6.Rythmic/7.[metronome].pd b/Examples/Part.04-Control/19-Sequencing/6.Rythmic/7.[metronome].pd index 6ace4509..65fb4c89 100755 --- a/Examples/Part.04-Control/19-Sequencing/6.Rythmic/7.[metronome].pd +++ b/Examples/Part.04-Control/19-Sequencing/6.Rythmic/7.[metronome].pd @@ -1,13 +1,13 @@ -#N canvas 789 133 648 648 12; +#N canvas 565 110 660 613 12; #X declare -path else; #X obj 347 20 declare -path else; -#X obj 73 46 tgl 20 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 +#X obj 73 43 tgl 20 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000 0 1; #X obj 106 265 bng 22 250 50 0 empty empty empty 17 7 0 10 #dcdcdc #000000 #000000; #X floatatom 313 180 4 0 0 0 - - - 12; #X floatatom 313 237 4 0 0 0 - - - 12; -#X text 72 264 beat bang, f 4; +#X text 70 261 beat bang, f 4; #X obj 206 523 else/out~; #X obj 206 405 impseq~; #X obj 94 405 impseq~; @@ -19,9 +19,9 @@ #X floatatom 271 294 7 0 0 0 - - - 12; #X obj 230 337 sel 1, f 3; #X text 234 290 sub div, f 3; -#X msg 148 122 timesig 7/8; -#X msg 133 95 timesig 6/8; -#X msg 106 47 timesig 15/8 3; +#X msg 144 121 timesig 7/8; +#X msg 132 95 timesig 6/8; +#X msg 106 44 timesig 15/8 3; #X obj 188 265 else/display 3; #X obj 147 265 else/display 3; #X obj 230 265 else/display 3; @@ -30,10 +30,10 @@ #X text 314 157 tempo; #X obj 316 439 else/resonant~ 1000 100, f 14; #X obj 206 439 else/resonant~ 600 100, f 14; -#X msg 163 148 timesig 4/4; -#X msg 175 173 timesig 3/4; +#X msg 154 146 timesig 4/4; +#X msg 169 170 timesig 3/4; #X obj 106 211 else/metronome 90, f 30; -#X msg 117 69 timesig 15/8 5; +#X msg 119 69 timesig 15/8 5; #X text 349 240 frames (0-960); #X text 327 295 phase (0-1); #X obj 316 378 bang; @@ -42,6 +42,15 @@ It is here because you can use the bar count to fire a sequence with select. Or select a specific beat in a bar \, kind of like a timeline in a DAW (hint \, hint)., f 47; +#X obj 487 333 clock -s 1.5; +#X obj 469 431 else/out~; +#X obj 469 396 *~; +#X obj 487 304 tgl 18 0 empty empty empty 17 7 0 10 #dfdfdf #000000 +#000000 0 1; +#X obj 429 363 brown~; +#X obj 487 363 decay~ 300; +#X text 436 505 The [clock] object can also sync to [metronome] objects. +Check its help file., f 24; #X connect 1 0 29 0; #X connect 3 0 29 1; #X connect 7 0 26 0; @@ -70,3 +79,8 @@ in a DAW (hint \, hint)., f 47; #X connect 30 0 29 0; #X connect 33 0 9 0; #X connect 34 0 7 0; +#X connect 36 0 41 0; +#X connect 38 0 37 0; +#X connect 39 0 36 0; +#X connect 40 0 38 0; +#X connect 41 0 38 1;