aboutsummaryrefslogtreecommitdiff
path: root/examples/2_GUI_DSP_parameter_management.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-05-18 21:33:33 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-05-18 21:33:33 +0000
commit577ac6e80ff4f436fbd054291ed7dddbc31bd49a (patch)
tree6ec69b216dda68d7de38a5eba1851b9d4f1431e6 /examples/2_GUI_DSP_parameter_management.pd
This commit was generated by cvs2svn to compensate for changes in r1738,svn2git-root
which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/iemlib/; revision=1739
Diffstat (limited to 'examples/2_GUI_DSP_parameter_management.pd')
-rw-r--r--examples/2_GUI_DSP_parameter_management.pd454
1 files changed, 454 insertions, 0 deletions
diff --git a/examples/2_GUI_DSP_parameter_management.pd b/examples/2_GUI_DSP_parameter_management.pd
new file mode 100644
index 0000000..74fcaa2
--- /dev/null
+++ b/examples/2_GUI_DSP_parameter_management.pd
@@ -0,0 +1,454 @@
+#N canvas 21 46 962 572 10;
+#X text 55 20 IEM KUG;
+#X text 29 31 graz \, austria 2003;
+#X obj 792 387 dsp;
+#X obj 279 449 dac~;
+#X floatatom 306 381 5 0 0 0 - - -;
+#X floatatom 398 378 5 0 0 0 - - -;
+#X floatatom 494 399 5 0 0 0 - - -;
+#X symbolatom 490 471 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 279 416 pd multi_filter~;
+#N canvas 273 19 634 194 GUI 0;
+#X obj 69 23 vsl 15 128 0 127 0 0 empty empty gain 0 -8 0 8 -44926
+-1 -1 6900 1;
+#X obj 70 159 nbx 4 12 -1e+037 1e+037 0 0 empty empty dB 48 7 0 10
+-225280 -1 -1 -3 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 227 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 284 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 284 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 284 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 obj 417 176 s recall_gui;
+#X obj 466 196 s store_gui;
+#X obj 507 168 s save_gui;
+#X msg 507 147 1;
+#X obj 10 30 tgl 15 0 empty empty DSP 0 -8 0 10 -24198 -1 -1 1 1;
+#X obj 10 69 nbx 4 12 -1e+037 1e+037 0 0 empty empty peak 0 -7 0 10
+-195568 -1 -1 0 256;
+#X obj 10 98 nbx 4 12 -1e+037 1e+037 0 0 empty empty mean 0 -7 0 10
+-195568 -1 -1 1.11 256;
+#X obj 10 173 r perf_peak_gui;
+#X obj 10 191 r perf_mean_gui;
+#X obj 10 153 s audio_gui;
+#X obj 145 270 r out_level_gui;
+#X obj 227 26 r Q_gui_in;
+#X obj 222 128 s Q_gui_out;
+#X obj 284 318 s mode_gui_out;
+#X obj 376 199 r mode_gui_in;
+#X obj 11 338 s gain_gui_out;
+#X obj 10 210 r gain_gui_in;
+#X obj 131 176 s freq_gui_out;
+#X obj 111 6 r freq_gui_in;
+#X obj 57 233 s connect_back_gui;
+#X obj 10 128 tgl 15 0 empty empty connect 0 -6 0 8 -260818 -1 -1 1
+1;
+#X obj 28 130 cnv 8 1 1 empty empty back 0 6 0 10 -262144 -1 0;
+#X connect 0 0 12 0;
+#X connect 2 0 16 0;
+#X connect 5 0 4 0;
+#X connect 5 0 50 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 53 0;
+#X connect 14 0 2 0;
+#X connect 15 0 14 0;
+#X connect 16 0 3 0;
+#X connect 16 0 55 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 51 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 38 0;
+#X connect 34 0 33 0;
+#X connect 35 0 39 0;
+#X connect 36 0 35 0;
+#X connect 37 0 41 0;
+#X connect 41 0 40 0;
+#X connect 42 0 47 0;
+#X connect 45 0 43 0;
+#X connect 46 0 44 0;
+#X connect 48 0 7 0;
+#X connect 49 0 10 0;
+#X connect 49 0 4 0;
+#X connect 52 0 23 0;
+#X connect 54 0 8 0;
+#X connect 54 0 1 0;
+#X connect 56 0 15 0;
+#X connect 56 0 3 0;
+#X connect 58 0 57 0;
+#X coords 0 0 1 1 600 190 1;
+#X restore 243 21 pd GUI;
+#X obj 268 385 pink~;
+#N canvas 0 0 638 448 parameter_memory_management 0;
+#X msg 258 107 recall;
+#X msg 349 113 store;
+#X obj 20 10 loadbang;
+#X obj 20 52 pp add;
+#X obj 189 290 pp from;
+#X obj 86 267 iem_pbank_csv 4 10;
+#X obj 189 319 list2send 4;
+#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 260 81 t b f;
+#X obj 260 59 inlet;
+#X obj 359 60 inlet;
+#X obj 358 87 t b f;
+#X obj 440 62 inlet;
+#X obj 440 88 bang;
+#X msg 20 31 0 gain_dsp_in \, 1 freq_dsp_in \, 2 Q_dsp_in \, 3 mode_dsp_in
+;
+#X obj 281 255 loadbang;
+#X obj 281 297 pp add;
+#X msg 281 276 0 gain_dsp_out \, 1 freq_dsp_out \, 2 Q_dsp_out \, 3
+mode_dsp_out;
+#X connect 0 0 5 0;
+#X connect 1 0 5 0;
+#X connect 2 0 17 0;
+#X connect 3 0 10 0;
+#X connect 4 0 6 0;
+#X connect 5 1 4 0;
+#X connect 7 0 5 0;
+#X connect 8 0 7 0;
+#X connect 9 0 5 0;
+#X connect 10 0 5 0;
+#X connect 11 0 0 0;
+#X connect 11 1 5 1;
+#X connect 12 0 11 0;
+#X connect 13 0 14 0;
+#X connect 14 0 1 0;
+#X connect 14 1 5 1;
+#X connect 15 0 16 0;
+#X connect 16 0 9 0;
+#X connect 17 0 3 0;
+#X connect 18 0 20 0;
+#X connect 19 0 6 0;
+#X connect 20 0 19 0;
+#X restore 15 443 pd parameter_memory_management;
+#X text 27 7 (c) musil@iem.at;
+#X text 11 309 ****************** DSP ***********************;
+#X text 11 267 ****************** GUI ***********************;
+#X obj 15 404 r recall_dsp;
+#X obj 102 403 r store_dsp;
+#X obj 190 402 r save_dsp;
+#X obj 805 408 s perf_peak_dsp;
+#X obj 792 428 s perf_mean_dsp;
+#X obj 792 366 r audio_dsp;
+#X obj 334 443 prvu~;
+#X obj 334 465 s out_level_dsp;
+#X text 294 267 ****************** GUI ***********************;
+#X text 578 267 ****************** GUI ***********************;
+#X text 293 309 ****************** DSP ***********************;
+#X text 577 309 ****************** DSP ***********************;
+#X msg 38 160 disconnect;
+#N canvas 0 0 528 308 netsend 0;
+#X obj 91 48 inlet;
+#X obj 95 233 outlet;
+#X obj 91 74 route connect disconnect send;
+#X obj 56 127 bang;
+#X obj 147 98 bang;
+#X msg 56 151 1;
+#X msg 147 123 0;
+#X obj 179 228 spigot;
+#X obj 179 268 iem_s;
+#X obj 275 206 pp set;
+#X msg 287 158 clear;
+#X obj 362 122 pp list;
+#X obj 362 155 mergefilename _;
+#X connect 0 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 0 11 0;
+#X connect 2 1 4 0;
+#X connect 2 2 7 0;
+#X connect 3 0 5 0;
+#X connect 4 0 6 0;
+#X connect 5 0 1 0;
+#X connect 5 0 7 1;
+#X connect 6 0 1 0;
+#X connect 6 0 7 1;
+#X connect 6 0 10 0;
+#X connect 7 0 8 0;
+#X connect 9 0 8 1;
+#X connect 10 0 8 1;
+#X connect 11 0 12 0;
+#X connect 12 0 9 0;
+#X restore 54 226 pd netsend;
+#X msg 20 139 connect my_dsp_workstation 3000;
+#N canvas 0 0 610 373 from_gui_to_dsp 0;
+#X obj 35 38 loadbang;
+#X obj 35 110 pp add;
+#X obj 35 200 outlet;
+#X obj 35 175 pp send;
+#X obj 35 132 receive2list 9;
+#X msg 35 59 0 gain_gui_out \, 1 freq_gui_out \, 2 Q_gui_out \, 3 mode_gui_out
+\, 4 audio_gui \, 5 recall_gui \, 6 store_gui \, 7 save_gui \, 8 connect_back_gui
+;
+#X connect 0 0 5 0;
+#X connect 1 0 4 0;
+#X connect 3 0 2 0;
+#X connect 4 0 3 0;
+#X connect 5 0 1 0;
+#X restore 54 181 pd from_gui_to_dsp;
+#N canvas 0 0 825 506 from_dsp_to_gui 0;
+#X obj 122 44 loadbang;
+#X obj 122 101 pp add;
+#X obj 53 132 list2send 7;
+#X msg 122 65 0 gain_gui_in \, 1 freq_gui_in \, 2 Q_gui_in \, 3 mode_gui_in
+\, 4 perf_peak_gui \, 5 perf_mean_gui \, 6 out_level_gui;
+#X obj 53 21 inlet;
+#X connect 0 0 3 0;
+#X connect 1 0 2 0;
+#X connect 3 0 1 0;
+#X connect 4 0 2 0;
+#X restore 578 242 pd from_dsp_to_gui;
+#N canvas 0 0 452 302 netreceive 0;
+#X obj 96 253 outlet;
+#X obj 96 197 r my_gui_notebook_3001;
+#X connect 1 0 0 0;
+#X restore 578 220 pd netreceive 3001;
+#X floatatom 54 250 5 0 0 0 - - -;
+#N canvas 0 0 462 312 netreceive 0;
+#X obj 96 253 outlet;
+#X obj 96 197 r my_dsp_workstation_3000;
+#X connect 1 0 0 0;
+#X restore 14 338 pd netreceive 3000;
+#N canvas 0 0 841 522 from_gui_to_dsp 0;
+#X obj 122 44 loadbang;
+#X obj 122 119 pp add;
+#X obj 53 21 inlet;
+#X obj 53 150 list2send 9;
+#X msg 122 65 0 gain_dsp_in \, 1 freq_dsp_in \, 2 Q_dsp_in \, 3 mode_dsp_in
+\, 4 audio_dsp \, 5 recall_dsp \, 6 store_dsp \, 7 save_dsp \, 8 connect_back_dsp
+;
+#X connect 0 0 4 0;
+#X connect 1 0 3 0;
+#X connect 2 0 3 0;
+#X connect 4 0 1 0;
+#X restore 14 360 pd from_gui_to_dsp;
+#X msg 577 400 disconnect;
+#N canvas 0 0 530 310 netsend 0;
+#X obj 91 48 inlet;
+#X obj 95 233 outlet;
+#X obj 91 74 route connect disconnect send;
+#X obj 56 127 bang;
+#X obj 147 98 bang;
+#X msg 56 151 1;
+#X msg 147 123 0;
+#X obj 179 228 spigot;
+#X obj 179 268 iem_s;
+#X obj 275 206 pp set;
+#X msg 287 158 clear;
+#X obj 362 122 pp list;
+#X obj 362 155 mergefilename _;
+#X connect 0 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 0 11 0;
+#X connect 2 1 4 0;
+#X connect 2 2 7 0;
+#X connect 3 0 5 0;
+#X connect 4 0 6 0;
+#X connect 5 0 1 0;
+#X connect 5 0 7 1;
+#X connect 6 0 1 0;
+#X connect 6 0 7 1;
+#X connect 6 0 10 0;
+#X connect 7 0 8 0;
+#X connect 9 0 8 1;
+#X connect 10 0 8 1;
+#X connect 11 0 12 0;
+#X connect 12 0 9 0;
+#X restore 646 438 pd netsend;
+#X floatatom 646 462 5 0 0 0 - - -;
+#X msg 595 379 connect my_gui_notebook 3001;
+#N canvas 0 0 622 385 from_dsp_to_gui 0;
+#X obj 35 38 loadbang;
+#X obj 35 110 pp add;
+#X obj 35 200 outlet;
+#X obj 35 175 pp send;
+#X obj 35 132 receive2list 7;
+#X msg 35 59 0 gain_dsp_out \, 1 freq_dsp_out \, 2 Q_dsp_out \, 3 mode_dsp_out
+\, 4 perf_peak_dsp \, 5 perf_mean_dsp \, 6 out_level_dsp;
+#X connect 0 0 5 0;
+#X connect 1 0 4 0;
+#X connect 3 0 2 0;
+#X connect 4 0 3 0;
+#X connect 5 0 1 0;
+#X restore 646 401 pd from_dsp_to_gui;
+#X obj 577 337 r connect_back_dsp;
+#X obj 577 358 sel 0 1;
+#X obj 306 338 r gain_dsp_in;
+#X obj 398 336 r freq_dsp_in;
+#X obj 494 358 r Q_dsp_in;
+#X obj 490 427 r mode_dsp_in;
+#X obj 490 447 r mode_dsp_out;
+#X obj 494 378 r Q_dsp_out;
+#X obj 398 356 r freq_dsp_out;
+#X obj 306 359 r gain_dsp_out;
+#X text 36 60 1.) connect;
+#X text 36 71 2.) connect back;
+#X text 36 82 3.) DSP on;
+#X connect 2 0 19 0;
+#X connect 2 1 18 0;
+#X connect 8 0 3 0;
+#X connect 8 0 3 1;
+#X connect 8 0 21 0;
+#X connect 10 0 8 0;
+#X connect 15 0 11 0;
+#X connect 16 0 11 1;
+#X connect 17 0 11 2;
+#X connect 20 0 2 0;
+#X connect 21 0 22 0;
+#X connect 27 0 28 0;
+#X connect 28 0 33 0;
+#X connect 29 0 28 0;
+#X connect 30 0 28 0;
+#X connect 32 0 31 0;
+#X connect 34 0 35 0;
+#X connect 36 0 37 0;
+#X connect 37 0 38 0;
+#X connect 39 0 37 0;
+#X connect 40 0 37 0;
+#X connect 41 0 42 0;
+#X connect 42 0 36 0;
+#X connect 42 1 39 0;
+#X connect 43 0 4 0;
+#X connect 43 0 8 1;
+#X connect 44 0 5 0;
+#X connect 44 0 8 2;
+#X connect 45 0 6 0;
+#X connect 45 0 8 3;
+#X connect 46 0 7 0;
+#X connect 46 0 8 4;
+#X connect 47 0 8 4;
+#X connect 47 0 7 0;
+#X connect 48 0 6 0;
+#X connect 48 0 8 3;
+#X connect 49 0 5 0;
+#X connect 49 0 8 2;
+#X connect 50 0 4 0;
+#X connect 50 0 8 1;