diff options
Diffstat (limited to 'aconnect-help.pd')
-rw-r--r-- | aconnect-help.pd | 56 |
1 files changed, 42 insertions, 14 deletions
diff --git a/aconnect-help.pd b/aconnect-help.pd index 0262925..0b02dd2 100644 --- a/aconnect-help.pd +++ b/aconnect-help.pd @@ -1,4 +1,4 @@ -#N canvas 83 42 744 737 10; +#N canvas 211 47 891 733 10; #X obj 145 275 aconnect; #X text 51 10 aconnect:: ALSA sequencer connection manager; #X text 70 43 allows you to (dis)connect different alsa-sequencer clients @@ -24,15 +24,13 @@ the clients; #X floatatom 452 446 3 0 0 1 dest# - -; #X floatatom 483 426 3 0 0 1 destport# - -; #X obj 390 355 t l l; -#X text 389 249 disconnect output of client#0:port#0 to input of client#72:port#1 -; #X msg 244 223 connect 74 0 72 0; #X text 371 213 connect output of client#74:port#0 to input of client#72:port#0 ; -#X obj 146 669 aconnect; -#X msg 146 644 bang; -#X msg 209 669 disconnect \$1 \$2 \$3 \$4; -#X text 188 643 disconnect all; +#X obj 502 563 aconnect; +#X msg 502 538 bang; +#X msg 568 564 disconnect \$1 \$2 \$3 \$4; +#X text 544 537 disconnect all; #N canvas 0 0 829 380 return 0; #X msg 78 163 sucess; #X obj 78 185 print retval; @@ -55,9 +53,38 @@ the clients; #X connect 9 0 1 0; #X connect 10 0 1 0; #X restore 196 297 pd return value; -#X msg 244 251 disconnect 0 0 72 1; +#N canvas 0 0 299 212 pipe 0; +#X obj 83 36 inlet; +#X obj 83 140 outlet; +#X obj 83 64 unpack 0 0 0 0; +#X obj 83 104 pack 0 0 0 0; +#X obj 83 84 pipe 0 0 0 0 0; +#X connect 0 0 2 0; +#X connect 2 0 4 0; +#X connect 2 1 4 1; +#X connect 2 2 4 2; +#X connect 2 3 4 3; +#X connect 3 0 1 0; +#X connect 4 0 3 0; +#X connect 4 1 3 1; +#X connect 4 2 3 2; +#X connect 4 3 3 3; +#X restore 502 586 pd pipe; +#X text 459 608 note: we need to detach the "disconnect" message from +querying the connections \, in order to be able to disconnect all listeners +from a sender with multiple listeners. this might change in future +versions; +#X text 532 12 updated for aconnect-0.3; +#X msg 244 251 disconnect 64 0 72 1; +#X text 393 248 disconnect output of client#64:port#0 to input of client#72:port#1 +; +#X text 51 655 insitute for electronic music and acoustics \, iem; +#X text 52 669 university of music and dramatic arts \, graz \, aut +; +#X text 50 621 copyleft (c) 2005 IOhannes m zmoelnig; +#X text 52 637 published under the GnuGPL v2.0; #X connect 0 0 5 0; -#X connect 0 1 30 0; +#X connect 0 1 29 0; #X connect 4 0 0 0; #X connect 5 0 6 0; #X connect 5 0 9 0; @@ -74,8 +101,9 @@ the clients; #X connect 17 3 21 0; #X connect 22 0 17 0; #X connect 22 1 16 0; -#X connect 24 0 0 0; -#X connect 26 0 28 0; -#X connect 27 0 26 0; -#X connect 28 0 26 0; -#X connect 31 0 0 0; +#X connect 23 0 0 0; +#X connect 25 0 30 0; +#X connect 26 0 25 0; +#X connect 27 0 25 0; +#X connect 30 0 27 0; +#X connect 33 0 0 0; |