pdvst-0.52/build/Release32/Pd_Gain-gui/Pd_Gain-gui.pd

167 lines
5.1 KiB
Plaintext
Raw Permalink Normal View History

2021-10-28 00:46:36 -03:00
#N canvas 313 -10 860 681 12;
#X obj 26 400 r rvstplugname;
#X msg 25 423 \; gui-label label \$1;
#X obj 37 22 r rvstopengui;
#X obj 24 86 select 0 1;
#X obj 22 227 delay 10;
#X obj 32 486 loadbang;
#X msg 31 512 1;
#X msg 68 513 0;
#N canvas 0 50 746 518 audio_stuff 0;
#X obj 104 322 adc~;
#X obj 104 401 dac~;
#X msg 47 286 \$1 30;
#X obj 47 311 line~;
#X obj 143 371 *~;
#X obj 104 371 *~;
#X obj 48 47 r rvstparameter0;
#X obj 48 229 * 100;
#X obj 47 253 dbtorms;
#X msg 79 81 set \$1;
#X obj 80 189 s svstparameter0;
#X obj 79 107 s level-rcv;
#X obj 80 144 r level-snd;
#X text 192 107 update pd-slider when parameter is changed from host
;
#X text 230 168 update host when parameter is changed from pd-slider
;
#X text 19 12 audio stuff example;
#X obj 315 283 loadbang;
#X msg 315 312 \; pd dsp 1 \;;
#X obj 368 463 tabwrite~ scope;
#X obj 375 433 metro 120;
#X obj 366 403 loadbang;
#X obj 280 413 *~ 5;
#X obj 280 438 clip~ -1 1;
#X connect 0 0 5 0;
#X connect 0 1 4 0;
#X connect 2 0 3 0;
#X connect 3 0 4 1;
#X connect 3 0 5 1;
#X connect 4 0 1 1;
#X connect 4 0 21 0;
#X connect 5 0 1 0;
#X connect 5 0 21 0;
#X connect 6 0 7 0;
#X connect 6 0 9 0;
#X connect 7 0 8 0;
#X connect 8 0 2 0;
#X connect 9 0 11 0;
#X connect 12 0 10 0;
#X connect 12 0 7 0;
#X connect 16 0 17 0;
#X connect 19 0 18 0;
#X connect 20 0 19 0;
#X connect 21 0 22 0;
#X connect 22 0 18 0;
#X restore 518 403 pd audio_stuff;
#X text 67 50 <- the host signals when gui has to be visible;
#X msg 75 195 vis 1;
#X obj 62 147 t b b;
#X text 124 197 display gui window;
#X text 186 79 0 = hide \, 1 = show;
#N canvas 0 50 450 300 hidePdConsole 0;
#X obj 78 48 inlet;
#X obj 76 149 hcs/sys_gui;
#X msg 75 117 wm withdraw .pdwindow;
#X msg 248 114 wm iconify .pdwindow;
#X obj 79 79 select 1 0;
#X connect 0 0 4 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 2 0;
#X connect 4 1 3 0;
#X restore 29 544 pd hidePdConsole;
#X text 163 545 (needs hcs/sys_gui external);
#N canvas 0 0 320 154 \$0-gui 0;
#X obj 5 5 cnv 15 300 190 empty gui-label empty 10 12 0 14 -233017
-66577 0;
#X obj 13 53 vsl 60 128 0 1 0 0 level-snd level-rcv LEVEL 0 -9 0 10
-262144 -1 -1 0 1;
#N canvas 0 50 450 250 (subpatch) 0;
#X array scope 300 float 1;
#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0;
#X coords 0 1 299 -1 120 70 1 0 0;
#X restore 138 57 graph;
#X obj 136 163 bng 15 250 50 0 \$0-show_parent empty show_parent_window
17 7 0 10 -262144 -1 -1;
#X text 101 145 click here to see main patch;
#X restore 517 361 pd \$0-gui;
#X obj 21 298 s pd-\$0-gui;
#X obj 29 653 s pd-Pd_Gain(gui).pd;
#X msg 29 624 vis 0;
#X obj 28 601 loadbang;
#X obj 104 602 r \$0-show_parent;
#X msg 104 627 vis 1;
#X obj 40 57 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X obj 58 113 delay 10;
#X msg 21 254 vis 0;
#X msg 206 252 vis 0;
#X obj 208 229 loadbang;
#X text 67 255 hide gui window;
#X obj 597 127 tgl 15 1 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 618 126 enable embedding (experimental);
#X text 110 300 (<- rename with the name of your gui window);
#X text 603 361 <- the actual gui window;
#N canvas 0 50 645 376 embedding_gui_into_host(experimental) 0;
#X obj 86 151 inlet;
#X obj 135 153 inlet;
#X obj 86 205 spigot;
#X obj 83 321 s guiName;
#X text 157 216 <- send to host the title of your gui window;
#X obj 84 268 f \$0;
#X msg 83 295 symbol \$1-gui;
#X obj 84 243 delay 10;
#X obj 154 180 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 90 40 In order to embed a puredata (tcl) gui window into host
\, the patch has to process values received from host (rvstopengui)
\, and send to it the title of the window to be embedded., f 61;
#X text 230 244 this may crash the tcl gui and thus puredata....;
#X msg 501 327 map 0 \, map 1;
#X connect 0 0 2 0;
#X connect 1 0 2 1;
#X connect 1 0 8 0;
#X connect 2 0 7 0;
#X connect 5 0 6 0;
#X connect 6 0 3 0;
#X connect 7 0 5 0;
#X restore 436 165 pd embedding_gui_into_host(experimental), f 23
;
#X text 9 381 * Receiving plug & instance name from host;
#X text 14 349 *** OTHER TRICKS ***;
#X text 10 461 * Hiding pd-console window on startup;
#X text 13 573 * Hiding main patch (this one!) on startup;
#X text 545 13 PDVST;
#X connect 0 0 1 0;
#X connect 2 0 23 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 1 24 0;
#X connect 4 0 25 0;
#X connect 5 0 6 0;
#X connect 6 0 14 0;
#X connect 7 0 14 0;
#X connect 10 0 17 0;
#X connect 11 0 33 0;
#X connect 11 1 10 0;
#X connect 19 0 18 0;
#X connect 20 0 19 0;
#X connect 21 0 22 0;
#X connect 22 0 18 0;
#X connect 24 0 11 0;
#X connect 25 0 17 0;
#X connect 26 0 17 0;
#X connect 27 0 26 0;
#X connect 29 0 33 1;