diff options
author | Tim Blechmann <timblech@users.sourceforge.net> | 2005-12-10 20:10:48 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:11:50 +0200 |
commit | a71a2788520aaf1569d4d2eec045a308f8c28e7f (patch) | |
tree | b5113011fd6e27236d734f30928f6524e91202c0 | |
parent | e6c49319e1b84287f8fa07559b820cdf4cb5bc7b (diff) |
adding msg_queue abstractions
changing envelope generator
svn path=/trunk/abstractions/tb/; revision=4182
-rw-r--r-- | le3dp.pd | 2 | ||||
-rw-r--r-- | msg_queue-help.pd | 14 | ||||
-rw-r--r-- | msg_queue.pd | 14 | ||||
-rw-r--r-- | tbEnvify~-help.pd | 3 | ||||
-rw-r--r-- | tbEnvify~.pd | 39 | ||||
-rw-r--r-- | tbEnvify~/bpe.pd | 36 | ||||
-rw-r--r-- | tbEnvify~/bpe_rampsmooth.pd | 55 | ||||
-rw-r--r-- | tbEnvify~/bpe_slide.pd | 60 | ||||
-rw-r--r-- | tbEnvify~/hanning.pd | 50 | ||||
-rw-r--r-- | tbEnvify~/sine.pd | 40 | ||||
-rw-r--r-- | tbEnvify~/triangle.pd | 16 |
11 files changed, 202 insertions, 127 deletions
@@ -116,7 +116,7 @@ btn_8 btn_9 btn_10 btn_11; #X obj 38 106 route -1; #X obj 38 126 0; #X obj 8 148 spigot 1; -#X text 12 294 $Id: le3dp.pd 194 2005-11-20 01:17:05Z tim $; +#X text 12 294 $Id: le3dp.pd 211 2005-12-10 21:10:37Z tim $; #X text 116 220 abstraction to use a Logitech Extreme 3D Joystick with hid under linux; #X msg 38 60 find "product=Logitech Extreme 3D"; diff --git a/msg_queue-help.pd b/msg_queue-help.pd new file mode 100644 index 0000000..4ee5500 --- /dev/null +++ b/msg_queue-help.pd @@ -0,0 +1,14 @@ +#N canvas 0 0 386 215 10; +#X obj 28 98 msg_queue; +#X obj 28 131 print; +#X msg 86 23 123; +#X msg 86 43 234; +#X msg 86 63 345; +#X obj 28 59 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 30 169 $Id: msg_queue-help.pd 211 2005-12-10 21:10:37Z tim $; +#X connect 0 0 1 0; +#X connect 2 0 0 1; +#X connect 3 0 0 1; +#X connect 4 0 0 1; +#X connect 5 0 0 0; diff --git a/msg_queue.pd b/msg_queue.pd new file mode 100644 index 0000000..13211bd --- /dev/null +++ b/msg_queue.pd @@ -0,0 +1,14 @@ +#N canvas 418 284 306 194 10; +#X obj 18 9 inlet dump; +#X obj 44 29 inlet add; +#X obj 18 72 fifop; +#X obj 18 31 b; +#X text 21 141 $Id: msg_queue.pd 211 2005-12-10 21:10:37Z tim $; +#X obj 18 91 t b a; +#X obj 48 111 outlet; +#X connect 0 0 3 0; +#X connect 1 0 2 0; +#X connect 2 0 5 0; +#X connect 3 0 2 0; +#X connect 5 0 2 0; +#X connect 5 1 6 0; diff --git a/tbEnvify~-help.pd b/tbEnvify~-help.pd index 1893b66..caad1af 100644 --- a/tbEnvify~-help.pd +++ b/tbEnvify~-help.pd @@ -12,9 +12,12 @@ #X msg 214 133 1000 bpe-slide 0 0 1 1 0.2 1 0 1 4000 8000; #X text 344 36 $Id$; #X text 344 17 a simple envelope generator; +#X obj 99 351 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; #X connect 0 0 1 0; #X connect 0 0 2 0; #X connect 0 0 2 1; +#X connect 0 1 12 0; #X connect 3 0 0 1; #X connect 4 0 0 1; #X connect 5 0 0 1; diff --git a/tbEnvify~.pd b/tbEnvify~.pd index 690ac52..fa83ae1 100644 --- a/tbEnvify~.pd +++ b/tbEnvify~.pd @@ -40,9 +40,8 @@ #X connect 16 4 15 0; #X connect 16 5 17 0; #X restore 142 41 pd controls; -#N canvas 515 174 450 300 envelopes 1; +#N canvas 138 140 450 300 envelopes 0; #X obj 170 8 r \$0-triangle; -#X obj 14 27 ./tbEnvify~/triangle \$0; #X obj 142 50 r \$0-sine; #X obj 14 69 ./tbEnvify~/sine \$0; #X obj 163 90 r \$0-hanning; @@ -56,27 +55,31 @@ #X obj 14 159 ./tbEnvify~/bpe \$0; #X obj 14 193 ./tbEnvify~/bpe_rampsmooth \$0; #X obj 14 233 ./tbEnvify~/bpe_slide \$0; -#X connect 0 0 1 1; -#X connect 1 0 7 0; -#X connect 2 0 3 1; -#X connect 3 0 7 0; -#X connect 4 0 5 1; -#X connect 5 0 7 0; -#X connect 6 0 1 0; -#X connect 6 0 3 0; -#X connect 6 0 5 0; -#X connect 6 0 12 0; -#X connect 6 0 13 0; -#X connect 6 0 14 0; +#X obj 14 27 ./tbEnvify~/triangle \$0; +#X connect 0 0 14 1; +#X connect 1 0 2 1; +#X connect 2 0 6 0; +#X connect 3 0 4 1; +#X connect 4 0 6 0; +#X connect 5 0 2 0; +#X connect 5 0 4 0; +#X connect 5 0 11 0; +#X connect 5 0 12 0; +#X connect 5 0 13 0; +#X connect 5 0 14 0; +#X connect 8 0 11 1; #X connect 9 0 12 1; #X connect 10 0 13 1; -#X connect 11 0 14 1; -#X connect 12 0 7 0; -#X connect 13 0 7 0; -#X connect 14 0 7 0; +#X connect 11 0 6 0; +#X connect 12 0 6 0; +#X connect 13 0 6 0; +#X connect 14 0 6 0; #X restore 28 45 pd envelopes; #X obj 142 17 inlet duration_type_volume_(arguments); #X text 31 105 $Id$; +#X obj 252 84 outlet done; +#X obj 252 62 r \$0-done; #X connect 0 0 3 0; #X connect 3 0 1 0; #X connect 4 0 2 0; +#X connect 7 0 6 0; diff --git a/tbEnvify~/bpe.pd b/tbEnvify~/bpe.pd index 321c4bb..bcdae61 100644 --- a/tbEnvify~/bpe.pd +++ b/tbEnvify~/bpe.pd @@ -1,15 +1,21 @@ -#N canvas 365 133 527 148 10; -#X obj 19 59 volctl~ 0 0; -#X obj 204 15 inlet control; -#X obj 269 70 switch~; -#X obj 19 11 inlet~; -#X obj 19 80 outlet~; -#X text 304 14 duration [bp time] * n; -#X obj 204 42 _bpe_stuff; -#X text 21 119 $Id: bpe.pd 195 2005-11-20 01:25:43Z tim $; -#X connect 0 0 4 0; -#X connect 1 0 6 0; -#X connect 3 0 0 0; -#X connect 6 0 0 1; -#X connect 6 1 0 2; -#X connect 6 2 2 0; +#N canvas 365 133 534 216 10; +#X obj 13 5 volctl~ 0 0; +#X obj 198 -39 inlet control; +#X obj 13 -43 inlet~; +#X obj 13 26 outlet~; +#X text 298 -40 duration [bp time] * n; +#X obj 198 -12 _bpe_stuff; +#X text 17 99 $Id: bpe.pd 211 2005-12-10 21:10:37Z tim $; +#X obj 263 75 switch~; +#X obj 263 10 t f f; +#X obj 293 31 sel 0; +#X obj 293 52 s \$1-done; +#X connect 0 0 3 0; +#X connect 1 0 5 0; +#X connect 2 0 0 0; +#X connect 5 0 0 1; +#X connect 5 1 0 2; +#X connect 5 2 8 0; +#X connect 8 0 7 0; +#X connect 8 1 9 0; +#X connect 9 0 10 0; diff --git a/tbEnvify~/bpe_rampsmooth.pd b/tbEnvify~/bpe_rampsmooth.pd index b0d53c4..a0c80ac 100644 --- a/tbEnvify~/bpe_rampsmooth.pd +++ b/tbEnvify~/bpe_rampsmooth.pd @@ -1,6 +1,5 @@ #N canvas 20 105 625 441 10; #X obj 204 15 inlet control; -#X obj 269 332 switch~; #X obj 19 11 inlet~; #X obj 19 379 outlet~; #X text 304 14 duration [bp time] * n; @@ -13,28 +12,38 @@ #X obj 162 131 unpack f f; #X obj 162 193 prepend rampup; #X obj 227 214 prepend rampdown; -#X obj 269 259 sel 1; -#X obj 269 281 1; #X obj 72 262 edge~; #X obj 102 282 0; -#X text 21 407 $Id: bpe_rampsmooth.pd 195 2005-11-20 01:25:43Z tim $; -#X connect 0 0 6 0; -#X connect 2 0 7 0; -#X connect 5 0 8 0; -#X connect 5 1 8 1; -#X connect 5 2 14 0; -#X connect 6 0 5 0; -#X connect 6 1 11 0; -#X connect 7 0 3 0; +#X text 21 407 $Id: bpe_rampsmooth.pd 195 2005-11-20 01:25:43Z tim +$; +#X obj 269 243 sel 1; +#X obj 269 264 1; +#X obj 269 299 pre_switch 10; +#X obj 269 384 switch~; +#X obj 269 319 t f f; +#X obj 299 340 sel 0; +#X obj 299 361 s \$1-done; +#X connect 0 0 5 0; +#X connect 1 0 6 0; +#X connect 4 0 7 0; +#X connect 4 1 7 1; +#X connect 4 2 16 0; +#X connect 5 0 4 0; +#X connect 5 1 10 0; +#X connect 6 0 2 0; +#X connect 7 0 8 0; #X connect 8 0 9 0; -#X connect 9 0 10 0; -#X connect 10 0 7 1; -#X connect 10 0 16 0; -#X connect 11 0 12 0; -#X connect 11 1 13 0; -#X connect 12 0 10 0; -#X connect 13 0 10 0; -#X connect 14 0 15 0; -#X connect 15 0 1 0; -#X connect 16 1 17 0; -#X connect 17 0 1 0; +#X connect 9 0 6 1; +#X connect 9 0 13 0; +#X connect 10 0 11 0; +#X connect 10 1 12 0; +#X connect 11 0 9 0; +#X connect 12 0 9 0; +#X connect 13 1 14 0; +#X connect 14 0 18 0; +#X connect 16 0 17 0; +#X connect 17 0 18 0; +#X connect 18 0 20 0; +#X connect 20 0 19 0; +#X connect 20 1 21 0; +#X connect 21 0 22 0; diff --git a/tbEnvify~/bpe_slide.pd b/tbEnvify~/bpe_slide.pd index 28eb4d6..784bd6d 100644 --- a/tbEnvify~/bpe_slide.pd +++ b/tbEnvify~/bpe_slide.pd @@ -1,6 +1,5 @@ #N canvas 84 183 625 441 10; #X obj 204 15 inlet control; -#X obj 269 332 switch~; #X obj 19 11 inlet~; #X obj 19 379 outlet~; #X text 304 14 duration [bp time] * n; @@ -12,29 +11,38 @@ #X obj 162 124 unpack f f; #X obj 162 152 t f f; #X obj 227 152 t f f; -#X obj 269 252 sel 1; -#X obj 269 273 1; -#X obj 121 271 edge~; +#X obj 269 242 sel 1; +#X obj 269 263 1; +#X obj 121 261 edge~; #X obj 37 231 slide~; -#X obj 151 291 0; -#X text 21 401 $Id: bpe_slide.pd 195 2005-11-20 01:25:43Z tim $; -#X connect 0 0 6 0; -#X connect 2 0 7 0; -#X connect 5 0 8 0; -#X connect 5 1 8 1; -#X connect 5 2 13 0; -#X connect 6 0 5 0; -#X connect 6 1 10 0; -#X connect 7 0 3 0; -#X connect 8 0 9 0; -#X connect 9 0 16 0; -#X connect 10 0 11 0; -#X connect 10 1 12 0; -#X connect 11 0 16 1; -#X connect 12 0 16 2; -#X connect 13 0 14 0; -#X connect 14 0 1 0; -#X connect 15 1 17 0; -#X connect 16 0 7 1; -#X connect 16 0 15 0; -#X connect 17 0 1 0; +#X obj 151 281 0; +#X text 21 417 $Id: bpe_slide.pd 211 2005-12-10 21:10:37Z tim $; +#X obj 269 298 pre_switch 10; +#X obj 269 383 switch~; +#X obj 269 318 t f f; +#X obj 299 339 sel 0; +#X obj 299 360 s \$1-done; +#X connect 0 0 5 0; +#X connect 1 0 6 0; +#X connect 4 0 7 0; +#X connect 4 1 7 1; +#X connect 4 2 12 0; +#X connect 5 0 4 0; +#X connect 5 1 9 0; +#X connect 6 0 2 0; +#X connect 7 0 8 0; +#X connect 8 0 15 0; +#X connect 9 0 10 0; +#X connect 9 1 11 0; +#X connect 10 0 15 1; +#X connect 11 0 15 2; +#X connect 12 0 13 0; +#X connect 13 0 18 0; +#X connect 14 1 16 0; +#X connect 15 0 6 1; +#X connect 15 0 14 0; +#X connect 16 0 18 0; +#X connect 18 0 20 0; +#X connect 20 0 19 0; +#X connect 20 1 21 0; +#X connect 21 0 22 0; diff --git a/tbEnvify~/hanning.pd b/tbEnvify~/hanning.pd index b6c8c9f..38dd622 100644 --- a/tbEnvify~/hanning.pd +++ b/tbEnvify~/hanning.pd @@ -5,7 +5,6 @@ #X obj 177 65 unpack f f f; #X obj 19 378 *~ 0; #X obj 20 359 *~; -#X obj 323 339 switch~; #X obj 365 268 1; #X obj 323 226 delay; #X obj 323 247 0; @@ -21,28 +20,35 @@ #X obj 19 11 inlet~; #X obj 19 399 outlet~; #X obj 55 268 _env_lookup~ 0.5; -#X text 21 425 $Id: hanning.pd 195 2005-11-20 01:25:43Z tim $; +#X text 21 433 $Id: hanning.pd 211 2005-12-10 21:10:37Z tim $; +#X obj 323 379 switch~; +#X obj 323 314 t f f; +#X obj 353 335 sel 0; +#X obj 353 356 s \$1-done; #X connect 0 0 1 0; #X connect 1 0 3 0; -#X connect 1 1 11 0; -#X connect 3 0 16 0; -#X connect 3 1 15 0; -#X connect 3 2 21 1; -#X connect 4 0 20 0; +#X connect 1 1 10 0; +#X connect 3 0 15 0; +#X connect 3 1 14 0; +#X connect 3 2 20 1; +#X connect 4 0 19 0; #X connect 5 0 4 0; -#X connect 7 0 13 0; -#X connect 8 0 9 0; -#X connect 9 0 13 0; -#X connect 10 0 8 0; +#X connect 6 0 12 0; +#X connect 7 0 8 0; +#X connect 8 0 12 0; +#X connect 9 0 7 0; +#X connect 10 0 6 0; +#X connect 10 1 11 0; #X connect 11 0 7 0; -#X connect 11 1 12 0; -#X connect 12 0 8 0; -#X connect 13 0 6 0; -#X connect 14 0 5 1; -#X connect 15 0 4 1; -#X connect 16 0 21 0; -#X connect 16 1 10 0; -#X connect 17 0 18 0; -#X connect 18 0 14 0; -#X connect 19 0 5 0; -#X connect 21 0 17 0; +#X connect 12 0 23 0; +#X connect 13 0 5 1; +#X connect 14 0 4 1; +#X connect 15 0 20 0; +#X connect 15 1 9 0; +#X connect 16 0 17 0; +#X connect 17 0 13 0; +#X connect 18 0 5 0; +#X connect 20 0 16 0; +#X connect 23 0 22 0; +#X connect 23 1 24 0; +#X connect 24 0 25 0; diff --git a/tbEnvify~/sine.pd b/tbEnvify~/sine.pd index abc725a..71168a5 100644 --- a/tbEnvify~/sine.pd +++ b/tbEnvify~/sine.pd @@ -6,7 +6,6 @@ #X obj 55 288 sinx~; #X obj 19 338 *~ 0; #X obj 20 315 *~; -#X obj 323 339 switch~; #X obj 365 268 1; #X obj 323 226 delay; #X obj 323 247 0; @@ -18,25 +17,32 @@ #X obj 177 92 t f f; #X obj 19 11 inlet~; #X obj 19 359 outlet~; -#X text 19 385 $Id: sine.pd 195 2005-11-20 01:25:43Z tim $; +#X text 19 405 $Id: sine.pd 211 2005-12-10 21:10:37Z tim $; +#X obj 323 375 switch~; +#X obj 323 310 t f f; +#X obj 353 331 sel 0; +#X obj 353 352 s \$1-done; #X connect 0 0 1 0; #X connect 1 0 3 0; -#X connect 1 1 12 0; -#X connect 3 0 16 0; +#X connect 1 1 11 0; +#X connect 3 0 15 0; #X connect 3 1 5 1; -#X connect 3 2 15 1; +#X connect 3 2 14 1; #X connect 4 0 6 1; -#X connect 5 0 18 0; +#X connect 5 0 17 0; #X connect 6 0 5 0; -#X connect 8 0 14 0; -#X connect 9 0 10 0; -#X connect 10 0 14 0; -#X connect 11 0 9 0; +#X connect 7 0 13 0; +#X connect 8 0 9 0; +#X connect 9 0 13 0; +#X connect 10 0 8 0; +#X connect 11 0 7 0; +#X connect 11 1 12 0; #X connect 12 0 8 0; -#X connect 12 1 13 0; -#X connect 13 0 9 0; -#X connect 14 0 7 0; -#X connect 15 0 4 0; -#X connect 16 0 15 0; -#X connect 16 1 11 0; -#X connect 17 0 6 0; +#X connect 13 0 20 0; +#X connect 14 0 4 0; +#X connect 15 0 14 0; +#X connect 15 1 10 0; +#X connect 16 0 6 0; +#X connect 20 0 19 0; +#X connect 20 1 21 0; +#X connect 21 0 22 0; diff --git a/tbEnvify~/triangle.pd b/tbEnvify~/triangle.pd index b302a27..90405d1 100644 --- a/tbEnvify~/triangle.pd +++ b/tbEnvify~/triangle.pd @@ -1,9 +1,9 @@ #N canvas 569 176 587 435 10; #X obj 19 292 volctl~ 0 0; #X obj 177 15 inlet control; -#X obj 413 339 switch~; +#X obj 413 369 switch~; #X obj 177 40 t a b; -#X obj 455 268 1; +#X obj 455 258 1; #X obj 413 226 delay; #X obj 413 247 0; #X obj 177 120 *; @@ -21,10 +21,13 @@ #X obj 413 204 + 10; #X obj 455 138 t b b; #X obj 485 159 zl reg stop; -#X obj 413 290 pre_switch 10; +#X obj 413 280 pre_switch 10; #X obj 19 11 inlet~; #X obj 19 313 outlet~; -#X text 23 391 $Id: triangle.pd 195 2005-11-20 01:25:43Z tim $; +#X text 23 391 $Id: triangle.pd 211 2005-12-10 21:10:37Z tim $; +#X obj 413 304 t f f; +#X obj 443 325 sel 0; +#X obj 443 346 s \$1-done; #X connect 0 0 24 0; #X connect 1 0 3 0; #X connect 3 0 17 0; @@ -55,5 +58,8 @@ #X connect 20 0 4 0; #X connect 20 1 21 0; #X connect 21 0 5 0; -#X connect 22 0 2 0; +#X connect 22 0 26 0; #X connect 23 0 0 0; +#X connect 26 0 2 0; +#X connect 26 1 27 0; +#X connect 27 0 28 0; |