Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freezer #1

Merged
merged 3 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions plugins/BatteryNotIncluded-Freezer/plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"dpf": {
"project": true,
"description": "Freezer sample and hold notes or chords with infinite sustain",
"homepage": "",
"license": "ISC",
"maker": "[email protected]",
"midi_input": 0,
"midi_output": 0,
"plugin_formats": [
"clap",
"jack",
"lv2_sep",
"vst2",
"vst3"
],
"lv2_info": "lv2:UtilityPlugin"
}
}
338 changes: 338 additions & 0 deletions plugins/BatteryNotIncluded-Freezer/plugin.pd
Original file line number Diff line number Diff line change
@@ -0,0 +1,338 @@
#N canvas 176 96 1924 866 12;
#N canvas -173 254 1924 607 (subpatch) 0;
#X array freez01 48000 float 2;
#X coords 0 1 48000 -1 691 151 1 0 0;
#X restore 975 32 graph;
#X obj 282 69 adc~ 1;
#X obj 149 769 dac~ 1;
#X obj 281 282 loadbang;
#X obj 29 326 r speed @hv_param 0 2 1;
#N canvas 128 166 450 250 (subpatch) 0;
#X array freez02 48000 float 2;
#X coords 0 1 48000 -1 691 139 1 0 0;
#X restore 973 205 graph;
#N canvas 321 165 1026 725 freeze01 0;
#X obj 47 141 phasor~;
#X obj 142 399 *~;
#X obj 265 141 phasor~;
#X obj 129 185 int 0;
#X obj 83 296 *~ 1;
#X obj 186 195 float 0.5;
#X obj 48 176 *~ 48000;
#X obj 265 173 *~ 48000;
#X obj 66 336 *~ 0.5;
#X obj 390 140 phasor~;
#X obj 605 140 phasor~;
#X obj 469 191 int 0;
#X obj 423 295 *~ 1;
#X obj 526 194 float 0.5;
#X obj 388 175 *~ 48000;
#X obj 605 172 *~ 48000;
#X obj 424 322 *~ 0.5;
#X obj 459 103 + 0.002;
#X obj 388 244 tabread4~ freez01;
#X obj 606 244 tabread4~ freez01;
#X obj 254 244 tabread4~ freez01;
#X obj 48 245 tabread4~ freez01;
#X obj 253 47 inlet;
#X obj 70 45 inlet;
#X obj 123 474 outlet~;
#X obj 141 42 inlet~;
#X connect 0 0 6 0;
#X connect 1 0 24 0;
#X connect 2 0 7 0;
#X connect 3 0 0 1;
#X connect 4 0 8 0;
#X connect 5 0 2 1;
#X connect 6 0 21 0;
#X connect 7 0 20 0;
#X connect 8 0 1 0;
#X connect 9 0 14 0;
#X connect 10 0 15 0;
#X connect 11 0 9 1;
#X connect 12 0 16 0;
#X connect 13 0 10 1;
#X connect 14 0 18 0;
#X connect 15 0 19 0;
#X connect 16 0 1 0;
#X connect 17 0 9 0;
#X connect 17 0 10 0;
#X connect 18 0 12 0;
#X connect 19 0 12 0;
#X connect 20 0 4 0;
#X connect 21 0 4 0;
#X connect 22 0 3 0;
#X connect 22 0 5 0;
#X connect 22 0 11 0;
#X connect 22 0 13 0;
#X connect 23 0 0 0;
#X connect 23 0 2 0;
#X connect 23 0 17 0;
#X connect 25 0 1 1;
#X restore 135 498 pd freeze01;
#N canvas 321 165 1026 725 freeze02 0;
#X obj 47 141 phasor~;
#X obj 139 395 *~;
#X obj 265 141 phasor~;
#X obj 129 185 int 0;
#X obj 83 296 *~ 1;
#X obj 186 195 float 0.5;
#X obj 48 176 *~ 48000;
#X obj 265 173 *~ 48000;
#X obj 66 336 *~ 0.5;
#X obj 390 140 phasor~;
#X obj 605 140 phasor~;
#X obj 469 191 int 0;
#X obj 423 295 *~ 1;
#X obj 526 194 float 0.5;
#X obj 388 175 *~ 48000;
#X obj 605 172 *~ 48000;
#X obj 424 322 *~ 0.5;
#X obj 459 103 + 0.002;
#X obj 253 47 inlet;
#X obj 70 45 inlet;
#X obj 123 474 outlet~;
#X obj 48 245 tabread4~ freez02;
#X obj 254 244 tabread4~ freez02;
#X obj 388 244 tabread4~ freez02;
#X obj 606 244 tabread4~ freez02;
#X obj 159 41 inlet~;
#X connect 0 0 6 0;
#X connect 1 0 20 0;
#X connect 2 0 7 0;
#X connect 3 0 0 1;
#X connect 4 0 8 0;
#X connect 5 0 2 1;
#X connect 6 0 21 0;
#X connect 7 0 22 0;
#X connect 8 0 1 0;
#X connect 9 0 14 0;
#X connect 10 0 15 0;
#X connect 11 0 9 1;
#X connect 12 0 16 0;
#X connect 13 0 10 1;
#X connect 14 0 23 0;
#X connect 15 0 24 0;
#X connect 16 0 1 0;
#X connect 17 0 9 0;
#X connect 17 0 10 0;
#X connect 18 0 3 0;
#X connect 18 0 5 0;
#X connect 18 0 11 0;
#X connect 18 0 13 0;
#X connect 19 0 0 0;
#X connect 19 0 2 0;
#X connect 19 0 17 0;
#X connect 21 0 4 0;
#X connect 22 0 4 0;
#X connect 23 0 12 0;
#X connect 24 0 12 0;
#X connect 25 0 1 1;
#X restore 272 498 pd freeze02;
#X obj 307 690 r dry @hv_param 0 1 1;
#X obj 249 691 *~;
#X obj 107 688 *~, f 4;
#X obj 198 645 r wet @hv_param 0 1 1;
#X obj 85 193 int;
#X obj 119 213 + 1;
#X obj 116 243 mod 2;
#N canvas 616 427 450 300 recorder01 0;
#X obj 122 166 *~;
#X obj 131 114 line~ 1 0;
#X obj 57 71 pipe 500;
#X obj 131 63 pack 1 500;
#X obj 201 87 pack 0 500;
#X obj 145 234 tabwrite~ freez01;
#X obj 107 16 inlet;
#X obj 38 17 inlet~;
#X obj 187 22 inlet;
#X connect 0 0 5 0;
#X connect 1 0 0 1;
#X connect 2 0 4 0;
#X connect 3 0 1 0;
#X connect 4 0 1 0;
#X connect 6 0 2 0;
#X connect 6 0 3 0;
#X connect 6 0 5 0;
#X connect 7 0 0 0;
#X connect 8 0 5 0;
#X restore 327 130 pd recorder01;
#X obj 108 276 sel 0 1;
#N canvas 512 187 450 300 recorder02 0;
#X obj 122 166 *~;
#X obj 131 114 line~ 1 0;
#X obj 57 71 pipe 500;
#X obj 131 63 pack 1 500;
#X obj 201 87 pack 0 500;
#X obj 107 16 inlet;
#X obj 38 17 inlet~;
#X obj 145 234 tabwrite~ freez02;
#X obj 177 18 inlet;
#X obj 69 172 bng 19 250 50 0 empty empty empty 0 -10 0 12 #fcfcfc #000000 #000000;
#X obj 200 164 bng 19 250 50 0 empty empty empty 0 -10 0 12 #fcfcfc #000000 #000000;
#X connect 0 0 7 0;
#X connect 1 0 0 1;
#X connect 2 0 4 0;
#X connect 3 0 1 0;
#X connect 4 0 1 0;
#X connect 5 0 2 0;
#X connect 5 0 3 0;
#X connect 5 0 7 0;
#X connect 6 0 0 0;
#X connect 8 0 7 0;
#X connect 8 0 10 0;
#X connect 9 0 7 0;
#X restore 330 182 pd recorder02;
#N canvas 616 427 450 300 AttDec 0;
#X obj 131 114 line~ 1 0;
#X obj 64 71 pack 1 500;
#X obj 195 74 pack 0 500;
#X obj 65 14 inlet;
#X obj 124 219 outlet~;
#X obj 120 15 inlet;
#X obj 182 18 inlet;
#X obj 238 21 inlet;
#X obj 265 110 pipe;
#X obj 219 208 outlet;
#X connect 0 0 4 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 1 1;
#X connect 5 0 2 1;
#X connect 5 0 8 1;
#X connect 6 0 1 0;
#X connect 7 0 2 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X restore 344 335 pd AttDec;
#N canvas 775 503 450 300 AttDec 0;
#X obj 131 114 line~ 1 0;
#X obj 64 71 pack 1 500;
#X obj 195 74 pack 0 500;
#X obj 65 14 inlet;
#X obj 124 219 outlet~;
#X obj 120 15 inlet;
#X obj 182 18 inlet;
#X obj 238 21 inlet;
#X obj 254 123 pipe;
#X obj 208 221 outlet;
#X connect 0 0 4 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 1 1;
#X connect 5 0 2 1;
#X connect 5 0 8 1;
#X connect 6 0 1 0;
#X connect 7 0 2 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X restore 429 392 pd AttDec;
#X obj 393 220 r attack @hv_param 0 2000 500;
#X obj 426 271 r decay @hv_param 0 2000 500;
#X obj 528 363 bng 19 250 50 0 empty empty empty 0 -10 0 12 #fcfcfc #000000 #000000;
#X obj 535 177 bng 19 250 50 0 empty empty empty 0 -10 0 12 #fcfcfc #000000 #000000;
#X obj 111 107 timer;
#X obj 84 72 sel 0 1;
#X floatatom 180 125 5 0 0 0 - - - 0;
#X obj 80 5 metro 100;
#X obj 105 51 spigot;
#X floatatom 268 34 5 0 0 0 - - - 0;
#X obj 234 148 == 0;
#X obj 180 152 > 1000;
#X obj 181 207 sel 1;
#X obj 180 182 &;
#X obj 32 116 &;
#X obj 81 138 sel 1;
#X obj 23 84 == 0;
#X obj 137 149 == 0;
#X obj 32 149 &;
#X obj 366 43 == 1;
#X obj 364 76 &;
#X obj 523 146 sel 1;
#X obj 430 27 == 1;
#X obj 414 69 &;
#X obj 415 93 sel 1;
#X obj 266 5 r mode @hv_param 0 1 0;
#X obj 94 -50 * 1;
#X obj 26 -109 r freeze @hv_param 0 1 0 bool;
#X obj 491 105 == 1;
#X obj 546 83 == 0;
#X obj 460 166 sel 1;
#X obj 489 133 &;
#X obj 560 119 &;
#X connect 1 0 9 0;
#X connect 1 0 15 0;
#X connect 1 0 17 0;
#X connect 3 0 6 2;
#X connect 3 0 7 2;
#X connect 3 0 27 0;
#X connect 4 0 6 0;
#X connect 4 0 7 0;
#X connect 6 0 10 0;
#X connect 7 0 10 0;
#X connect 8 0 9 1;
#X connect 9 0 2 0;
#X connect 10 0 2 0;
#X connect 11 0 10 1;
#X connect 12 0 13 0;
#X connect 12 0 16 0;
#X connect 12 0 48 0;
#X connect 12 0 49 0;
#X connect 13 0 14 0;
#X connect 14 0 12 1;
#X connect 16 0 17 1;
#X connect 16 0 18 3;
#X connect 16 0 19 2;
#X connect 16 1 15 1;
#X connect 16 1 18 2;
#X connect 16 1 19 3;
#X connect 18 0 6 1;
#X connect 18 1 23 0;
#X connect 19 0 7 1;
#X connect 19 1 22 0;
#X connect 20 0 18 0;
#X connect 20 0 19 0;
#X connect 21 0 18 1;
#X connect 21 0 19 1;
#X connect 22 0 17 2;
#X connect 23 0 15 2;
#X connect 24 0 26 0;
#X connect 25 0 24 1;
#X connect 25 1 24 0;
#X connect 26 0 31 0;
#X connect 27 0 28 0;
#X connect 28 0 24 1;
#X connect 29 0 30 0;
#X connect 29 0 39 0;
#X connect 30 0 33 1;
#X connect 30 0 34 1;
#X connect 31 0 33 0;
#X connect 31 0 37 0;
#X connect 32 0 19 3;
#X connect 32 0 18 3;
#X connect 33 0 32 0;
#X connect 34 0 38 0;
#X connect 35 0 12 0;
#X connect 36 0 34 0;
#X connect 36 0 40 0;
#X connect 37 0 38 1;
#X connect 38 0 35 0;
#X connect 39 0 43 1;
#X connect 39 0 40 1;
#X connect 40 0 52 0;
#X connect 40 0 51 0;
#X connect 41 0 19 3;
#X connect 42 0 43 0;
#X connect 43 0 44 0;
#X connect 44 0 12 0;
#X connect 45 0 29 0;
#X connect 46 0 36 0;
#X connect 46 0 25 0;
#X connect 46 0 28 1;
#X connect 46 0 42 0;
#X connect 47 0 46 0;
#X connect 48 0 51 1;
#X connect 49 0 52 1;
#X connect 50 0 18 3;
#X connect 51 0 50 0;
#X connect 52 0 41 0;
Loading