Skip to content

Commit

Permalink
Reduce latency
Browse files Browse the repository at this point in the history
  • Loading branch information
chsh2 committed Aug 6, 2024
1 parent 56b003a commit edc2d36
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 55 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/backup/
/ui_design/
*.vst3
*.so
*.so
.DS_Store
40 changes: 21 additions & 19 deletions modules/fft_mod~.pd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#X obj 444 275 sig~ 1;
#X obj 105 682 *~;
#X obj 105 727 /~ 256;
#X obj 215 774 block~ 512 4 1, f 17;
#X obj 105 567 *~;
#X obj 278 58 inlet bash_factor;
#X obj 37 458 utils/sig_mix~;
Expand All @@ -25,34 +24,37 @@
#X text 343 652 2 - Denoise: filter freq bins with low energy;
#X text 343 626 1 - Phase bash: set each freq bin's phase to zero;
#X obj 444 58 inlet noise_threshold;
#X obj 628 58 inlet is_active;
#X obj 628 112 switch~ 512 4 1, f 17;
#X connect 0 0 4 0;
#X connect 0 0 4 1;
#X connect 0 0 15 1;
#X connect 0 0 14 1;
#X connect 0 1 5 0;
#X connect 0 1 5 1;
#X connect 0 1 16 1;
#X connect 0 1 15 1;
#X connect 1 0 10 0;
#X connect 2 0 8 0;
#X connect 4 0 6 0;
#X connect 5 0 6 1;
#X connect 6 0 7 0;
#X connect 7 0 15 0;
#X connect 7 0 14 0;
#X connect 8 0 0 0;
#X connect 9 0 21 0;
#X connect 9 0 20 0;
#X connect 10 0 11 0;
#X connect 11 0 3 0;
#X connect 13 0 1 0;
#X connect 14 0 15 2;
#X connect 14 0 16 2;
#X connect 12 0 1 0;
#X connect 13 0 14 2;
#X connect 13 0 15 2;
#X connect 14 0 17 0;
#X connect 14 0 12 0;
#X connect 15 0 18 0;
#X connect 15 0 13 0;
#X connect 16 0 19 0;
#X connect 16 0 20 0;
#X connect 17 0 16 0;
#X connect 18 0 13 1;
#X connect 19 0 20 1;
#X connect 20 0 1 1;
#X connect 21 0 8 1;
#X connect 21 0 10 1;
#X connect 25 0 18 1;
#X connect 25 0 19 1;
#X connect 15 0 19 0;
#X connect 16 0 15 0;
#X connect 17 0 12 1;
#X connect 18 0 19 1;
#X connect 19 0 1 1;
#X connect 20 0 8 1;
#X connect 20 0 10 1;
#X connect 24 0 17 1;
#X connect 24 0 18 1;
#X connect 25 0 26 0;
69 changes: 34 additions & 35 deletions modules/voice_processor~.pd
Original file line number Diff line number Diff line change
Expand Up @@ -528,14 +528,12 @@
#X obj 1573 194 > 0;
#X obj 1573 220 t b f;
#X obj 1477 231 * 1;
#X obj 2162 1558 granular_fx_2nd~ \$0-granular_delay_line;
#X obj 2162 1567 granular_fx_2nd~ \$0-granular_delay_line;
#X obj 401 3102 t f f f;
#X obj 306 3139 else/above 0.5;
#X text -471 280 2b - Mark the status as not playing (\$0-playing) that disables output;
#X text -471 301 2c - DSP on/off status is controlled by ADSR;
#X obj 2248 1632 pipe 30;
#X obj 2279 1582 * 0.5;
#X obj 2279 1605 + 20;
#X obj 2267 1595 * 0.5;
#X obj 90 380 t b f b;
#X obj 119 419 s \$0-clear_buffer;
#X obj 1702 1462 r \$0-clear_buffer;
Expand All @@ -547,6 +545,7 @@
#X text -496 84 6 - Clear buffers of synths/filters (\$0-clear_buffer);
#X msg 1702 1488 0 \, 1 50;
#X msg 2683 1479 0 \, 1 50;
#X obj 2248 1632 pipe 20;
#X connect 1 0 320 2;
#X connect 2 0 320 3;
#X connect 3 0 332 0;
Expand Down Expand Up @@ -649,6 +648,7 @@
#X connect 90 0 91 0;
#X connect 90 1 91 1;
#X connect 91 0 114 5;
#X connect 91 0 99 3;
#X connect 92 0 90 0;
#X connect 93 0 94 0;
#X connect 93 1 94 1;
Expand All @@ -658,7 +658,7 @@
#X connect 97 0 93 0;
#X connect 98 0 67 0;
#X connect 99 0 100 0;
#X connect 100 0 541 0;
#X connect 100 0 539 0;
#X connect 101 0 103 0;
#X connect 101 0 334 0;
#X connect 102 0 99 1;
Expand Down Expand Up @@ -701,13 +701,14 @@
#X connect 132 0 130 0;
#X connect 133 0 114 2;
#X connect 134 0 529 2;
#X connect 134 0 535 0;
#X connect 136 0 147 0;
#X connect 134 0 534 0;
#X connect 136 0 148 1;
#X connect 136 0 147 0;
#X connect 137 0 141 0;
#X connect 138 0 139 0;
#X connect 138 1 139 1;
#X connect 139 0 136 2;
#X connect 139 0 147 3;
#X connect 140 0 138 0;
#X connect 141 0 139 0;
#X connect 142 0 136 1;
Expand All @@ -717,11 +718,11 @@
#X connect 145 0 160 1;
#X connect 146 0 144 0;
#X connect 147 0 148 0;
#X connect 148 0 544 0;
#X connect 149 0 147 2;
#X connect 148 0 542 0;
#X connect 149 0 151 0;
#X connect 150 0 147 1;
#X connect 149 0 147 2;
#X connect 150 0 152 0;
#X connect 150 0 147 1;
#X connect 151 0 153 0;
#X connect 152 0 148 2;
#X connect 153 0 152 0;
Expand Down Expand Up @@ -822,7 +823,7 @@
#X connect 255 0 182 0;
#X connect 255 1 254 0;
#X connect 257 0 276 0;
#X connect 258 0 537 0;
#X connect 258 0 535 0;
#X connect 259 0 218 6;
#X connect 260 0 211 0;
#X connect 261 0 210 0;
Expand Down Expand Up @@ -1118,7 +1119,7 @@
#X connect 499 0 114 6;
#X connect 499 0 481 0;
#X connect 499 0 529 4;
#X connect 499 0 534 0;
#X connect 499 0 546 0;
#X connect 519 0 522 0;
#X connect 520 0 525 1;
#X connect 520 0 526 0;
Expand All @@ -1137,26 +1138,24 @@
#X connect 530 1 343 0;
#X connect 530 2 327 0;
#X connect 531 1 328 0;
#X connect 534 0 482 0;
#X connect 535 0 482 1;
#X connect 535 0 536 0;
#X connect 536 0 534 1;
#X connect 537 0 29 0;
#X connect 537 0 30 0;
#X connect 537 0 31 0;
#X connect 537 0 34 0;
#X connect 537 0 36 0;
#X connect 537 0 191 0;
#X connect 537 0 324 0;
#X connect 537 1 242 0;
#X connect 537 2 538 0;
#X connect 539 0 546 0;
#X connect 540 0 541 1;
#X connect 541 0 107 0;
#X connect 541 0 111 0;
#X connect 542 0 547 0;
#X connect 543 0 544 1;
#X connect 544 0 158 0;
#X connect 544 0 154 0;
#X connect 546 0 540 0;
#X connect 547 0 543 0;
#X connect 534 0 482 1;
#X connect 535 0 29 0;
#X connect 535 0 30 0;
#X connect 535 0 31 0;
#X connect 535 0 34 0;
#X connect 535 0 36 0;
#X connect 535 0 191 0;
#X connect 535 0 324 0;
#X connect 535 1 242 0;
#X connect 535 2 536 0;
#X connect 537 0 544 0;
#X connect 538 0 539 1;
#X connect 539 0 107 0;
#X connect 539 0 111 0;
#X connect 540 0 545 0;
#X connect 541 0 542 1;
#X connect 542 0 158 0;
#X connect 542 0 154 0;
#X connect 544 0 538 0;
#X connect 545 0 541 0;
#X connect 546 0 482 0;

0 comments on commit edc2d36

Please sign in to comment.