-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzirk_output_hrtf-help.pd
109 lines (109 loc) · 3.06 KB
/
zirk_output_hrtf-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
99
100
101
102
103
104
105
106
107
108
109
#N canvas 619 67 680 383 10;
#X obj 346 337 zirk_hrtf;
#X obj 346 109 osc~ 440;
#X obj 346 136 *~ 0.1;
#X floatatom 122 82 5 -100 12 0 dB - -;
#X floatatom 51 82 5 0 1 0 rms - -;
#X text 169 106 gain;
#X msg 122 106 db \$1;
#X text 114 62 -100 - +12;
#X text 52 61 0 - 1;
#X text 19 17 stereo HRTF hardware output channels \, wraps [dac~]
;
#X obj 51 238 zirk_output_hrtf;
#X text 343 66 send using zirk_hrtf:;
#X obj 416 245 pack 0 0 0;
#X obj 438 215 t b f;
#X obj 480 215 t b f;
#X obj 419 157 hsl 64 15 -1 1 0 0 empty empty x -12 7 0 10 -262144
-1 -1 0 1;
#X obj 441 175 hsl 64 15 -1 1 0 0 empty empty y -12 7 0 10 -262144
-1 -1 0 1;
#X obj 455 193 hsl 64 15 -1 1 0 0 empty empty z -12 7 0 10 -262144
-1 -1 0 1;
#X text 410 135 cartesian spherical pos -1 to 1;
#X text 492 155 -1 left \, 1 right;
#X text 516 174 -1 back \, 1 front;
#X text 527 192 -1 bottom \, 1 top;
#X obj 485 278 loadbang;
#X msg 485 306 on 1;
#X obj 51 271 route 1 2;
#X obj 51 300 vsl 15 48 -100 12 0 0 empty empty empty 0 -9 0 10 -262144
-1 -1 0 1;
#X obj 76 300 vsl 15 48 -100 12 0 0 empty empty empty 0 -9 0 10 -262144
-1 -1 0 1;
#X text 104 314 output levels in db;
#X msg 215 123 report level \$1;
#X obj 215 98 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#N canvas 697 80 323 348 recording 0;
#X obj 35 243 outlet;
#X obj 35 215 list trim;
#X obj 35 85 savepanel;
#X obj 35 57 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 31 283 this is a wrapper for writesf~;
#X obj 34 308 writesf~;
#X text 185 149 <-- then record;
#X obj 35 190 list prepend record;
#X text 95 309 <- see help for messaging;
#X text 78 56 <-- open file first;
#X msg 72 150 start;
#X msg 137 150 stop;
#X msg 35 116 open -bytes 3 \$1;
#X text 31 19 record hrtf audio to a stereo soundfile;
#X text 151 116 24 bit;
#X connect 1 0 0 0;
#X connect 2 0 12 0;
#X connect 3 0 2 0;
#X connect 7 0 1 0;
#X connect 10 0 7 0;
#X connect 11 0 7 0;
#X connect 12 0 7 0;
#X restore 227 162 pd recording;
#N canvas 0 23 324 290 set 0;
#X obj 43 257 outlet;
#X msg 43 117 output 1 \$1;
#X obj 43 50 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X obj 43 72 + 1;
#X obj 122 153 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X obj 122 175 + 1;
#X floatatom 43 95 5 0 0 0 - - -;
#X floatatom 122 198 5 0 0 0 - - -;
#X text 124 80 left output;
#X text 210 183 right output;
#X msg 122 220 output 2 \$1;
#X text 26 14 set HRTF output channels \, default 1 & 2;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 4 0 5 0;
#X connect 5 0 7 0;
#X connect 6 0 1 0;
#X connect 7 0 10 0;
#X connect 10 0 0 0;
#X restore 238 195 pd set outputs;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 3 0 6 0;
#X connect 4 0 10 0;
#X connect 6 0 10 0;
#X connect 10 0 24 0;
#X connect 12 0 0 1;
#X connect 13 0 12 0;
#X connect 13 1 12 1;
#X connect 14 0 12 0;
#X connect 14 1 12 2;
#X connect 15 0 12 0;
#X connect 16 0 13 0;
#X connect 17 0 14 0;
#X connect 22 0 23 0;
#X connect 23 0 0 2;
#X connect 24 0 25 0;
#X connect 24 1 26 0;
#X connect 28 0 10 0;
#X connect 29 0 28 0;
#X connect 30 0 10 0;
#X connect 31 0 10 0;