aboutsummaryrefslogtreecommitdiff
path: root/hdspmmixer-help.pd
blob: c04780ff9aa7846efd2f26e409c3a531216b764c (plain)
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
#N canvas 304 350 706 491 10;
#X text 30 13 hdspmmixer - control hdspm cards.;
#X obj 37 354 hdspmmixer;
#X obj 31 41 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 56 40 find;
#X text 100 38 Find cards;
#X text 210 71 get fader of card 0 from input 1 to output 1;
#X floatatom 125 207 5 0 0 0 - - -;
#X floatatom 37 379 9 0 0 0 - - -;
#X text 151 342 Value: 0 (mute) ... 32768 (unity gain 1) ..... 65535
(max);
#X text 263 205 set fader value (see below) of card 0 from input 1
to output 1;
#X text 298 12 (c) Winfried ritsch 2006 - IEM \, Institute of Electronic
Music and Acoustics \, Graz;
#X text 154 292 idx ... devicenr;
#X text 152 308 src ... inputs 0...63 \, playback (dac) 64..127;
#X text 150 323 dst ... outputs 0...63;
#X text 230 257 set <idx> <src> <dst> <value>;
#X text 181 97 get <idx> <src> <dst>;
#X text 39 397 value;
#X text 126 365 SUCCESS and ERROR;
#N canvas 0 0 527 329 sucess_and_error 0;
#X obj 29 24 inlet;
#X obj 27 256 print ERROR;
#X msg 27 111 Wrong Index;
#X msg 53 133 ALSA Open ctl interface;
#X msg 79 158 ALSA WRITE Control;
#X msg 109 181 ALSA READ Control;
#X msg 135 206 NO Card Found;
#X msg 178 226 unkown Error \$1;
#X obj 27 85 route -1 -2 -3 -4 -5;
#X obj 27 53 moses 0;
#X msg 294 91 found \$1 cards;
#X obj 294 116 print SUCCESS:;
#X text 107 29 Return of methods:;
#X connect 0 0 9 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 1 0;
#X connect 7 0 1 0;
#X connect 8 0 2 0;
#X connect 8 1 3 0;
#X connect 8 2 4 0;
#X connect 8 3 5 0;
#X connect 8 4 6 0;
#X connect 8 5 7 0;
#X connect 9 0 8 0;
#X connect 9 1 10 0;
#X connect 10 0 11 0;
#X restore 121 381 pd sucess_and_error;
#X floatatom 166 208 5 0 0 0 - - -;
#X floatatom 83 207 5 0 0 0 - - -;
#X floatatom 126 71 5 0 0 0 - - -;
#X obj 94 97 pack 0 1 1;
#X floatatom 167 72 5 0 0 0 - - -;
#X floatatom 84 71 5 0 0 0 - - -;
#X msg 96 123 get \$1 \$2 \$3;
#X obj 93 233 pack 0 1 1 0;
#X msg 94 262 set \$1 \$2 \$3 \$4;
#X floatatom 214 208 5 0 0 0 - - -;
#X obj 68 233 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 74 103 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X connect 1 0 7 0;
#X connect 1 1 18 0;
#X connect 2 0 1 0;
#X connect 3 0 1 0;
#X connect 6 0 26 1;
#X connect 19 0 26 2;
#X connect 20 0 26 0;
#X connect 21 0 22 1;
#X connect 22 0 25 0;
#X connect 23 0 22 2;
#X connect 24 0 22 0;
#X connect 25 0 1 0;
#X connect 26 0 27 0;
#X connect 27 0 1 0;
#X connect 28 0 26 3;
#X connect 29 0 26 0;
#X connect 30 0 22 0;