Skip to content

Commit

Permalink
bug fixes + new objects macro-xy-control and abl-link
Browse files Browse the repository at this point in the history
  • Loading branch information
jyg committed Jan 13, 2024
1 parent febcc9f commit 0bbd813
Show file tree
Hide file tree
Showing 11 changed files with 363 additions and 288 deletions.
13 changes: 13 additions & 0 deletions _main_patch(template).pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#N canvas 293 416 671 382 12;
#X declare -path automatonism/patch_editor_abs;
#X text 189 1 AUTOMATONISM - RELOADED!;
#X obj 27 257 declare -path automatonism/patch_editor_abs;
#X obj 25 75 automatonism \$0;
#A saved esc-active 1;
#X obj 28 283 namecanvas \$0-this;
#N canvas 680 288 540 159 what_does_vanilla_mean_? 0;
#X text 13 13 Using pd "vanilla" means that you are using puredata without any externals. You can open automatonism patches in such a configuration \, but you have to add the object [namecanvas \$0-this] to your patch \, and to check that automatonism is instantiated with a \$0 argument this way : [automatonism \$0] ., f 67;
#X restore 450 37 pd what_does_vanilla_mean_?;
#X text 163 281 <- for vanilla compatibility;
#X text 282 79 <- [automatonism \$0] instantiated with \$0 argument;
#X text 19 29 This is the new automatonism "vanilla" template patch. You can duplicate it every time you need to create a new machine., f 61;
164 changes: 91 additions & 73 deletions automatonism.pd

Large diffs are not rendered by default.

117 changes: 71 additions & 46 deletions patch_editor_abs/abl-link.pd
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
#N canvas 507 232 1199 775 10;
#X obj 136 110 cnv 5 5 5 empty empty ABL-LINK 0 0 0 12 #fcfcfc #404040 0;
#X obj 172 191 bng 15 100 50 0 empty empty empty 17 7 0 10 #fcfcfc #dc4c90 #000000;
#X obj 106 191 bng 15 100 50 0 empty empty empty 17 7 0 10 #fcfcfc #dc4c90 #000000;
#X obj 106 191 bng 15 100 50 0 empty \$0-clock_out_display empty 17 7 0 10 #fcfcfc #f430f0 #000000;
#X obj 106 212 cnv 5 5 5 empty empty CLK-OUT 0 0 0 8 #fcfcfc #dc4c90 0;
#X obj 172 212 cnv 5 5 5 empty empty SYNC 0 0 0 8 #fcfcfc #dc4c90 0;
#X obj 939 441 outlet~;
#X obj 508 454 outlet~;
#X obj 325 77 namecanvas \$0-this;
#X obj 103 132 hradio 15 1 0 6 \$0-resolution-s \$0-resolution-r resolution=1/8 0 7 0 10 #fce0c0 #fcac44 #000000 0;
#X obj 103 132 hradio 15 1 0 6 \$0-resolution-s \$0-resolution-r resolution=1/4 0 7 0 10 #fce0c0 #fcac44 #000000 0;
#X obj 466 40 abl_link~;
#X msg 528 95 set \$1;
#X obj 528 117 s \$0-tempo-r;
#X obj 722 -2 r \$0-tempo-s;
#X msg 722 20 tempo \$1;
#X obj 722 42 s \$0-abl_link;
Expand Down Expand Up @@ -99,7 +97,7 @@
#X obj 10 180 reloaded/tgl_dispatch abl-link \$0 \$1 0 1 connect-s connect-r CONNECT #fcfcfc #000000 #000000;
#X obj 10 240 reloaded/hradio_dispatch abl-link \$0 \$1 0 5 resolution-s resolution-r resolution=1/4 #fce0c0 #fcac44 #000000;
#X restore 10 80 pd \$0-gui_listeners;
#N canvas 21 22 593 735 state-saving-multiple-instances 0;
#N canvas 21 22 753 826 state-saving-multiple-instances 0;
#X obj 215 28 loadbang;
#X msg 556 463 rewind;
#X msg 513 463 bang;
Expand Down Expand Up @@ -178,48 +176,75 @@
#X obj 1084 410 lop~ 0.5;
#X obj 222 212 cnv 5 5 5 empty empty BPM-RATE 0 0 0 8 #fcfcfc #dc4c90 0;
#X obj 1068 197 r \$0-tempo-s;
#X connect 9 0 16 0;
#X connect 9 0 22 0;
#X connect 9 0 25 0;
#X connect 9 3 10 0;
#X obj 553 291 change;
#X obj 552 319 s \$0-tempo-r;
#X obj 46 534 s \$0-sync-r;
#X obj 133 536 s \$0-tempo-r;
#X msg 76 502 4;
#X obj 76 479 t b b b;
#X obj 248 536 s \$0-resolution-r;
#X msg 242 509 0;
#X msg 132 504 set 120;
#X obj 606 -67 s \$0-clock_out_display;
#X obj 660 591 s \$0-clock_out_display;
#X msg 700 535 color 0 19 -1;
#X msg 716 561 color 1 19 -1;
#X obj 709 438 r \$0-mute-s;
#X obj 704 487 select 0 1;
#X connect 9 0 14 0;
#X connect 9 0 20 0;
#X connect 9 0 23 0;
#X connect 9 3 60 0;
#X connect 10 0 11 0;
#X connect 12 0 13 0;
#X connect 13 0 14 0;
#X connect 15 0 9 0;
#X connect 16 0 17 0;
#X connect 16 0 2 0;
#X connect 17 0 18 0;
#X connect 18 0 40 0;
#X connect 21 0 20 0;
#X connect 22 0 1 0;
#X connect 22 0 42 0;
#X connect 23 0 24 0;
#X connect 24 0 5 0;
#X connect 25 0 28 0;
#X connect 11 0 12 0;
#X connect 13 0 9 0;
#X connect 14 0 15 0;
#X connect 14 0 69 0;
#X connect 15 0 16 0;
#X connect 16 0 38 0;
#X connect 19 0 18 0;
#X connect 20 0 1 0;
#X connect 20 0 40 0;
#X connect 21 0 22 0;
#X connect 22 0 5 0;
#X connect 23 0 26 0;
#X connect 24 0 25 0;
#X connect 25 0 23 1;
#X connect 26 0 27 0;
#X connect 27 0 25 1;
#X connect 28 0 29 0;
#X connect 29 0 19 0;
#X connect 30 0 21 0;
#X connect 31 0 32 0;
#X connect 32 0 33 0;
#X connect 36 0 35 0;
#X connect 39 0 41 0;
#X connect 40 0 6 0;
#X connect 41 0 40 1;
#X connect 41 0 42 1;
#X connect 42 0 23 0;
#X connect 43 0 9 0;
#X connect 44 0 43 0;
#X connect 47 0 48 0;
#X connect 48 0 47 0;
#X connect 48 1 47 1;
#X connect 53 0 57 0;
#X connect 54 0 55 0;
#X connect 55 0 53 0;
#X connect 56 0 58 0;
#X connect 57 0 56 0;
#X connect 58 0 59 0;
#X connect 27 0 17 0;
#X connect 28 0 19 0;
#X connect 29 0 30 0;
#X connect 30 0 31 0;
#X connect 34 0 33 0;
#X connect 37 0 39 0;
#X connect 38 0 6 0;
#X connect 39 0 38 1;
#X connect 39 0 40 1;
#X connect 40 0 21 0;
#X connect 41 0 9 0;
#X connect 42 0 41 0;
#X connect 45 0 46 0;
#X connect 46 0 45 0;
#X connect 46 1 45 1;
#X connect 48 0 65 0;
#X connect 51 0 55 0;
#X connect 52 0 53 0;
#X connect 53 0 51 0;
#X connect 54 0 56 0;
#X connect 55 0 54 0;
#X connect 56 0 57 0;
#X connect 57 0 50 0;
#X connect 59 0 52 0;
#X connect 61 0 54 0;
#X connect 60 0 61 0;
#X connect 64 0 62 0;
#X connect 65 0 64 0;
#X connect 65 1 68 0;
#X connect 65 2 67 0;
#X connect 67 0 66 0;
#X connect 68 0 63 0;
#X connect 71 0 70 0;
#X connect 72 0 70 0;
#X connect 73 0 74 0;
#X connect 74 0 71 0;
#X connect 74 1 72 0;
#X coords 0 -1 1 1 165 120 2 100 100;
12 changes: 7 additions & 5 deletions patch_editor_abs/audiofreeze.pd

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions patch_editor_abs/macro-xy-control-help.pd
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
#N struct 1346-point float xPos float yPos float rgb;
#N struct 1348-point float xPos float yPos float rgb;
#N struct 1053-point float xPos float yPos float rgb;
#N struct 1054-point float xPos float yPos float rgb;
#N canvas 294 288 697 518 10;
#X obj 24 298 cnv 15 400 30 empty empty OUTPUTS: 20 12 0 14 #9898dc #fcfcfc 0;
#X obj 21 160 cnv 15 400 30 empty empty CONTROLS: 20 12 0 14 #9898dc #fcfcfc 0;
#X obj 21 180 cnv 15 400 30 empty empty CONTROLS: 20 12 0 14 #9898dc #fcfcfc 0;
#X obj 21 231 cnv 15 400 30 empty empty INPUTS: 20 12 0 14 #9898dc #fcfcfc 0;
#X obj 20 17 cnv 15 400 30 empty empty MACRO-XY-CONTROL: 20 12 0 14 #90d4b0 #fcfcfc 0;
#X text 25 88 The "MACRO-CONTROL" module behaves as a virtual MIDI controler and thus can be mapped to any automatonism module. In turn \, it can be mapped and listen to any MIDI note and MIDI control signals delivered by MIDI interfaces connected to puredata.;
#X text 25 101 The "MACRO-CONTROL" module behaves as a virtual MIDI controler and thus can be mapped to any automatonism module. In turn \, it can be mapped and listen to any MIDI note and MIDI control signals delivered by MIDI interfaces connected to puredata.;
#X text 26 271 VC1-VC4 : offset added to slider position;
#X text 34 341 V1 - V4 : sum of input offset and slider position;
#N canvas 2 87 450 300 camomille/plugdata 0;
#X text 87 98 when patch is used as a vst3 plugin \, vst parameters are linked to corresponding macro numbers;
#X restore 128 419 pd camomille/plugdata plugin;
#X text 25 54 The "MACRO-XY-CONTROL" is an extended version of "MACRO-CONTROL" module with two xy pads linked to parameters;
#X obj 459 19 macro-xy-control 1;
#A saved dispatch macro1-value-s 63.5;
#A saved dispatch macro2-value-s 63.5;
#A saved dispatch macro3-value-s 63.5;
#A saved dispatch macro4-value-s 63.5;
#A saved dispatch macro1-value-s 28.8508;
#A saved dispatch macro2-value-s 81.4339;
#A saved dispatch macro3-value-s 100.701;
#A saved dispatch macro4-value-s 82.7681;
#A saved -macro-names param1 param2 param3 param4;
#X text 25 54 The "MACRO-XY-CONTROL" is an extended version of "MACRO-CONTROL" module with two xy pads linked to parameters;
56 changes: 28 additions & 28 deletions patch_editor_abs/macro-xy-control.pd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#N struct 1052-point float xPos float yPos float rgb;
#N struct 1054-point float xPos float yPos float rgb;
#N struct 1333-point float xPos float yPos float rgb;
#N struct 1334-point float xPos float yPos float rgb;
#N canvas 0 32 1920 1023 10;
#X obj 233 668 s \$0-instance-num;
#X obj 233 620 makefilename %d;
Expand Down Expand Up @@ -377,7 +377,7 @@
#X restore 480 111 pd \$0-gui_listeners;
#X obj 101 120 cnv 15 206 170 empty \$0-plugin_name-r plugdata 15 14 0 26 #fcfcc4 #e0c4fc 0;
#X obj 111 122 cnv 5 5 5 empty empty MACRO-XY-CONTROL 0 0 0 12 #fcfcfc #404040 0;
#X obj 228 122 cnv 5 5 5 empty \$0-instance-num 0 0 0 0 12 #fcfcfc #404040 0;
#X obj 228 122 cnv 5 5 5 empty \$0-instance-num 1 0 0 0 12 #fcfcfc #404040 0;
#X obj 105 161 hsl 128 15 0 127 0 0 \$0-macro1-value-gui-s \$0-macro1-value-gui-r macro:1:1 1 8 0 10 #eeeecc #000000 #000000 0 1;
#X symbolatom 102 144 19 0 0 0 - \$0-macro1-name-r \$0-macro1-name-s 0;
#X obj 104 405 cnv 5 5 5 empty empty V1 0 0 0 8 #fcfcfc #404040 0;
Expand All @@ -398,10 +398,10 @@
#X obj 219 219 tgl 16 0 \$0-midi_map3-s \$0-midi_map3-r map 1 6 0 8 #fcac44 #fcac44 #000000 0 1;
#X symbolatom 102 255 19 0 0 0 - \$0-macro4-name-r \$0-macro4-name-s 0;
#X obj 219 256 tgl 16 0 \$0-midi_map4-s \$0-midi_map4-r map 1 6 0 8 #fcac44 #fcac44 #000000 0 1;
#X obj 236 161 cnv 13 1 1 empty \$0-slotA-rcv -3' 1 8 0 14 #fcfcfc #404040 0;
#X obj 236 197 cnv 13 1 1 empty \$0-slotB-rcv -2' 1 8 0 14 #fcfcfc #404040 0;
#X obj 236 235 cnv 13 1 1 empty \$0-slotC-rcv -1' 1 8 0 14 #fcfcfc #404040 0;
#X obj 236 271 cnv 13 1 1 empty \$0-slotD-rcv 0' 1 8 0 14 #fcfcfc #404040 0;
#X obj 236 161 cnv 13 1 1 empty \$0-slotA-rcv 1' 1 8 0 14 #fcfcfc #404040 0;
#X obj 236 197 cnv 13 1 1 empty \$0-slotB-rcv 2' 1 8 0 14 #fcfcfc #404040 0;
#X obj 236 235 cnv 13 1 1 empty \$0-slotC-rcv 3' 1 8 0 14 #fcfcfc #404040 0;
#X obj 236 271 cnv 13 1 1 empty \$0-slotD-rcv 4' 1 8 0 14 #fcfcfc #404040 0;
#N canvas 1060 345 729 544 camomile_plugin_support 0;
#N canvas 254 299 434 300 param.set 0;
#X obj 26 288 s camomile;
Expand Down Expand Up @@ -764,17 +764,14 @@
#X obj 600 750 / 1.27;
#X obj 439 765 f;
#X obj 600 773 t b f;
#X obj 438 805 pack f f;
#X msg 442 828 set \$1 \$2;
#X msg 439 853 set \$1 \$2;
#X obj 449 602 / 1.27;
#X obj 596 604 / 1.27;
#X obj 449 625 f;
#X obj 596 627 t b f;
#X obj 448 665 pack f f;
#X msg 452 688 set \$1 \$2;
#X text 139 297 PAD1;
#X text 242 295 PAD2;
#X text 261 132 XY PADS;
#X text 262 160 X1;
#X text 262 197 Y1;
#X text 281 233 X2;
Expand All @@ -784,11 +781,14 @@
#X obj 596 581 r \$0-macro4-value-s;
#X obj 600 727 r \$0-macro2-value-s;
#X obj 480 81 reloaded macro-xy-control \$0 \$1;
#X obj 439 817 pack f f;
#X obj 451 652 pack f f;
#X text 261 132 PADS;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 3 0 1 0;
#X connect 4 0 155 0;
#X connect 4 1 155 1;
#X connect 4 0 152 0;
#X connect 4 1 152 1;
#X connect 5 0 88 0;
#X connect 6 0 89 0;
#X connect 7 0 90 0;
Expand Down Expand Up @@ -867,21 +867,21 @@
#X connect 129 0 131 0;
#X connect 132 0 134 0;
#X connect 133 0 135 0;
#X connect 134 0 136 0;
#X connect 134 0 153 0;
#X connect 135 0 134 0;
#X connect 135 1 136 1;
#X connect 136 0 137 0;
#X connect 137 0 119 0;
#X connect 135 1 153 1;
#X connect 136 0 119 0;
#X connect 137 0 139 0;
#X connect 138 0 140 0;
#X connect 139 0 141 0;
#X connect 140 0 142 0;
#X connect 141 0 140 0;
#X connect 141 1 142 1;
#X connect 142 0 143 0;
#X connect 143 0 120 0;
#X connect 151 0 132 0;
#X connect 152 0 138 0;
#X connect 153 0 139 0;
#X connect 154 0 133 0;
#X connect 155 0 4 0;
#X connect 139 0 154 0;
#X connect 140 0 139 0;
#X connect 140 1 154 1;
#X connect 141 0 120 0;
#X connect 148 0 132 0;
#X connect 149 0 137 0;
#X connect 150 0 138 0;
#X connect 151 0 133 0;
#X connect 152 0 4 0;
#X connect 153 0 136 0;
#X connect 154 0 141 0;
#X coords 0 0 -1 1 209 313 2 100 100;
Loading

0 comments on commit 0bbd813

Please sign in to comment.