From 91a9a2df8d040afc20889487ec498028a4243b5c Mon Sep 17 00:00:00 2001 From: Rob Hamilton Date: Wed, 23 Sep 2020 20:03:11 -0400 Subject: [PATCH] cleaning --- classlist.txt | 2 +- hamilr4.pd | 50 ++++++++-------- masheen.pd | 154 +++++++++++++++++++++++++++----------------------- 3 files changed, 111 insertions(+), 95 deletions(-) diff --git a/classlist.txt b/classlist.txt index d09c2a2..ed0481f 100644 --- a/classlist.txt +++ b/classlist.txt @@ -1,5 +1,5 @@ hamilr4; -bilge; +bilgeh; boller; corres2; fallit; diff --git a/hamilr4.pd b/hamilr4.pd index 09dfc9b..48a75bb 100644 --- a/hamilr4.pd +++ b/hamilr4.pd @@ -1,4 +1,4 @@ -#N canvas 240 53 1680 980 12; +#N canvas 88 173 1680 980 12; #X obj 112 997 outlet; #X obj 53 997 outlet~; #X text 184 995 Two outlets: the first is an audio outlet (note the @@ -14,7 +14,7 @@ the second is for data; #X obj 1030 97 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 1184 119 list trim; -#X msg 1184 140 hamilr4 key 1 q 113; +#X msg 1184 140 hamilr4 key 0 c 99; #X obj 1184 98 list prepend set; #X text 1030 0 Two named receives \, one for tempo (receives a "bang" event from the global clock metro) and the other receives a list of @@ -236,11 +236,11 @@ control data... this can be any size.; #X connect 12 0 11 0; #X connect 13 0 9 0; #X restore 1786 38 pd tests; -#X text 347 330 More control; -#X text 347 370 More structure... timeline; -#X text 347 290 More cowbell... sounds; -#X text 321 250 Show off browser examples; -#N canvas 240 53 1680 980 more_sounds 0; +#X text 341 276 More control; +#X text 341 316 More structure... timeline; +#X text 341 236 More cowbell... sounds; +#X text 182 182 Show off browser examples; +#N canvas 140 61 1680 980 more_sounds 0; #N canvas 305 23 1615 993 additive-synthesis 0; #X floatatom 62 6 5 0 0 0 - - -; #X obj 62 25 mtof; @@ -498,8 +498,8 @@ wave \, as you can see in the graph.; #X connect 16 0 9 0; #X restore 70 183 pd square-oscillator; #X text 55 99 Basic Synthesis Examples; -#N canvas 472 143 1113 485 karplus_strong 1; -#N canvas 707 129 706 668 strummer 0; +#N canvas 140 23 1359 853 karplus_strong 0; +#N canvas 747 160 706 668 strummer 0; #X obj 110 36 inlet; #X obj 247 15 inlet; #X text 290 37 strum speed inlet and default value; @@ -514,7 +514,7 @@ wave \, as you can see in the graph.; #X obj 110 114 + 1; #X obj 110 315 route 0 1 2 3 4 5 6 7; #X obj 110 143 % 8; -#X obj 155 106 i; +#X obj 139 89 i; #X obj 154 195 == 0; #X obj 110 166 t f f; #X obj 154 218 route 1; @@ -528,7 +528,7 @@ wave \, as you can see in the graph.; #X obj 218 538 i 55; #X obj 257 543 i 59; #X obj 293 563 i 64; -#N canvas 101 96 857 446 chords 0; +#N canvas 135 554 857 446 chords 0; #X obj 249 26 inlet; #X obj 82 265 outlet; #X obj 132 265 outlet; @@ -539,12 +539,13 @@ wave \, as you can see in the graph.; #X obj 144 201 unpack f f f f f f; #X msg 202 125 40 45 52 57 61 64; #X msg 326 126 43 47 52 55 59 67; -#X msg 81 124 40 47 52 55 59 64; +#X msg 78 125 40 47 52 55 59 64; #X obj 249 52 random 4; #X obj 250 80 route 0 1 2 3; #X msg 451 124 42 47 54 59 62 64; #X text 348 50 randomly choose one of four chords \, and output the midi pitches for each of the six strings.; +#X msg 593 199 40 64 67 71; #X connect 0 0 11 0; #X connect 7 0 1 0; #X connect 7 1 2 0; @@ -622,7 +623,7 @@ midi pitches for each of the six strings.; -2 -8 1 10 -262144 -1 -1 17177 1; #X obj 495 248 hsl 180 15 100 8000 0 0 empty \$0-cutoff_ctrl cutoff -2 -8 1 10 -262144 -1 -1 12689 1; -#N canvas 540 332 847 508 plucked_instrument 0; +#N canvas 3 23 1459 835 plucked_instrument 0; #X obj 22 63 inlet; #X obj 92 60 inlet; #X obj 175 60 inlet; @@ -653,6 +654,8 @@ at the specified pitch.; #X text 334 112 comment; #X text 73 343 scale the output down by approx 12dB to avoid clipping ; +#X text 509 273 Karplus-Strong; +#X text 510 312 Synthesis Toolkit (STK); #X connect 0 0 11 0; #X connect 1 0 20 0; #X connect 2 0 21 0; @@ -690,7 +693,7 @@ at the specified pitch.; #X restore 329 281 pd plucked_instrument; #X obj 411 118 hsl 180 15 1 250 0 0 empty \$0-strum_speed_ctrl strum_speed -2 -8 1 10 -262144 -1 -1 503 1; -#X obj 334 118 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 +#X obj 334 118 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 786 117 loadbang; #X msg 781 147 0.995; @@ -1448,7 +1451,7 @@ sent when you load this patch by the "loadbang" object.); #X connect 23 0 11 2; #X restore 368 188 pd cleaner-horrible-marimba; #X text 357 102 "Horrible" Instruments; -#N canvas 305 23 927 717 bells 0; +#N canvas 422 160 927 717 bells 0; #X obj 47 459 catch~ sum; #X obj 359 284 s frequency; #X obj 473 284 s duration; @@ -1595,8 +1598,8 @@ patch; #X connect 5 0 30 0; #X connect 26 0 24 0; #X connect 26 1 24 1; -#X restore 234 288 pd more_sounds; -#N canvas 262 23 1418 980 more_control 0; +#X restore 228 234 pd more_sounds; +#N canvas 502 23 1418 980 more_control 0; #N canvas 545 23 1259 1129 keyboard-input 0; #X obj 121 157 key; #X floatatom 121 185 3 0 0 0 - - -; @@ -1646,7 +1649,7 @@ pointer location \, depending on the system.; #X connect 13 0 14 0; #X connect 16 0 15 0; #X restore 69 65 pd keyboard-input; -#N canvas 309 359 632 605 sequences 0; +#N canvas 753 45 981 884 sequences 0; #X obj 79 59 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 ; #X obj 79 87 metro 250; @@ -1783,7 +1786,7 @@ selectring the parent patch for example.; #X obj 933 952 list trim; #X obj 937 221 list prepend set; #X obj 937 245 list trim; -#X msg 937 269 hamilr4 key 1 q 113; +#X msg 937 269 hamilr4 key 0 c 99; #X obj 800 100 r hamilr4_control; #X text 753 61 Listen for user on/off keyboard output control messages / prefixed with "onoff"; @@ -1794,7 +1797,7 @@ selectring the parent patch for example.; #X text 215 117 Put your username here to send all keystroke messages to your [r username_control] receive - remove "_" to see messages sent to "hamilr4_control"; -#X msg 68 259 hamilr4 key 1 q 113; +#X msg 68 259 hamilr4 key 0 c 99; #X connect 2 0 4 0; #X connect 2 0 10 0; #X connect 3 0 81 0; @@ -1840,7 +1843,7 @@ to "hamilr4_control"; #X connect 74 0 76 0; #X connect 76 0 77 0; #X connect 81 0 9 0; -#X restore 227 332 pd more_control; +#X restore 221 278 pd more_control; #N canvas 0 23 450 300 more_structure 0; #X obj 28 50 hamilr4_etude_1 one 2 three; #X obj 103 101 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 @@ -1861,7 +1864,7 @@ to "hamilr4_control"; #X connect 1 0 5 0; #X connect 2 0 6 0; #X connect 3 0 4 0; -#X restore 213 374 pd more_structure; +#X restore 207 320 pd more_structure; #X obj 738 278 hamilr4_etude_1; #X obj 1628 429 channel; #X obj 737 321 throw~ hamilr4_audio_1; @@ -1918,7 +1921,7 @@ to "hamilr4_control"; #X connect 13 1 11 1; #X connect 14 0 15 0; #X connect 14 0 18 0; -#X restore 264 451 pd data_parsing; +#X restore 215 397 pd data_parsing; #X connect 7 0 9 0; #X connect 8 0 12 0; #X connect 10 0 11 0; @@ -1934,3 +1937,4 @@ to "hamilr4_control"; #X connect 36 0 38 0; #X connect 39 0 37 0; #X connect 41 0 42 0; +#X coords 0 980 1 979 200 200 0; diff --git a/masheen.pd b/masheen.pd index f84e18e..719bae2 100644 --- a/masheen.pd +++ b/masheen.pd @@ -1,24 +1,6 @@ -#N canvas 13 23 1920 1010 12; -#X obj -114 719 mixer; +#N canvas 0 23 1920 1010 12; +#X obj -114 717 mixer; #X obj 1593 1 master_outs_stereo; -#N canvas 0 23 553 467 masheen_assignment_1 0; -#X text 40 52 1 Create a subpatch saved with the filename as your RCS -id; -#X text 40 92 2 In your patch create two inlets and two outlets; -#X text 95 169 e.g.; -#X text 95 239 e.g.; -#X text 40 132 3 Add a "Receive" object named with your RCS ID_tempo -; -#X obj 149 169 receive hamilr4_tempo; -#X obj 149 239 receive hamilr4_control; -#X text 40 202 4 Add a "Receive" object named with your RCS ID_control -; -#X text 40 282 5 Make your patch _do something_ with a metro beat (coming -in from the _tempo receive) and spit out audio from your left outlet. -DO NOT INCLUDE A [DAC~] OBJECT IN YOUR PATCH \, just pass audio out -the outlet for now.; -#X text 40 362 6 Send Rob your patch on Sunday.; -#X restore 1423 638 pd masheen_assignment_1; #X obj 1521 657 utilities; #N canvas 0 23 450 300 init 0; #X obj 41 99 s init; @@ -58,31 +40,31 @@ the outlet for now.; #X connect 10 3 3 1; #X restore 1535 676 pd solo; #X obj 1593 643 recorder_controls; -#X obj -81 52 hamilr4; -#N canvas 788 255 892 349 masheen_global_tempo 0; +#X obj -91 65 hamilr4; +#N canvas 494 281 892 349 masheen_global_tempo 0; #N canvas 585 56 479 747 tempo_sender 0; #X obj 89 687 s hamilr4_tempo; #X obj 89 13 inlet; -#X obj 113 657 s houchl_tempo; -#X obj 123 627 s zhuy16_tempo; -#X obj 133 597 s zhaox10_tempo; -#X obj 143 567 s villan2_tempo; -#X obj 153 537 s takakh_tempo; -#X obj 163 507 s smithd32_tempo; -#X obj 173 477 s sheny13_tempo; -#X obj 183 447 s schans2_tempo; -#X obj 193 417 s rothgj_tempo; -#X obj 203 387 s quarlm_tempo; -#X obj 213 357 s plancs_tempo; -#X obj 223 327 s persow_tempo; -#X obj 233 297 s ortegm3_tempo; -#X obj 243 267 s novaa_tempo; -#X obj 253 237 s nik_tempo; -#X obj 263 207 s mucelj_tempo; -#X obj 273 177 s martse_tempo; -#X obj 283 147 s johnsz2_tempo; -#X obj 293 117 s deegaj_tempo; -#X obj 303 87 s bartoa_tempo; +#X obj 303 87 s bilgeh_tempo; +#X obj 293 117 s boller_tempo; +#X obj 283 147 s corres2_tempo; +#X obj 273 177 s fallit_tempo; +#X obj 263 206 s golubm_tempo; +#X obj 253 237 s johnsa23_tempo; +#X obj 243 267 s krantm_tempo; +#X obj 232 297 s lillij2_tempo; +#X obj 223 327 s liuz18_tempo; +#X obj 212 357 s lockwa_tempo; +#X obj 203 387 s mcneee_tempo; +#X obj 193 417 s mejiak_tempo; +#X obj 183 447 s nelsoc5_tempo; +#X obj 173 477 s olynia_tempo; +#X obj 163 507 s paris_tempo; +#X obj 153 537 s powerj7_tempo; +#X obj 143 567 s sabary_tempo; +#X obj 133 597 s smelcg_tempo; +#X obj 123 627 s stansj_tempo; +#X obj 113 657 s thompj17_tempo; #X connect 1 0 0 0; #X connect 1 0 2 0; #X connect 1 0 3 0; @@ -228,28 +210,46 @@ of mouse data; 0 4 4; #X obj 967 358 cyclone/seq; #X text 964 322 MIDI file; +#N canvas 0 23 553 467 masheen_assignment_1 0; +#X text 40 52 1 Create a subpatch saved with the filename as your RCS +id; +#X text 40 92 2 In your patch create two inlets and two outlets; +#X text 95 169 e.g.; +#X text 95 239 e.g.; +#X text 40 132 3 Add a "Receive" object named with your RCS ID_tempo +; +#X obj 149 169 receive hamilr4_tempo; +#X obj 149 239 receive hamilr4_control; +#X text 40 202 4 Add a "Receive" object named with your RCS ID_control +; +#X text 40 282 5 Make your patch _do something_ with a metro beat (coming +in from the _tempo receive) and spit out audio from your left outlet. +DO NOT INCLUDE A [DAC~] OBJECT IN YOUR PATCH \, just pass audio out +the outlet for now.; +#X text 40 362 6 Send Rob your patch on Sunday.; +#X restore 1423 638 pd masheen_assignment_1; #X restore 1527 619 pd stuff; -#N canvas 0 23 582 628 sample_keyboard_local_sends 0; -#X obj 518 157 list trim; -#X obj 518 203 route key; -#X obj 518 328 unpack f s f; -#X floatatom 518 352 5 0 0 0 - - -; -#X symbolatom 559 353 10 0 0 0 - - -; -#X floatatom 656 353 5 0 0 0 - - -; -#X obj 670 382 s key_\$0; -#X obj 525 405 s keyname_\$0; -#X obj 517 427 select 1 0; -#X obj 517 474 s keydown_bang_\$0; -#X obj 527 452 s keyup_bang_\$0; -#X obj 530 304 s keydown_\$0; -#X obj 530 228 route 1 0; -#X obj 627 274 s keyup_\$0; -#X obj 535 382 s keynamesymbol_\$0; -#X obj 560 251 unpack s f; -#X obj 530 271 unpack s f; -#X obj 501 128 receive username_control; -#X obj 518 179 route username; -#X text 419 71 Sample keyboard data receive code. Note the "\$0" used +#N canvas 0 23 607 629 sample_keyboard_local_sends 0; +#X obj 181 147 list trim; +#X obj 181 193 route key; +#X obj 181 318 unpack f s f; +#X floatatom 181 342 5 0 0 0 - - -; +#X symbolatom 222 343 10 0 0 0 - - -; +#X floatatom 319 343 5 0 0 0 - - -; +#X obj 333 372 s key_\$0; +#X obj 188 395 s keyname_\$0; +#X obj 180 417 select 1 0; +#X obj 180 464 s keydown_bang_\$0; +#X obj 190 442 s keyup_bang_\$0; +#X obj 193 294 s keydown_\$0; +#X obj 193 218 route 1 0; +#X obj 290 264 s keyup_\$0; +#X obj 198 372 s keynamesymbol_\$0; +#X obj 223 241 unpack s f; +#X obj 193 261 unpack s f; +#X obj 164 118 receive username_control; +#X obj 181 169 route username; +#X text 82 61 Sample keyboard data receive code. Note the "\$0" used to identify unique embedded patches (patches saved as separate .pd files).; #X connect 0 0 18 0; @@ -293,7 +293,6 @@ files).; #X text -105 11 [ARTS 2020] FALL 2020 "MASHEEN"; #X obj 1492 378 user_keysend nelsoc5; #X obj 1492 133 user_keysend hamilr4; -#X obj 871 2 adc~; #X obj -67 609 throw~ username_audio_1; #X obj -83 89 bilgeh; #X obj -83 112 boller; @@ -315,10 +314,23 @@ files).; #X obj -83 481 smelcg; #X obj -83 504 stansj; #X obj -83 527 thompj17; -#X obj 872 55 dac~; -#X obj 871 23 *~ 0.05; -#N canvas 478 127 698 345 howlongdidsetuptaketoday 0; -#X text 48 44 18 min: 9/17; -#X restore 1160 108 pd howlongdidsetuptaketoday; -#X connect 37 0 60 0; -#X connect 60 0 59 0; +#X obj 800 139 dac~; +#X obj 871 2 adc~; +#X obj 805 43 *~ 0.05; +#X obj 865 43 *~ 0.05; +#X floatatom 754 12 5 0 0 0 - - -; +#X floatatom 754 59 5 0 0 0 - - -; +#X obj 734 14 vsl 15 128 0 127 0 0 empty empty empty 0 -9 0 10 -262144 +-1 -1 0 1; +#X obj 754 36 / 1270; +#X obj 804 77 lop~ 5000; +#X connect 58 0 59 0; +#X connect 58 1 60 0; +#X connect 59 0 65 0; +#X connect 60 0 57 1; +#X connect 61 0 64 0; +#X connect 62 0 59 1; +#X connect 62 0 60 1; +#X connect 63 0 61 0; +#X connect 64 0 62 0; +#X connect 65 0 57 0;