Skip to content

Commit

Permalink
[sfinfo]
Browse files Browse the repository at this point in the history
  • Loading branch information
porres committed Feb 15, 2025
1 parent 8d0fc96 commit 784b3b5
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 525 deletions.
84 changes: 49 additions & 35 deletions Documentation/Help-files/resonators2~-help.pd
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,6 @@
#X text 137 503 amp <list>;
#X text 131 517 ramp <list>;
#X text 209 517 - list of ramp time for all filters in the bank;
#N canvas 757 70 460 538 example 0;
#X obj 107 188 loadbang;
#X text 188 175 click on the messages below to alter between them, f 27;
#X msg 107 211 freq 100 250 300 370 420 510 590 650 \, decay 2000 900 1500 900 2000 800 1500 900 \, amp 0.9 1 0.9 1 0.8 0.9 0.7 1, f 42;
#X msg 118 266 freq 140 290 310 330 490 580 690 750 \, decay 1000 800 2500 700 500 1200 1700 900 \, amp 1 1 1 1 0.9 0.8 0.9 1, f 42;
#X obj 78 154 else/dust~ 5;
#X floatatom 129 357 5 0 0 0 - - - 0;
#X msg 129 378 rampall \$1;
#X text 290 416 <- ramp time.;
#X text 39 32 Here a ramp time is given to set a transition time in ms between parameter changes of resonant frequency \, decay and amplitude. By default \, this is set to 10 ms. You can also send a list of ramp time for each filter in the bank., f 64;
#X text 39 84 The 'decayall' and 'ampall' messages set decay and amplitude values for all filters in the same way. These messages are all available as flags as well., f 64;
#X obj 78 415 else/resonators2~ -rampall 2000;
#X obj 78 451 else/out~ 1;
#X connect 0 0 2 0;
#X connect 2 0 10 0;
#X connect 3 0 10 0;
#X connect 4 0 10 0;
#X connect 5 0 6 0;
#X connect 6 0 10 0;
#X connect 10 0 11 0;
#X restore 452 386 pd example;
#X text 37 274 see also:;
#X obj 5 720 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 5 623 cnv 3 550 3 empty empty flags 8 12 0 13 #dcdcdc #000000 0;
Expand All @@ -53,7 +32,7 @@
#X text 104 686 -rampall <float>: sets a ramp time for all resonators, f 61;
#X text 209 503 - list of amplitudes for the filters;
#X text 209 489 - list of decay times for the filters;
#N canvas 818 93 495 454 multichannel 0;
#N canvas 764 93 539 458 multichannel 0;
#X obj 101 353 else/out~;
#X obj 101 312 else/xselect.mc~ 200 1;
#X obj 137 237 hradio 16 1 0 4 empty empty empty 0 -8 0 10 #dfdfdf #000000 #000000 0;
Expand All @@ -62,18 +41,28 @@
#X msg 164 154 mc \$1;
#X obj 164 126 tgl 18 0 empty empty empty 0 -8 0 10 #dfdfdf #000000 #000000 0 1;
#X obj 101 140 sig~ 300;
#X obj 101 186 else/resonators~ -mc -ratio 1 3.3 6.7 8.1 -decay 900 800 700 900 -amp 0.9 0.3 0.2 0.2, f 43;
#X text 180 41 The "-mc" flag or message sets to multichannel output \, where each resonator in the bank is in a different channel., f 30;
#X text 133 40 The "-mc" flag or message sets to multichannel output \, where each resonator in the bank is in a different channel., f 47;
#X obj 356 152 else/dust~ 25;
#X obj 101 186 else/resonators2~ -mc -ratio 1 3.3 6.7 8.1 -decay 900 800 700 900 -amp 0.9 0.3 0.2 0.2, f 43;
#X obj 356 353 else/out~;
#X obj 356 312 else/xselect.mc~ 200 1;
#X obj 392 237 hradio 16 1 0 4 empty empty empty 0 -8 0 10 #dfdfdf #000000 #000000 0;
#X floatatom 392 260 4 0 0 0 - - - 0;
#X obj 392 282 + 1;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 1 0;
#X connect 5 0 8 0;
#X connect 5 0 10 0;
#X connect 6 0 5 0;
#X connect 7 0 8 0;
#X connect 8 0 1 0;
#X connect 10 0 8 1;
#X connect 7 0 10 0;
#X connect 9 0 10 1;
#X connect 10 0 1 0;
#X connect 10 1 12 0;
#X connect 12 0 11 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 12 0;
#X restore 422 410 pd multichannel;
#X text 182 700 -mc: sets to multichannel output, f 48;
#X text 143 547 mc float>;
Expand Down Expand Up @@ -101,12 +90,37 @@
#X text 210 601 - the resonator imaginary part output signal(s);
#X text 59 84 [resonators2~] is like [resonators~] but instead of [resonant~] filters it's a bank made of [vcf2~] filters - therefore \, it is also considered a bank of [damp.osc~] objects \, since [damp.osc~] is based on [vcf2~]. Unlike [resonbank~] it takes a frequency input in the left inlet and a list of frequency ratios for each resonator in the bank. The right input is for the excitation signal \, which must be an impulse since noise sources and noise bursts generate very loud outputs. The number of filters is set via the parameter list size (such as the ratio list). There's also support for multichannel output., f 80;
#X obj 36 324 else/damp.osc~;
#N canvas 825 256 460 466 example 0;
#X obj 122 131 loadbang;
#X text 203 118 click on the messages below to alter between them, f 27;
#X obj 305 283 else/dust~ 5;
#X floatatom 173 268 5 0 0 0 - - - 0;
#X msg 173 289 rampall \$1;
#X text 318 327 <- ramp time.;
#X msg 146 209 ratio 1.4 2.9 3.1 3.3 4.9 5.8 6.9 7.5 \, decay 1000 800 2500 700 500 1200 1700 900 \, amp 1 1 1 1 0.9 0.8 0.9 1, f 42;
#X floatatom 64 123 5 0 0 0 - - - 0;
#X obj 64 98 initmess 100;
#X text 60 32 Here a ramp time is given to set a transition time in ms between parameter changes of resonant frequency ratios \, decay and amplitude. By default \, this is set to 10 ms.;
#X msg 122 154 ratio 1 2.5 3 3.7 4.2 5.1 5.9 6.5 \, decay 2000 900 1500 900 2000 800 1500 900 \, amp 0.9 1 0.9 1 0.8 0.9 0.7 1, f 42;
#X obj 122 326 else/resonators2~ -rampall 2000;
#X obj 122 362 else/out~;
#X connect 0 0 10 0;
#X connect 2 0 11 1;
#X connect 3 0 4 0;
#X connect 4 0 11 0;
#X connect 6 0 11 0;
#X connect 7 0 11 0;
#X connect 8 0 7 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 11 1 12 1;
#X restore 452 389 pd example;
#X connect 35 0 36 0;
#X connect 36 0 37 0;
#X connect 36 1 46 0;
#X connect 37 0 38 0;
#X connect 37 1 47 0;
#X connect 38 0 39 0;
#X connect 39 0 48 0;
#X connect 46 0 48 1;
#X connect 47 0 46 0;
#X connect 48 0 12 0;
#X connect 48 1 12 1;
#X connect 38 0 47 0;
#X connect 45 0 47 1;
#X connect 46 0 45 0;
#X connect 47 0 12 0;
#X connect 47 1 12 1;
43 changes: 23 additions & 20 deletions Documentation/Help-files/resonators~-help.pd
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,29 @@
#X text 137 473 amp <list>;
#X text 131 487 ramp <list>;
#X text 209 487 - list of ramp time for all filters in the bank;
#N canvas 833 77 460 538 example 0;
#X obj 107 188 loadbang;
#X text 188 175 click on the messages below to alter between them, f 27;
#X msg 107 211 freq 100 250 300 370 420 510 590 650 \, decay 2000 900 1500 900 2000 800 1500 900 \, amp 0.9 1 0.9 1 0.8 0.9 0.7 1, f 42;
#X msg 118 266 freq 140 290 310 330 490 580 690 750 \, decay 1000 800 2500 700 500 1200 1700 900 \, amp 1 1 1 1 0.9 0.8 0.9 1, f 42;
#X obj 78 451 else/out~ 5;
#X obj 78 154 else/dust~ 5;
#X floatatom 129 357 5 0 0 0 - - - 0;
#X msg 129 378 rampall \$1;
#X text 266 416 <- ramp time.;
#X text 39 32 Here a ramp time is given to set a transition time in ms between parameter changes of resonant frequency \, decay and amplitude. By default \, this is set to 10 ms. You can also send a list of ramp time for each filter in the bank., f 64;
#X text 39 84 The 'decayall' and 'ampall' messages set decay and amplitude values for all filters in the same way. These messages are all available as flags as well., f 64;
#X obj 78 415 else/resonators~ -rampall 2000;
#X connect 0 0 2 0;
#X connect 2 0 11 0;
#X connect 3 0 11 0;
#X connect 5 0 11 0;
#X connect 6 0 7 0;
#X connect 7 0 11 0;
#X connect 11 0 4 0;
#N canvas 825 256 460 466 example 0;
#X obj 122 131 loadbang;
#X text 203 118 click on the messages below to alter between them, f 27;
#X obj 299 283 else/dust~ 5;
#X floatatom 173 268 5 0 0 0 - - - 0;
#X msg 173 289 rampall \$1;
#X obj 122 362 else/out~ 5;
#X text 310 327 <- ramp time.;
#X obj 122 326 else/resonators~ -rampall 2000;
#X msg 146 209 ratio 1.4 2.9 3.1 3.3 4.9 5.8 6.9 7.5 \, decay 1000 800 2500 700 500 1200 1700 900 \, amp 1 1 1 1 0.9 0.8 0.9 1, f 42;
#X floatatom 64 123 5 0 0 0 - - - 0;
#X obj 64 98 initmess 100;
#X text 60 32 Here a ramp time is given to set a transition time in ms between parameter changes of resonant frequency ratios \, decay and amplitude. By default \, this is set to 10 ms.;
#X msg 122 154 ratio 1 2.5 3 3.7 4.2 5.1 5.9 6.5 \, decay 2000 900 1500 900 2000 800 1500 900 \, amp 0.9 1 0.9 1 0.8 0.9 0.7 1, f 42;
#X connect 0 0 12 0;
#X connect 2 0 7 1;
#X connect 3 0 4 0;
#X connect 4 0 7 0;
#X connect 7 0 5 0;
#X connect 8 0 7 0;
#X connect 9 0 7 0;
#X connect 10 0 9 0;
#X connect 12 0 7 0;
#X restore 452 356 pd example;
#X text 31 272 see also:;
#X obj 5 667 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
Expand Down
Loading

0 comments on commit 784b3b5

Please sign in to comment.