diff options
Diffstat (limited to 'examples/1_simple_parameter_management.pd')
-rw-r--r-- | examples/1_simple_parameter_management.pd | 278 |
1 files changed, 278 insertions, 0 deletions
diff --git a/examples/1_simple_parameter_management.pd b/examples/1_simple_parameter_management.pd new file mode 100644 index 0000000..2746b2a --- /dev/null +++ b/examples/1_simple_parameter_management.pd @@ -0,0 +1,278 @@ +#N canvas 29 11 869 564 10;
+#X text 57 59 IEM KUG;
+#X text 31 70 graz \, austria 2003;
+#X obj 717 437 dsp;
+#X obj 383 501 dac~;
+#X floatatom 443 429 5 0 0 0 - - -;
+#X floatatom 509 431 5 0 0 0 - - -;
+#X floatatom 566 444 5 0 0 0 - - -;
+#X symbolatom 617 470 3 0 0 0 - - -;
+#N canvas 0 0 745 495 multi_filter~ 0;
+#X obj 116 45 inlet~;
+#X obj 114 403 outlet~;
+#X obj 115 174 lp2~ 440 2 100;
+#X obj 212 174 hp2~ 440 2 100;
+#X obj 308 174 rbpq2~ 440 2 100;
+#X obj 115 272 mull~ 1 100;
+#X obj 486 226 route 0 1 2;
+#X obj 115 303 +~;
+#X obj 115 327 +~;
+#X obj 332 48 inlet;
+#X obj 422 46 inlet;
+#X text 114 23 sig_in;
+#X text 432 27 Q;
+#X obj 486 45 inlet;
+#X obj 486 206 hdl 15 1 0 3 empty empty empty 0 -6 0 8 -262144 -1 -1
+0;
+#X text 334 27 freq_Hz;
+#X obj 230 45 inlet;
+#X text 232 26 gain_db;
+#X obj 230 95 dbtorms;
+#X obj 115 375 mull~ 0.1 100;
+#X msg 486 138 0;
+#X msg 512 138 1;
+#X msg 538 138 2;
+#X text 487 29 mode;
+#X obj 486 178 t f;
+#X obj 486 117 route lp hp bp;
+#X obj 307 270 mull~ 0 100;
+#X obj 213 271 mull~ 0 100;
+#X obj 230 68 + 100;
+#X obj 486 96 unsymbol;
+#X connect 0 0 2 0;
+#X connect 0 0 3 0;
+#X connect 0 0 4 0;
+#X connect 2 0 5 0;
+#X connect 3 0 27 0;
+#X connect 4 0 26 0;
+#X connect 5 0 7 0;
+#X connect 6 0 5 1;
+#X connect 6 1 27 1;
+#X connect 6 2 26 1;
+#X connect 7 0 8 0;
+#X connect 8 0 19 0;
+#X connect 9 0 2 1;
+#X connect 9 0 3 1;
+#X connect 9 0 4 1;
+#X connect 10 0 2 2;
+#X connect 10 0 3 2;
+#X connect 10 0 4 2;
+#X connect 13 0 29 0;
+#X connect 14 0 6 0;
+#X connect 16 0 28 0;
+#X connect 18 0 19 1;
+#X connect 19 0 1 0;
+#X connect 20 0 24 0;
+#X connect 21 0 24 0;
+#X connect 22 0 24 0;
+#X connect 24 0 14 0;
+#X connect 25 0 20 0;
+#X connect 25 1 21 0;
+#X connect 25 2 22 0;
+#X connect 26 0 8 1;
+#X connect 27 0 7 1;
+#X connect 28 0 18 0;
+#X connect 29 0 25 0;
+#X restore 383 468 pd multi_filter~;
+#N canvas 52 43 624 184 GUI 0;
+#X obj 69 23 vsl 15 128 0 127 0 0 empty empty gain 0 -8 0 8 -44926
+-1 -1 0 1;
+#X obj 70 159 nbx 4 12 -1e+037 1e+037 0 0 empty empty dB 48 7 0 10
+-225280 -1 -1 0 256;
+#X obj 196 23 vsl 15 128 9 136 0 0 midi_freq_dsp midi_freq_gui freq
+0 -8 192 8 -250685 -1 -1 0 1;
+#X obj 197 160 nbx 5 12 -1e+037 1e+037 0 0 empty empty Hz 58 7 0 10
+-257472 -1 -1 0 256;
+#X obj 293 160 nbx 4 12 -1e+037 1e+037 0 0 empty empty empty 48 7 0
+10 -262131 -1 -1 0 256;
+#X obj 293 24 vsl 15 128 0.1 10 1 0 empty empty Q 0 -8 0 8 -260818
+-1 -1 0 1;
+#X obj 335 50 cnv 8 20 15 empty empty lowpass 0 5 0 10 -262144 -66577
+0;
+#X obj 87 32 vu 15 120 empty out -1 -8 0 8 -66577 -1 1 0;
+#X obj 10 231 + 100;
+#X obj 10 252 dbtofad;
+#X msg 232 46 set \$1;
+#X msg 10 274 set \$1;
+#X obj 11 297 fadtodb;
+#X obj 11 318 - 100;
+#X msg 131 60 set \$1;
+#X obj 131 40 ftom;
+#X obj 131 109 mtof;
+#X msg 376 272 0;
+#X msg 402 272 1;
+#X msg 428 272 2;
+#X obj 376 297 t f;
+#X obj 376 249 route lp hp bp;
+#X msg 376 318 set \$1;
+#X obj 376 225 unsymbol;
+#X obj 289 297 symbol;
+#X obj 317 48 vradio 15 1 0 3 empty empty mode 0 -6 0 10 -24198 -1
+-1 0;
+#X obj 335 66 cnv 8 20 15 empty empty highpass 0 5 0 10 -262144 -66577
+0;
+#X obj 335 82 cnv 8 20 15 empty empty bandpass 0 5 0 10 -262144 -66577
+0;
+#X obj 289 253 iem_sel_any;
+#X msg 186 214 0 lp \, 1 hp \, 2 bp;
+#X obj 186 193 loadbang;
+#X obj 186 235 pp add;
+#X obj 289 275 route set;
+#X floatatom 417 130 5 0 9 0 - - -;
+#X obj 417 25 vradio 10 1 0 10 empty empty recall_preset 0 -6 0 8 -257989
+-1 -1 0;
+#X floatatom 466 157 5 0 9 0 - - -;
+#X obj 466 52 vradio 10 1 0 10 empty empty store_preset 0 -6 0 8 -259803
+-1 -1 0;
+#X obj 507 101 bng 35 250 50 0 empty empty save_file 0 -6 0 8 -259609
+-237569 -1;
+#X msg 507 147 1;
+#X obj 10 30 tgl 15 0 empty empty DSP 0 -8 0 10 -24198 -1 -1 0 1;
+#X obj 10 69 nbx 4 12 -1e+037 1e+037 0 0 empty empty peak 0 -7 0 10
+-195568 -1 -1 6.00864 256;
+#X obj 10 98 nbx 4 12 -1e+037 1e+037 0 0 empty empty mean 0 -7 0 10
+-195568 -1 -1 26.64 256;
+#X obj 131 19 r freq;
+#X obj 131 131 s freq;
+#X obj 232 26 r Q;
+#X obj 237 128 s Q;
+#X obj 10 154 s audio;
+#X obj 10 173 r perf_peak;
+#X obj 10 191 r perf_mean;
+#X obj 10 210 r gain;
+#X obj 140 176 r out_level;
+#X obj 376 199 r mode;
+#X obj 417 176 s recall;
+#X obj 466 196 s store;
+#X obj 507 168 s save;
+#X obj 289 318 s mode;
+#X obj 11 338 s gain;
+#X connect 0 0 12 0;
+#X connect 2 0 16 0;
+#X connect 5 0 4 0;
+#X connect 5 0 45 0;
+#X connect 8 0 9 0;
+#X connect 9 0 11 0;
+#X connect 10 0 5 0;
+#X connect 11 0 0 0;
+#X connect 12 0 13 0;
+#X connect 13 0 1 0;
+#X connect 13 0 56 0;
+#X connect 14 0 2 0;
+#X connect 15 0 14 0;
+#X connect 16 0 3 0;
+#X connect 16 0 43 0;
+#X connect 17 0 20 0;
+#X connect 18 0 20 0;
+#X connect 19 0 20 0;
+#X connect 20 0 22 0;
+#X connect 21 0 17 0;
+#X connect 21 1 18 0;
+#X connect 21 2 19 0;
+#X connect 22 0 25 0;
+#X connect 23 0 21 0;
+#X connect 24 0 55 0;
+#X connect 25 0 28 0;
+#X connect 28 0 32 0;
+#X connect 29 0 31 0;
+#X connect 30 0 29 0;
+#X connect 31 0 28 0;
+#X connect 32 0 24 0;
+#X connect 33 0 52 0;
+#X connect 34 0 33 0;
+#X connect 35 0 53 0;
+#X connect 36 0 35 0;
+#X connect 37 0 38 0;
+#X connect 38 0 54 0;
+#X connect 39 0 46 0;
+#X connect 42 0 15 0;
+#X connect 42 0 3 0;
+#X connect 44 0 10 0;
+#X connect 44 0 4 0;
+#X connect 47 0 40 0;
+#X connect 48 0 41 0;
+#X connect 49 0 8 0;
+#X connect 49 0 1 0;
+#X connect 50 0 7 0;
+#X connect 51 0 23 0;
+#X coords 0 0 1 1 600 185 1;
+#X restore 243 21 pd GUI;
+#X obj 382 435 pink~;
+#N canvas 0 0 456 306 parameter_memory_management 0;
+#X msg 222 114 recall;
+#X msg 349 113 store;
+#X obj 55 63 loadbang;
+#X obj 55 105 pp add;
+#X obj 189 290 pp from;
+#X obj 86 267 iem_pbank_csv 4 10;
+#X obj 189 315 list2send 4;
+#X msg 55 84 0 gain \, 1 freq \, 2 Q \, 3 mode;
+#X msg 309 225 read test_pbank.txt brw;
+#X obj 309 204 loadbang;
+#X msg 437 143 write test_pbank.txt brw;
+#X obj 86 215 receive2list 4;
+#X obj 242 78 t b f;
+#X obj 242 56 inlet;
+#X obj 380 53 inlet;
+#X obj 379 80 t b f;
+#X obj 452 53 inlet;
+#X obj 452 83 bang;
+#X connect 0 0 5 0;
+#X connect 1 0 5 0;
+#X connect 2 0 7 0;
+#X connect 3 0 6 0;
+#X connect 3 0 11 0;
+#X connect 4 0 6 0;
+#X connect 5 1 4 0;
+#X connect 7 0 3 0;
+#X connect 8 0 5 0;
+#X connect 9 0 8 0;
+#X connect 10 0 5 0;
+#X connect 11 0 5 0;
+#X connect 12 0 0 0;
+#X connect 12 1 5 1;
+#X connect 13 0 12 0;
+#X connect 14 0 15 0;
+#X connect 15 0 1 0;
+#X connect 15 1 5 1;
+#X connect 16 0 17 0;
+#X connect 17 0 10 0;
+#X restore 104 476 pd parameter_memory_management;
+#X text 29 46 (c) musil@iem.at;
+#X text 7 367 ****************** DSP ***********************;
+#X text 11 246 ****************** GUI ***********************;
+#X obj 438 495 prvu~;
+#X text 294 246 ****************** GUI ***********************;
+#X text 578 246 ****************** GUI ***********************;
+#X text 289 367 ****************** DSP ***********************;
+#X text 573 367 ****************** DSP ***********************;
+#X obj 717 416 r audio;
+#X obj 730 458 s perf_peak;
+#X obj 717 478 s perf_mean;
+#X obj 609 446 r mode;
+#X obj 559 421 r Q;
+#X obj 502 408 r freq;
+#X obj 436 406 r gain;
+#X obj 438 517 s out_level;
+#X obj 279 435 r save;
+#X obj 191 436 r store;
+#X obj 104 437 r recall;
+#X connect 2 0 22 0;
+#X connect 2 1 21 0;
+#X connect 8 0 3 0;
+#X connect 8 0 3 1;
+#X connect 8 0 15 0;
+#X connect 10 0 8 0;
+#X connect 15 0 27 0;
+#X connect 20 0 2 0;
+#X connect 23 0 8 4;
+#X connect 23 0 7 0;
+#X connect 24 0 6 0;
+#X connect 24 0 8 3;
+#X connect 25 0 5 0;
+#X connect 25 0 8 2;
+#X connect 26 0 4 0;
+#X connect 26 0 8 1;
+#X connect 28 0 11 2;
+#X connect 29 0 11 1;
+#X connect 30 0 11 0;
|