From 5c492bdec6cd9302f0d92868ccfea8eadbd25896 Mon Sep 17 00:00:00 2001 From: carmen rocco Date: Tue, 5 Apr 2005 13:32:38 +0000 Subject: ix::gui 2005:04 svn path=/trunk/; revision=2680 --- extensions/gui/ix/sp-demo.pd | 325 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 325 insertions(+) create mode 100755 extensions/gui/ix/sp-demo.pd (limited to 'extensions/gui/ix/sp-demo.pd') diff --git a/extensions/gui/ix/sp-demo.pd b/extensions/gui/ix/sp-demo.pd new file mode 100755 index 00000000..28bd5464 --- /dev/null +++ b/extensions/gui/ix/sp-demo.pd @@ -0,0 +1,325 @@ +#N canvas 387 298 580 364 10; +#X obj 40 102 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X obj -196 21 loadbang; +#X obj -196 111 until; +#X obj -299 225 textfile; +#X obj -299 207 prepend add2; +#X msg -307 171 clear; +#X msg -307 171 bang; +#X obj -299 243 prepend draw; +#X obj -307 153 t b b b; +#X obj -196 129 f 512; +#X obj -196 147 mod 512; +#X obj -196 147 - 1; +#X obj -176 75 samplerate~; +#X obj -251 71 * 1000; +#X obj -196 75 /; +#X obj -273 89 metro 46; +#X msg -77 218 img configure -height \$1 \, -height \$1; +#X obj -196 93 i 512; +#X obj 63 33 hsl 128 15 0 1000 0 1 empty empty hue -2 -6 0 8 -1 -262144 +-1 6200 1; +#X obj -149 200 exp; +#X obj 42 32 tgl 15 1 empty empty empty 0 -6 0 8 -99865 -195568 -1 +1 1; +#X obj -174 165 demux; +#X obj -129 182 log; +#X obj -149 182 *; +#X obj -129 164 t f f; +#X obj -129 200 /; +#X msg -248 129 -1; +#X msg -225 129 1; +#X obj 197 33 hsl 128 15 30 300 0 1 empty empty gain -2 -6 0 8 -262144 +-1 -1 4200 1; +#X obj -129 254 +; +#X obj 59 49 widget sp sp1 -height 303; +#X obj -162 236 sqrt; +#X obj -157 272 mod 1000; +#X obj -157 290 demux; +#X obj 42 50 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X obj -129 326 abs; +#X obj -129 308 - 1000; +#X obj -129 236 * 110; +#X msg -196 39 512; +#X obj -147 129 i; +#X obj -196 57 t f b; +#X obj 3 75 nbx 5 14 -1e+37 1e+37 0 1 empty empty empty 0 -6 0 10 -262144 +-1 -1 303 256; +#X obj -322 17 mp3amp~; +#X msg -271 -1 disconnect; +#X msg -209 -1 connecturl live365.com:80/play/wfmu1; +#X obj 61 -5 widget dd d1 #width 25 -width 73; +#X obj -271 37 readsf~ 2; +#X msg -271 17 open \$1 \, 1; +#X obj -329 55 dac~; +#X text 6 30 log/lin; +#X text 11 100 start; +#X text 2 52 palette; +#X text 3 44 inverse; +#N canvas 845 38 435 259 1000sp 0; +#X obj 96 113 inlet; +#X obj 12 -13 inlet~; +#X obj 11 68 rfft~; +#X obj 5 103 *~; +#X obj 12 135 sqrt~; +#X obj 32 103 *~; +#X obj 94 27 loadbang; +#X obj 94 48 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X obj 105 65 prepend set; +#X obj 122 47 pack 1 1 1; +#X obj 166 21 inlet; +#X obj 95 83 switch~ 512 1 1; +#X obj 247 1 table \$0sp 512; +#X obj 11 166 tabwrite~ \$0sp; +#X obj 36 9 tabreceive~ \$0w; +#X obj 338 1 table \$0w; +#X msg 310 112 0; +#X obj 267 130 osc~; +#X obj 267 83 samplerate~; +#X obj 267 107 / 256; +#X obj 267 152 *~ -0.5; +#X obj 267 174 +~ 0.5; +#X obj 253 41 loadbang; +#X obj 23 31 *~; +#X obj 252 203 tabwrite~ \$0w; +#X obj 338 25 pack f \$0; +#X msg 338 43 \; \$2w resize \$1; +#X obj 193 45 t b f; +#X msg 253 63 bang; +#X obj 338 101 pack f \$0; +#X msg 338 119 \; \$2sp resize \$1; +#X obj 338 83 / 2; +#X connect 0 0 13 0; +#X connect 1 0 23 0; +#X connect 2 0 3 1; +#X connect 2 0 3 0; +#X connect 2 1 5 1; +#X connect 2 1 5 0; +#X connect 3 0 4 0; +#X connect 4 0 13 0; +#X connect 5 0 4 0; +#X connect 6 0 7 0; +#X connect 7 0 11 0; +#X connect 8 0 11 0; +#X connect 9 0 8 0; +#X connect 10 0 9 0; +#X connect 10 0 27 0; +#X connect 14 0 23 1; +#X connect 16 0 17 1; +#X connect 17 0 20 0; +#X connect 18 0 19 0; +#X connect 19 0 17 0; +#X connect 20 0 21 0; +#X connect 21 0 24 0; +#X connect 22 0 28 0; +#X connect 23 0 2 0; +#X connect 25 0 26 0; +#X connect 27 0 28 0; +#X connect 27 1 19 1; +#X connect 27 1 25 0; +#X connect 27 1 31 0; +#X connect 28 0 16 0; +#X connect 28 0 18 0; +#X connect 28 0 24 0; +#X connect 29 0 30 0; +#X connect 31 0 29 0; +#X restore -285 112 pd \$0sp; +#X obj -162 218 tabread4 \$0sp; +#X msg -170 39 1024; +#X obj -157 343 * 0.255; +#N canvas 0 0 356 499 hsv2rgb 0; +#X obj 152 455 sprintf symbol #%02x%02x%02x; +#X obj 41 14 inlet; +#X obj 153 471 outlet; +#X obj 53 75 / 42.5; +#X obj 18 55 t f f; +#X obj 31 33 unpack f f f; +#X obj 16 85 / 42.5; +#X obj 23 115 -; +#X obj 56 97 i; +#X obj 115 78 / 255; +#X obj 96 112 *; +#X obj 70 143 *; +#X text 14 39 h; +#X text 58 46 s; +#X text 88 42 v; +#X text 75 102 i; +#X text 16 120 f; +#X text 145 83 vf; +#X text 115 117 vs; +#X text 90 148 vsf; +#X text 147 185 p; +#X text 73 225 q; +#X text 132 212 t; +#X obj 122 139 t b f; +#X obj 124 162 f; +#X obj 126 183 -; +#X obj 52 192 f; +#X obj 52 169 t b f; +#X obj 54 220 -; +#X obj 112 207 +; +#X obj 131 272 f; +#X obj 162 271 f; +#X obj 197 272 f; +#X obj 231 271 f; +#X text 250 277 v; +#X text 218 275 p; +#X text 146 279 t; +#X text 182 278 q; +#X obj 92 278 i; +#X obj 214 293 prepend add2; +#X msg 193 321 96.8999 0 255; +#X obj 77 325 t b b b; +#X obj 79 252 t b b f b; +#X msg 191 295 set; +#X obj 90 345 t b b b; +#X obj 116 367 t b b b; +#X obj 138 387 t b b b; +#X obj 153 414 t b b b; +#X obj 167 435 t b b b; +#X obj 79 300 route 1 2 3 4 5; +#X connect 0 0 2 0; +#X connect 1 0 5 0; +#X connect 3 0 8 0; +#X connect 4 0 6 0; +#X connect 4 1 3 0; +#X connect 5 0 4 0; +#X connect 5 1 10 0; +#X connect 5 2 9 0; +#X connect 5 2 24 1; +#X connect 5 2 26 1; +#X connect 5 2 33 1; +#X connect 6 0 7 0; +#X connect 7 0 11 0; +#X connect 8 0 7 1; +#X connect 8 0 38 1; +#X connect 9 0 10 1; +#X connect 10 0 11 1; +#X connect 10 0 23 0; +#X connect 11 0 27 0; +#X connect 23 0 24 0; +#X connect 23 1 25 1; +#X connect 24 0 25 0; +#X connect 25 0 29 1; +#X connect 25 0 32 1; +#X connect 26 0 28 0; +#X connect 27 0 26 0; +#X connect 27 1 28 1; +#X connect 27 1 29 0; +#X connect 28 0 42 0; +#X connect 29 0 30 1; +#X connect 30 0 39 0; +#X connect 31 0 39 0; +#X connect 32 0 39 0; +#X connect 33 0 39 0; +#X connect 38 0 49 0; +#X connect 39 0 40 0; +#X connect 40 0 0 0; +#X connect 41 0 32 0; +#X connect 41 1 33 0; +#X connect 41 2 31 0; +#X connect 42 0 40 0; +#X connect 42 1 38 0; +#X connect 42 2 31 1; +#X connect 42 3 43 0; +#X connect 43 0 40 0; +#X connect 44 0 30 0; +#X connect 44 1 33 0; +#X connect 44 2 32 0; +#X connect 45 0 33 0; +#X connect 45 1 31 0; +#X connect 45 2 32 0; +#X connect 46 0 33 0; +#X connect 46 1 32 0; +#X connect 46 2 30 0; +#X connect 47 0 31 0; +#X connect 47 1 32 0; +#X connect 47 2 33 0; +#X connect 48 0 32 0; +#X connect 48 1 30 0; +#X connect 48 2 33 0; +#X connect 49 0 41 0; +#X connect 49 1 44 0; +#X connect 49 2 45 0; +#X connect 49 3 46 0; +#X connect 49 4 47 0; +#X connect 49 5 48 0; +#X restore -268 186 pd hsv2rgb; +#X obj -313 74 adc~; +#X obj -268 167 pack 0 255 255; +#X connect 0 0 15 0; +#X connect 1 0 38 0; +#X connect 2 0 9 0; +#X connect 3 0 7 0; +#X connect 4 0 3 0; +#X connect 5 0 3 0; +#X connect 6 0 3 0; +#X connect 7 0 30 0; +#X connect 8 0 6 0; +#X connect 8 1 17 0; +#X connect 8 2 5 0; +#X connect 9 0 11 0; +#X connect 10 0 9 1; +#X connect 10 0 21 0; +#X connect 11 0 10 0; +#X connect 12 0 14 1; +#X connect 13 0 15 1; +#X connect 14 0 13 0; +#X connect 15 0 53 1; +#X connect 15 0 8 0; +#X connect 16 0 30 0; +#X connect 17 0 2 0; +#X connect 18 0 29 1; +#X connect 19 0 54 0; +#X connect 20 0 21 1; +#X connect 21 0 54 0; +#X connect 21 1 23 0; +#X connect 22 0 25 0; +#X connect 23 0 19 0; +#X connect 24 0 22 0; +#X connect 24 1 25 1; +#X connect 25 0 23 1; +#X connect 26 0 11 1; +#X connect 27 0 11 1; +#X connect 28 0 37 1; +#X connect 29 0 32 0; +#X connect 31 0 37 0; +#X connect 32 0 33 0; +#X connect 33 0 56 0; +#X connect 33 1 36 0; +#X connect 34 0 33 1; +#X connect 35 0 56 0; +#X connect 36 0 35 0; +#X connect 37 0 29 0; +#X connect 38 0 40 0; +#X connect 39 0 10 1; +#X connect 39 0 9 1; +#X connect 39 0 16 0; +#X connect 39 0 17 1; +#X connect 39 0 24 0; +#X connect 40 0 14 0; +#X connect 40 0 53 2; +#X connect 40 1 12 0; +#X connect 41 0 39 0; +#X connect 42 0 48 0; +#X connect 42 0 53 0; +#X connect 42 1 48 1; +#X connect 42 1 53 0; +#X connect 43 0 42 0; +#X connect 44 0 42 0; +#X connect 45 0 47 0; +#X connect 46 0 48 0; +#X connect 46 0 53 0; +#X connect 46 1 48 1; +#X connect 46 1 53 0; +#X connect 47 0 46 0; +#X connect 54 0 31 0; +#X connect 55 0 40 0; +#X connect 56 0 59 0; +#X connect 57 0 4 0; +#X connect 58 0 53 0; +#X connect 59 0 57 0; +#X coords 0 0 2.71716e-06 4.15856e-06 535 500 0; -- cgit v1.2.1