-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjackpatch-help.pd
98 lines (98 loc) · 3.16 KB
/
jackpatch-help.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#N canvas -10 26 603 431 10;
#N canvas 51 246 426 177 META 0;
#X text 12 5 KEYWORDS control jack;
#X text 12 25 LICENSE GPL v2;
#X text 12 45 DESCRIPTION manage Jack connections;
#X text 12 85 INLET_0 aynthing;
#X text 12 105 OUTLET_0 anything;
#X text 12 65 WEBSITE http://github.com/pd-externals/jackpatch;
#X text 12 125 AUTHOR Roman Haefeli;
#X text 12 145 RELEASE_DATE 2022;
#X restore 537 406 pd META;
#X msg 359 159 get_inputs;
#X msg 36 116 query pure_data output_1 system playback_1;
#X msg 331 68 get_outputs .* .*;
#X msg 338 91 get_outputs system .*;
#X msg 344 113 get_inputs pure_data input_.*;
#X msg 367 181 get_connections system playback_2;
#X msg 374 204 get_connections pure_data output_1;
#X text 197 407 based on jackx by Gerard van Dongen released in 2003;
#X obj 1 1 cnv 18 600 36 empty empty empty 20 12 0 10 #e0e0e0 #404040 0;
#X text 6 4 jackpatch - query JACK audio server for available clients and ports and manage connections;
#N canvas 311 194 504 345 examples 0;
#X obj 24 114 route output;
#X obj 24 137 list;
#X msg 24 184 get_connections \$1 \$2;
#X obj 24 160 t a a, f 15;
#X obj 24 253 list prepend, f 15;
#X msg 24 65 get_outputs;
#X msg 24 279 \$1:\$2 -> \$3:\$4;
#X obj 24 305 print all_connections;
#X obj 24 230 route input;
#X text 24 24 get all connections;
#X text 210 29 get all connections (reversed);
#X obj 214 137 list;
#X msg 214 184 get_connections \$1 \$2;
#X obj 214 160 t a a, f 15;
#X obj 214 253 list prepend, f 15;
#X obj 214 305 print all_connections;
#X msg 214 65 get_inputs;
#X obj 214 114 route input;
#X obj 214 230 route output;
#X msg 214 279 \$1:\$2 <- \$3:\$4;
#X obj 24 91 jackpatch;
#X obj 24 207 jackpatch;
#X obj 214 91 jackpatch;
#X obj 214 207 jackpatch;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 2 0 21 0;
#X connect 3 0 2 0;
#X connect 3 1 4 1;
#X connect 4 0 6 0;
#X connect 5 0 20 0;
#X connect 6 0 7 0;
#X connect 8 0 4 0;
#X connect 11 0 13 0;
#X connect 12 0 23 0;
#X connect 13 0 12 0;
#X connect 13 1 14 1;
#X connect 14 0 19 0;
#X connect 16 0 22 0;
#X connect 17 0 11 0;
#X connect 18 0 14 0;
#X connect 19 0 15 0;
#X connect 20 0 0 0;
#X connect 21 0 8 0;
#X connect 22 0 17 0;
#X connect 23 0 18 0;
#X restore 329 361 pd examples;
#X msg 351 136 get_outputs;
#X text 425 137 args are optional;
#X text 431 158 args are optional;
#X msg 17 201 get_clients;
#X text 18 262 'get_outputs' and 'get_inputs' expect two regex expressions \, one for matching client name \, the second for matching the port name. If one or both are ommitted \, the '.*' expression is implied.;
#X msg 17 66 connect pure_data output_1 system playback_1;
#X msg 26 90 disconnect pure_data output_1 system playback_1;
#X msg 105 201 is_running;
#X text 172 200 <- server?;
#X obj 17 163 s \$0.to-jackpatch;
#X obj 17 228 s \$0.to-jackpatch;
#X obj 331 229 s \$0.to-jackpatch;
#X obj 17 348 r \$0.to-jackpatch;
#X obj 17 377 jackpatch;
#X obj 17 405 print jackpatch;
#X connect 1 0 23 0;
#X connect 2 0 21 0;
#X connect 3 0 23 0;
#X connect 4 0 23 0;
#X connect 5 0 23 0;
#X connect 6 0 23 0;
#X connect 7 0 23 0;
#X connect 12 0 23 0;
#X connect 15 0 22 0;
#X connect 17 0 21 0;
#X connect 18 0 21 0;
#X connect 19 0 22 0;
#X connect 24 0 25 0;
#X connect 25 0 26 0;