Debian Codegraph @

src/Examples/McCurdy Collection/3DAudio/hrtfer_hrtfmove_hrtfmove2_hrftstat.csd

raw
1 ;Written by Iain McCurdy, 2006
2
3 ;Modified for QuteCsound by René, September 2010, updated Feb 2011
4 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 815
5
6 ; This csd use the files HRTFcompact, hrtf-44100-left.dat and hrtf-44100-right.dat, use the macro PATH_HRTF to define the path of these files.
7
8 ;Notes on modifications from original csd
9 ; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files
10 ; I don't know why when i start instrument 2 (hrtfer) for the second time, i have a too high amplitude.
11
12
13 ;my flags on Ubuntu -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
14 <CsoundSynthesizer>
15 <CsOptions>
16 --env:SSDIR+=../../SourceMaterials
17 </CsOptions>
18 <CsInstruments>
19 sr = 44100 ;SAMPLE RATE
20 ksmps = 64 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
21 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
22 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
23
24
25 #define PATH_HRTF #../../SourceMaterials#
26
27
28 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
29 ;gives stereo output regardless your soundfile is mono or stereo
30 Sfil, kspeed, iskip, iloop xin
31 ichn filenchnls Sfil
32 if ichn == 1 then
33 aL diskin2 Sfil, kspeed, iskip, iloop
34 aR = aL
35 else
36 aL, aR diskin2 Sfil, kspeed, iskip, iloop
37 endif
38 xout aL, aR
39 endop
40
41 instr 10 ;GUI
42 ktrig metro 10
43 if (ktrig == 1) then
44 gkOnOff invalue "On_Off"
45 ktrigOn trigger gkOnOff, 0.5, 0
46 schedkwhen ktrigOn, 0, 0, 1, 0, -1 ;start instr 1
47 ktrigOff trigger gkOnOff, 0.5, 1
48 schedkwhen ktrigOff, 0, 0, -1, 0, 1 ;stop instr 1
49
50 gkopcode invalue "Opcode"
51 gkinput invalue "Input"
52 gkAz invalue "Az"
53 gkElev invalue "Elev"
54 gkmode invalue "Mode"
55 gkfade invalue "Fade"
56 gkoverlap invalue "Overlap"
57 gkoverlap = int(gkoverlap)
58 outvalue "Overlap_value", gkoverlap
59 gkradius invalue "Radius"
60 gkradius_stat invalue "Radius_stat"
61 endif
62 endin
63
64 instr 1 ;CONTROL INSTRUMENT
65 if gkinput = 0 then ;IF INPUT SELECTOR IS ON 'File Input'...
66 Sfile invalue "_Browse1"
67 gasrc, asigR FilePlay2 Sfile, 1,0,1 ;READ AUDIO FILE FROM DISK (RIGHT CHANNEL WILL BE IGNORED)
68 elseif gkinput = 1 then ;OR IF INPUT SELECTER IS ON 'LIVE INPUT'
69 gasrc inch 1 ;READ LIVE AUDIO FROM THE COMPUTER'S FIRST (LEFT) AUDIO INPUT
70 endif ;END OF CONDITIONAL BRANCHING
71 if gkopcode = 0 then ;IF OPCODE SELECTER IS ON 'hrtfer'...
72 ;SCHEDKWHEN KTRIGGER, KMINTIM, KMAXNUM, KINSNUM, KWHEN, KDUR
73 schedkwhen 1, 0, 1, 2, 0, -1 ;START INSTRUMENT 2 (hrtfer)
74 endif ;END OF CONDITIONAL BRANCHING
75 if gkopcode = 1 then ;IF OPCODE SELECTER IS ON 'hrtfmove'...
76 ;SCHEDKWHEN KTRIGGER, KMINTIM, KMAXNUM, KINSNUM, KWHEN, KDUR
77 schedkwhen 1, 0, 1, 3, 0, -1 ;START INSTRUMENT 3 (hrtfmove)
78 endif ;END OF CONDITIONAL BRANCHING
79 if gkopcode = 2 then ;IF OPCODE SELECTER IS ON 'hrtfmove2'...
80 ;SCHEDKWHEN KTRIGGER, KMINTIM, KMAXNUM, KINSNUM, KWHEN, KDUR
81 schedkwhen 1, 0, 1, 4, 0, -1 ;START INSTRUMENT 4 (hrtfmove2)
82 endif ;END OF CONDITIONAL BRANCHING
83 if gkopcode = 3 then ;IF OPCODE SELECTER IS ON 'hrtfstat'...
84 ;SCHEDKWHEN KTRIGGER, KMINTIM, KMAXNUM, KINSNUM, KWHEN, KDUR
85 schedkwhen 1, 0, 1, 5, 0, -1 ;START INSTRUMENT 5 (hrtfstat)
86 endif ;END OF CONDITIONAL BRANCHING
87 endin
88
89 instr 2 ;hrtfer
90 ; SENSE GUI ON/OFF SWITCH
91 if gkOnOff = 0 then ;IF ON/OFF SELECTER IS OFF
92 turnoff ;TURN THIS INSTRUMENT OFF IMMEDIATELY
93 endif ;END OF CONDITIONAL BRANCHING
94 if gkopcode != 0 then ;IF OPCODE SELECTER IS NOT ON 'hrtfer'...
95 turnoff ;TURN THIS INSTRUMENT OFF IMMEDIATELY
96 endif ;END OF CONDITIONAL BRANCHING
97
98 aleft, aright hrtfer gasrc, gkAz, gkElev, "$PATH_HRTF/HRTFcompact" ;APPLY hrtfer OPCODE TO AUDIO SOURCE FROM INSTR 1
99 outs aleft*100, aright*100 ;SEND TO AUDIO OUTPUTS AND BOOST
100 endin
101
102 instr 3 ;hrtfmove
103 if gkOnOff = 0 then ;IF ON/OFF SELECTER IS OFF
104 turnoff ;TURN THIS INSTRUMENT OFF IMMEDIATELY
105 endif ;END OF CONDITIONAL BRANCHING
106 if gkopcode != 1 then ;IF OPCODE SELECTER IS NOT ON 'hrtfmove'...
107 turnoff ;TURN THIS INSTRUMENT OFF IMMEDIATELY
108 endif ;END OF CONDITIONAL BRANCHING
109 ktrigger changed gkmode, gkfade ;IF gkmode OR gkfade CHANGE OUTPUT (ktrigger) A MOMENTARY 1 VALUE
110 if ktrigger = 1 then ;IF ktrigger IS 1
111 reinit UPDATE ;BEGIN A RE-INITIALIZATION PASS FROM LABEL 'UPDATE'
112 endif ;END OF CONDITIONAL BRANCHING
113 UPDATE: ;LABEL 'UPDATE'
114 aleft, aright hrtfmove gasrc, gkAz, gkElev, "$PATH_HRTF/hrtf-44100-left.dat","$PATH_HRTF/hrtf-44100-right.dat", i(gkmode), i(gkfade), sr ;APPLY hrtfmove OPCODE TO AUDIO SOURCE FROM INSTR 1
115 rireturn ;END OF RE-INITIALIZATION PASS - RETURN TO PERFORMANCE TIME
116 outs aleft, aright ;SEND AUDIO TO OUTPUTS
117 endin
118
119 instr 4 ;hrtfmove2
120 if gkOnOff = 0 then ;IF ON/OFF SELECTER IS OFF
121 turnoff ;TURN THIS INSTRUMENT OFF IMMEDIATELY
122 endif ;END OF CONDITIONAL BRANCHING
123 if gkopcode != 2 then ;IF OPCODE SELECTER IS NOT ON 'hrtfmove2'...
124 turnoff ;TURN THIS INSTRUMENT OFF IMMEDIATELY
125 endif ;END OF CONDITIONAL BRANCHING
126
127 ktrigger changed gkoverlap, gkradius ;IF gkmode OR gkfade CHANGE OUTPUT (ktrigger) A MOMENTARY 1 VALUE
128 if ktrigger = 1 then ;IF ktrigger IS 1
129 reinit UPDATE ;BEGIN A RE-INITIALIZATION PASS FROM LABEL 'UPDATE'
130 endif ;END OF CONDITIONAL BRANCHING
131 UPDATE: ;LABEL 'UPDATE'
132 aleft, aright hrtfmove2 gasrc, gkAz, gkElev, "$PATH_HRTF/hrtf-44100-left.dat","$PATH_HRTF/hrtf-44100-right.dat", i(gkoverlap), i(gkradius), sr ;APPLY hrtfmove2 OPCODE TO AUDIO SOURCE FROM INSTR 1
133 rireturn
134 outs aleft, aright ;SEND AUDIO TO OUTPUTS
135 endin
136
137 instr 5 ;hrtfstat
138 if gkOnOff = 0 then ;IF ON/OFF SELECTER IS OFF
139 turnoff ;TURN THIS INSTRUMENT OFF IMMEDIATELY
140 endif ;END OF CONDITIONAL BRANCHING
141 if gkopcode != 3 then ;IF OPCODE SELECTER IS NOT ON 'hrtfstat'...
142 turnoff ;TURN THIS INSTRUMENT OFF IMMEDIATELY
143 endif ;END OF CONDITIONAL BRANCHING
144 ktrigger changed gkAz, gkElev, gkradius_stat ;IF gkAz OR gkElev CHANGE OUTPUT (ktrigger) A MOMENTARY 1 VALUE
145 if ktrigger = 1 then ;IF ktrigger=1, i.e. gkAz OR gkElev ARE CHANGED...
146 reinit UPDATE ;BEGIN A REINITIALIZATION PASS FROM LABEL 'UPDATE'
147 endif ;END OF CONDITIONAL BRANCHING
148 UPDATE: ;BEGIN A RE-INITIALIZATION PASS FROM LABEL 'UPDATE'
149 aleft, aright hrtfstat gasrc, i(gkAz), i(gkElev), "$PATH_HRTF/hrtf-44100-left.dat","$PATH_HRTF/hrtf-44100-right.dat", i(gkradius_stat), sr ;APPLY hrtfmove2 OPCODE TO AUDIO SOURCE FROM INSTR 1
150 rireturn ;END OF RE-INITIALIZATION PASS - RETURN TO PERFORMANCE TIME
151 outs aleft, aright ;SEND AUDIO TO OUTPUTS
152 endin
153 </CsInstruments>
154 <CsScore>
155 i 10 0 3600
156 </CsScore>
157 </CsoundSynthesizer>
158 <bsbPanel>
159 <label>Widgets</label>
160 <objectName/>
161 <x>76</x>
162 <y>105</y>
163 <width>802</width>
164 <height>657</height>
165 <visible>true</visible>
166 <uuid/>
167 <bgcolor mode="background">
168 <r>241</r>
169 <g>226</g>
170 <b>185</b>
171 </bgcolor>
172 <bsbObject version="2" type="BSBLabel">
173 <objectName/>
174 <x>2</x>
175 <y>2</y>
176 <width>455</width>
177 <height>390</height>
178 <uuid>{9c04b1a4-d4b1-41e8-82d1-cebae3b4d95c}</uuid>
179 <visible>true</visible>
180 <midichan>0</midichan>
181 <midicc>0</midicc>
182 <label>hrtfer/hrtfmove/hrtfmove2/hrtfstat</label>
183 <alignment>center</alignment>
184 <font>Liberation Sans</font>
185 <fontsize>18</fontsize>
186 <precision>3</precision>
187 <color>
188 <r>0</r>
189 <g>0</g>
190 <b>0</b>
191 </color>
192 <bgcolor mode="background">
193 <r>244</r>
194 <g>248</g>
195 <b>200</b>
196 </bgcolor>
197 <bordermode>border</bordermode>
198 <borderradius>10</borderradius>
199 <borderwidth>1</borderwidth>
200 </bsbObject>
201 <bsbObject version="2" type="BSBButton">
202 <objectName>On_Off</objectName>
203 <x>15</x>
204 <y>47</y>
205 <width>110</width>
206 <height>30</height>
207 <uuid>{36fd663c-a4e5-447e-b28c-bc7858481b27}</uuid>
208 <visible>true</visible>
209 <midichan>0</midichan>
210 <midicc>0</midicc>
211 <type>value</type>
212 <pressedValue>1.00000000</pressedValue>
213 <stringvalue/>
214 <text> On / Off</text>
215 <image>/</image>
216 <eventLine/>
217 <latch>true</latch>
218 <latched>true</latched>
219 </bsbObject>
220 <bsbObject version="2" type="BSBDisplay">
221 <objectName>Az</objectName>
222 <x>356</x>
223 <y>354</y>
224 <width>50</width>
225 <height>25</height>
226 <uuid>{3595a6f9-0669-40d5-ba73-3c96bc3915ee}</uuid>
227 <visible>true</visible>
228 <midichan>0</midichan>
229 <midicc>0</midicc>
230 <label>-24.000</label>
231 <alignment>left</alignment>
232 <font>Arial</font>
233 <fontsize>9</fontsize>
234 <precision>3</precision>
235 <color>
236 <r>0</r>
237 <g>0</g>
238 <b>0</b>
239 </color>
240 <bgcolor mode="background">
241 <r>255</r>
242 <g>255</g>
243 <b>255</b>
244 </bgcolor>
245 <bordermode>border</bordermode>
246 <borderradius>1</borderradius>
247 <borderwidth>1</borderwidth>
248 </bsbObject>
249 <bsbObject version="2" type="BSBDisplay">
250 <objectName>Elev</objectName>
251 <x>90</x>
252 <y>252</y>
253 <width>50</width>
254 <height>25</height>
255 <uuid>{a76e1ae7-0d83-490c-b569-025ad7e01ad1}</uuid>
256 <visible>true</visible>
257 <midichan>0</midichan>
258 <midicc>0</midicc>
259 <label>-7.500</label>
260 <alignment>left</alignment>
261 <font>Arial</font>
262 <fontsize>9</fontsize>
263 <precision>3</precision>
264 <color>
265 <r>0</r>
266 <g>0</g>
267 <b>0</b>
268 </color>
269 <bgcolor mode="background">
270 <r>255</r>
271 <g>255</g>
272 <b>255</b>
273 </bgcolor>
274 <bordermode>border</bordermode>
275 <borderradius>1</borderradius>
276 <borderwidth>1</borderwidth>
277 </bsbObject>
278 <bsbObject version="2" type="BSBController">
279 <objectName>Az</objectName>
280 <x>152</x>
281 <y>47</y>
282 <width>300</width>
283 <height>300</height>
284 <uuid>{9c6f10b1-e69e-4466-bca7-ad030a1590f0}</uuid>
285 <visible>true</visible>
286 <midichan>0</midichan>
287 <midicc>0</midicc>
288 <objectName2>Elev</objectName2>
289 <xMin>-360.00000000</xMin>
290 <xMax>360.00000000</xMax>
291 <yMin>-40.00000000</yMin>
292 <yMax>90.00000000</yMax>
293 <xValue>-24.00000000</xValue>
294 <yValue>-7.50000000</yValue>
295 <type>crosshair</type>
296 <pointsize>1</pointsize>
297 <fadeSpeed>0.00000000</fadeSpeed>
298 <mouseControl act="press">jump</mouseControl>
299 <color>
300 <r>0</r>
301 <g>234</g>
302 <b>0</b>
303 </color>
304 <randomizable mode="both" group="0">false</randomizable>
305 <bgcolor>
306 <r>0</r>
307 <g>0</g>
308 <b>0</b>
309 </bgcolor>
310 </bsbObject>
311 <bsbObject version="2" type="BSBDropdown">
312 <objectName>Input</objectName>
313 <x>15</x>
314 <y>117</y>
315 <width>110</width>
316 <height>30</height>
317 <uuid>{8f2dc46a-0bca-49f3-a7ea-a3e275c5d7cd}</uuid>
318 <visible>true</visible>
319 <midichan>0</midichan>
320 <midicc>0</midicc>
321 <bsbDropdownItemList>
322 <bsbDropdownItem>
323 <name>Audio File</name>
324 <value>0</value>
325 <stringvalue/>
326 </bsbDropdownItem>
327 <bsbDropdownItem>
328 <name>Live Input</name>
329 <value>1</value>
330 <stringvalue/>
331 </bsbDropdownItem>
332 </bsbDropdownItemList>
333 <selectedIndex>0</selectedIndex>
334 <randomizable group="0">false</randomizable>
335 </bsbObject>
336 <bsbObject version="2" type="BSBDropdown">
337 <objectName>Opcode</objectName>
338 <x>15</x>
339 <y>82</y>
340 <width>110</width>
341 <height>30</height>
342 <uuid>{6d89403a-f631-4bdb-a866-8cf25d5a44a8}</uuid>
343 <visible>true</visible>
344 <midichan>0</midichan>
345 <midicc>-3</midicc>
346 <bsbDropdownItemList>
347 <bsbDropdownItem>
348 <name>hrtfer</name>
349 <value>0</value>
350 <stringvalue/>
351 </bsbDropdownItem>
352 <bsbDropdownItem>
353 <name>hrtfmove</name>
354 <value>1</value>
355 <stringvalue/>
356 </bsbDropdownItem>
357 <bsbDropdownItem>
358 <name>hrtfmove2</name>
359 <value>2</value>
360 <stringvalue/>
361 </bsbDropdownItem>
362 <bsbDropdownItem>
363 <name>hrtfstat</name>
364 <value>3</value>
365 <stringvalue/>
366 </bsbDropdownItem>
367 </bsbDropdownItemList>
368 <selectedIndex>0</selectedIndex>
369 <randomizable group="0">false</randomizable>
370 </bsbObject>
371 <bsbObject version="2" type="BSBLabel">
372 <objectName/>
373 <x>457</x>
374 <y>2</y>
375 <width>345</width>
376 <height>655</height>
377 <uuid>{6d75ade4-31f2-430d-ad0a-c2e8c0bc52af}</uuid>
378 <visible>true</visible>
379 <midichan>0</midichan>
380 <midicc>0</midicc>
381 <label>Instructions and Info</label>
382 <alignment>center</alignment>
383 <font>Liberation Sans</font>
384 <fontsize>18</fontsize>
385 <precision>3</precision>
386 <color>
387 <r>0</r>
388 <g>0</g>
389 <b>0</b>
390 </color>
391 <bgcolor mode="background">
392 <r>244</r>
393 <g>248</g>
394 <b>200</b>
395 </bgcolor>
396 <bordermode>border</bordermode>
397 <borderradius>10</borderradius>
398 <borderwidth>1</borderwidth>
399 </bsbObject>
400 <bsbObject version="2" type="BSBLabel">
401 <objectName/>
402 <x>191</x>
403 <y>354</y>
404 <width>161</width>
405 <height>29</height>
406 <uuid>{b9711ab1-6a91-411b-8d64-e67285708e4c}</uuid>
407 <visible>true</visible>
408 <midichan>0</midichan>
409 <midicc>0</midicc>
410 <label>X = Azimuth (Degrees)</label>
411 <alignment>right</alignment>
412 <font>Arial</font>
413 <fontsize>10</fontsize>
414 <precision>3</precision>
415 <color>
416 <r>0</r>
417 <g>0</g>
418 <b>0</b>
419 </color>
420 <bgcolor mode="nobackground">
421 <r>255</r>
422 <g>255</g>
423 <b>255</b>
424 </bgcolor>
425 <bordermode>noborder</bordermode>
426 <borderradius>1</borderradius>
427 <borderwidth>1</borderwidth>
428 </bsbObject>
429 <bsbObject version="2" type="BSBLabel">
430 <objectName/>
431 <x>54</x>
432 <y>206</y>
433 <width>87</width>
434 <height>51</height>
435 <uuid>{e151a192-2c90-49f4-9025-1292bf311020}</uuid>
436 <visible>true</visible>
437 <midichan>0</midichan>
438 <midicc>0</midicc>
439 <label>Y = Elevation
440 (Degrees)</label>
441 <alignment>right</alignment>
442 <font>Arial</font>
443 <fontsize>10</fontsize>
444 <precision>3</precision>
445 <color>
446 <r>0</r>
447 <g>0</g>
448 <b>0</b>
449 </color>
450 <bgcolor mode="nobackground">
451 <r>255</r>
452 <g>255</g>
453 <b>255</b>
454 </bgcolor>
455 <bordermode>noborder</bordermode>
456 <borderradius>1</borderradius>
457 <borderwidth>1</borderwidth>
458 </bsbObject>
459 <bsbObject version="2" type="BSBLabel">
460 <objectName/>
461 <x>461</x>
462 <y>21</y>
463 <width>338</width>
464 <height>560</height>
465 <uuid>{6fe014be-11b0-4a2f-8dbd-652d7a5fb93d}</uuid>
466 <visible>true</visible>
467 <midichan>0</midichan>
468 <midicc>0</midicc>
469 <label>-------------------------------------------------------------------------------------------------------------------
470 This example demonstrates Csound's four opcodes for 3-d binaural spacialisation, these are the oldest hrtfer and the three newer opcodes, hftfmove, hrtfmove2 and hrtfstat.
471 By presenting them in this fashion the user is able to easily compare them.
472 Each opcode requires a data file which basically contains information about how the human ears, head and body filter and delays frequencies before they reach each ear drum.
473 The two crucial input parameters that each of these opcodes requires are elevation, basically vertical direction in degrees from which the sound emanates, and azimuth which
474 determines from where on the horizontal plane the sound emanates from.
475 To allow the user to explore dynamic gestures involving both of these parameters they are combined to be controlled from an X-Y panel.
476 Each of these opcodes expects a monophonic audio input and outputs binaural stereo audio meaning that the 3-d effect will really only work through stereo headphones.
477 The user can choose between either a sound file input (a bouncing ping-pong ball) or the computer's live audio input.
478 Azimuth and elevation are i-rate parameters in 'hrtfstat' therefore audio discontinuities are heard when modulating these parameters as the opcode is re-initialized.
479
480 Off and On the instrument after changing Audio file.</label>
481 <alignment>left</alignment>
482 <font>Liberation Sans</font>
483 <fontsize>14</fontsize>
484 <precision>3</precision>
485 <color>
486 <r>0</r>
487 <g>0</g>
488 <b>0</b>
489 </color>
490 <bgcolor mode="nobackground">
491 <r>255</r>
492 <g>255</g>
493 <b>255</b>
494 </bgcolor>
495 <bordermode>noborder</bordermode>
496 <borderradius>1</borderradius>
497 <borderwidth>1</borderwidth>
498 </bsbObject>
499 <bsbObject version="2" type="BSBLabel">
500 <objectName/>
501 <x>2</x>
502 <y>392</y>
503 <width>455</width>
504 <height>90</height>
505 <uuid>{77c9f998-bf7c-458a-b456-73af422d9736}</uuid>
506 <visible>true</visible>
507 <midichan>0</midichan>
508 <midicc>0</midicc>
509 <label>hrtfmove</label>
510 <alignment>left</alignment>
511 <font>Arial Black</font>
512 <fontsize>18</fontsize>
513 <precision>3</precision>
514 <color>
515 <r>0</r>
516 <g>0</g>
517 <b>0</b>
518 </color>
519 <bgcolor mode="background">
520 <r>244</r>
521 <g>248</g>
522 <b>200</b>
523 </bgcolor>
524 <bordermode>border</bordermode>
525 <borderradius>10</borderradius>
526 <borderwidth>1</borderwidth>
527 </bsbObject>
528 <bsbObject version="2" type="BSBLabel">
529 <objectName/>
530 <x>124</x>
531 <y>400</y>
532 <width>57</width>
533 <height>27</height>
534 <uuid>{b2eb2d6c-abbd-4f8f-aed6-ec62848e6346}</uuid>
535 <visible>true</visible>
536 <midichan>0</midichan>
537 <midicc>0</midicc>
538 <label>Mode :</label>
539 <alignment>right</alignment>
540 <font>Arial</font>
541 <fontsize>10</fontsize>
542 <precision>3</precision>
543 <color>
544 <r>0</r>
545 <g>0</g>
546 <b>0</b>
547 </color>
548 <bgcolor mode="nobackground">
549 <r>255</r>
550 <g>255</g>
551 <b>255</b>
552 </bgcolor>
553 <bordermode>noborder</bordermode>
554 <borderradius>1</borderradius>
555 <borderwidth>1</borderwidth>
556 </bsbObject>
557 <bsbObject version="2" type="BSBDropdown">
558 <objectName>Mode</objectName>
559 <x>185</x>
560 <y>398</y>
561 <width>140</width>
562 <height>30</height>
563 <uuid>{8215b741-454f-4b1d-b74f-44fc4c76b045}</uuid>
564 <visible>true</visible>
565 <midichan>0</midichan>
566 <midicc>0</midicc>
567 <bsbDropdownItemList>
568 <bsbDropdownItem>
569 <name>Phase truncation</name>
570 <value>0</value>
571 <stringvalue/>
572 </bsbDropdownItem>
573 <bsbDropdownItem>
574 <name>Minimum phase</name>
575 <value>1</value>
576 <stringvalue/>
577 </bsbDropdownItem>
578 </bsbDropdownItemList>
579 <selectedIndex>1</selectedIndex>
580 <randomizable group="0">false</randomizable>
581 </bsbObject>
582 <bsbObject version="2" type="BSBHSlider">
583 <objectName>Fade</objectName>
584 <x>17</x>
585 <y>434</y>
586 <width>415</width>
587 <height>27</height>
588 <uuid>{38ded017-9f4c-4909-a827-ce97ae4cca81}</uuid>
589 <visible>true</visible>
590 <midichan>0</midichan>
591 <midicc>0</midicc>
592 <minimum>1.00000000</minimum>
593 <maximum>24.00000000</maximum>
594 <value>8.98072289</value>
595 <mode>lin</mode>
596 <mouseControl act="jump">continuous</mouseControl>
597 <resolution>-1.00000000</resolution>
598 <randomizable group="0">false</randomizable>
599 </bsbObject>
600 <bsbObject version="2" type="BSBDisplay">
601 <objectName>Fade</objectName>
602 <x>382</x>
603 <y>451</y>
604 <width>50</width>
605 <height>25</height>
606 <uuid>{295f0427-4b8b-4716-86b7-dbd8411a73ad}</uuid>
607 <visible>true</visible>
608 <midichan>0</midichan>
609 <midicc>0</midicc>
610 <label>8.981</label>
611 <alignment>right</alignment>
612 <font>Arial</font>
613 <fontsize>9</fontsize>
614 <precision>3</precision>
615 <color>
616 <r>0</r>
617 <g>0</g>
618 <b>0</b>
619 </color>
620 <bgcolor mode="nobackground">
621 <r>255</r>
622 <g>255</g>
623 <b>255</b>
624 </bgcolor>
625 <bordermode>noborder</bordermode>
626 <borderradius>1</borderradius>
627 <borderwidth>1</borderwidth>
628 </bsbObject>
629 <bsbObject version="2" type="BSBLabel">
630 <objectName/>
631 <x>17</x>
632 <y>451</y>
633 <width>100</width>
634 <height>26</height>
635 <uuid>{e63cb59e-c600-4b98-8683-14c03c1147eb}</uuid>
636 <visible>true</visible>
637 <midichan>0</midichan>
638 <midicc>0</midicc>
639 <label>Fade</label>
640 <alignment>left</alignment>
641 <font>Arial</font>
642 <fontsize>10</fontsize>
643 <precision>3</precision>
644 <color>
645 <r>0</r>
646 <g>0</g>
647 <b>0</b>
648 </color>
649 <bgcolor mode="nobackground">
650 <r>255</r>
651 <g>255</g>
652 <b>255</b>
653 </bgcolor>
654 <bordermode>noborder</bordermode>
655 <borderradius>1</borderradius>
656 <borderwidth>1</borderwidth>
657 </bsbObject>
658 <bsbObject version="2" type="BSBLabel">
659 <objectName/>
660 <x>2</x>
661 <y>482</y>
662 <width>455</width>
663 <height>105</height>
664 <uuid>{0dd758b1-23ff-4c52-9a2b-2965705aa11a}</uuid>
665 <visible>true</visible>
666 <midichan>0</midichan>
667 <midicc>0</midicc>
668 <label>hrtfmove2</label>
669 <alignment>left</alignment>
670 <font>Arial Black</font>
671 <fontsize>18</fontsize>
672 <precision>3</precision>
673 <color>
674 <r>0</r>
675 <g>0</g>
676 <b>0</b>
677 </color>
678 <bgcolor mode="background">
679 <r>244</r>
680 <g>248</g>
681 <b>200</b>
682 </bgcolor>
683 <bordermode>border</bordermode>
684 <borderradius>10</borderradius>
685 <borderwidth>1</borderwidth>
686 </bsbObject>
687 <bsbObject version="2" type="BSBLabel">
688 <objectName/>
689 <x>2</x>
690 <y>587</y>
691 <width>455</width>
692 <height>70</height>
693 <uuid>{eaa8967b-da38-4fed-a4bc-284627cb6644}</uuid>
694 <visible>true</visible>
695 <midichan>0</midichan>
696 <midicc>0</midicc>
697 <label>hrtfstat</label>
698 <alignment>left</alignment>
699 <font>Arial Black</font>
700 <fontsize>18</fontsize>
701 <precision>3</precision>
702 <color>
703 <r>0</r>
704 <g>0</g>
705 <b>0</b>
706 </color>
707 <bgcolor mode="background">
708 <r>244</r>
709 <g>248</g>
710 <b>200</b>
711 </bgcolor>
712 <bordermode>border</bordermode>
713 <borderradius>10</borderradius>
714 <borderwidth>1</borderwidth>
715 </bsbObject>
716 <bsbObject version="2" type="BSBLabel">
717 <objectName/>
718 <x>15</x>
719 <y>524</y>
720 <width>100</width>
721 <height>27</height>
722 <uuid>{ac3bfedb-36b5-4bf2-ab25-7202d2c50c06}</uuid>
723 <visible>true</visible>
724 <midichan>0</midichan>
725 <midicc>0</midicc>
726 <label>Overlap</label>
727 <alignment>left</alignment>
728 <font>Arial</font>
729 <fontsize>10</fontsize>
730 <precision>3</precision>
731 <color>
732 <r>0</r>
733 <g>0</g>
734 <b>0</b>
735 </color>
736 <bgcolor mode="nobackground">
737 <r>255</r>
738 <g>255</g>
739 <b>255</b>
740 </bgcolor>
741 <bordermode>noborder</bordermode>
742 <borderradius>1</borderradius>
743 <borderwidth>1</borderwidth>
744 </bsbObject>
745 <bsbObject version="2" type="BSBDisplay">
746 <objectName>Overlap_value</objectName>
747 <x>382</x>
748 <y>524</y>
749 <width>50</width>
750 <height>25</height>
751 <uuid>{88fada12-78e5-4716-a734-d5baf77ebb75}</uuid>
752 <visible>true</visible>
753 <midichan>0</midichan>
754 <midicc>0</midicc>
755 <label>4.000</label>
756 <alignment>right</alignment>
757 <font>Arial</font>
758 <fontsize>9</fontsize>
759 <precision>3</precision>
760 <color>
761 <r>0</r>
762 <g>0</g>
763 <b>0</b>
764 </color>
765 <bgcolor mode="nobackground">
766 <r>255</r>
767 <g>255</g>
768 <b>255</b>
769 </bgcolor>
770 <bordermode>noborder</bordermode>
771 <borderradius>1</borderradius>
772 <borderwidth>1</borderwidth>
773 </bsbObject>
774 <bsbObject version="2" type="BSBHSlider">
775 <objectName>Overlap</objectName>
776 <x>17</x>
777 <y>507</y>
778 <width>415</width>
779 <height>27</height>
780 <uuid>{9187d2f0-c826-4c32-92bd-219b357c8f64}</uuid>
781 <visible>true</visible>
782 <midichan>0</midichan>
783 <midicc>0</midicc>
784 <minimum>1.00000000</minimum>
785 <maximum>24.00000000</maximum>
786 <value>4.71325301</value>
787 <mode>lin</mode>
788 <mouseControl act="jump">continuous</mouseControl>
789 <resolution>-1.00000000</resolution>
790 <randomizable group="0">false</randomizable>
791 </bsbObject>
792 <bsbObject version="2" type="BSBLabel">
793 <objectName/>
794 <x>17</x>
795 <y>560</y>
796 <width>100</width>
797 <height>27</height>
798 <uuid>{903aad43-25fb-489e-9f11-d3d88c3b79a7}</uuid>
799 <visible>true</visible>
800 <midichan>0</midichan>
801 <midicc>0</midicc>
802 <label>Radius</label>
803 <alignment>left</alignment>
804 <font>Arial</font>
805 <fontsize>10</fontsize>
806 <precision>3</precision>
807 <color>
808 <r>0</r>
809 <g>0</g>
810 <b>0</b>
811 </color>
812 <bgcolor mode="nobackground">
813 <r>255</r>
814 <g>255</g>
815 <b>255</b>
816 </bgcolor>
817 <bordermode>noborder</bordermode>
818 <borderradius>1</borderradius>
819 <borderwidth>1</borderwidth>
820 </bsbObject>
821 <bsbObject version="2" type="BSBDisplay">
822 <objectName>Radius</objectName>
823 <x>382</x>
824 <y>560</y>
825 <width>50</width>
826 <height>25</height>
827 <uuid>{da7e387c-df6b-41ee-ab03-6951ea24f98e}</uuid>
828 <visible>true</visible>
829 <midichan>0</midichan>
830 <midicc>0</midicc>
831 <label>9.036</label>
832 <alignment>right</alignment>
833 <font>Arial</font>
834 <fontsize>9</fontsize>
835 <precision>3</precision>
836 <color>
837 <r>0</r>
838 <g>0</g>
839 <b>0</b>
840 </color>
841 <bgcolor mode="nobackground">
842 <r>255</r>
843 <g>255</g>
844 <b>255</b>
845 </bgcolor>
846 <bordermode>noborder</bordermode>
847 <borderradius>1</borderradius>
848 <borderwidth>1</borderwidth>
849 </bsbObject>
850 <bsbObject version="2" type="BSBHSlider">
851 <objectName>Radius</objectName>
852 <x>17</x>
853 <y>543</y>
854 <width>415</width>
855 <height>27</height>
856 <uuid>{79e3bb3a-1602-4755-90a5-8d109b0e5792}</uuid>
857 <visible>true</visible>
858 <midichan>0</midichan>
859 <midicc>0</midicc>
860 <minimum>1.00000000</minimum>
861 <maximum>24.00000000</maximum>
862 <value>9.03614458</value>
863 <mode>lin</mode>
864 <mouseControl act="jump">continuous</mouseControl>
865 <resolution>-1.00000000</resolution>
866 <randomizable group="0">false</randomizable>
867 </bsbObject>
868 <bsbObject version="2" type="BSBLabel">
869 <objectName/>
870 <x>17</x>
871 <y>628</y>
872 <width>100</width>
873 <height>27</height>
874 <uuid>{27e9db80-4ee2-495b-86e1-ec14f7d9bc91}</uuid>
875 <visible>true</visible>
876 <midichan>0</midichan>
877 <midicc>0</midicc>
878 <label>Radius</label>
879 <alignment>left</alignment>
880 <font>Arial</font>
881 <fontsize>10</fontsize>
882 <precision>3</precision>
883 <color>
884 <r>0</r>
885 <g>0</g>
886 <b>0</b>
887 </color>
888 <bgcolor mode="nobackground">
889 <r>255</r>
890 <g>255</g>
891 <b>255</b>
892 </bgcolor>
893 <bordermode>noborder</bordermode>
894 <borderradius>1</borderradius>
895 <borderwidth>1</borderwidth>
896 </bsbObject>
897 <bsbObject version="2" type="BSBDisplay">
898 <objectName>Radius_stat</objectName>
899 <x>382</x>
900 <y>628</y>
901 <width>50</width>
902 <height>25</height>
903 <uuid>{a6bffca6-42f1-4d02-98f7-11c8f2ca61a0}</uuid>
904 <visible>true</visible>
905 <midichan>0</midichan>
906 <midicc>0</midicc>
907 <label>14.966</label>
908 <alignment>right</alignment>
909 <font>Arial</font>
910 <fontsize>9</fontsize>
911 <precision>3</precision>
912 <color>
913 <r>0</r>
914 <g>0</g>
915 <b>0</b>
916 </color>
917 <bgcolor mode="nobackground">
918 <r>255</r>
919 <g>255</g>
920 <b>255</b>
921 </bgcolor>
922 <bordermode>noborder</bordermode>
923 <borderradius>1</borderradius>
924 <borderwidth>1</borderwidth>
925 </bsbObject>
926 <bsbObject version="2" type="BSBHSlider">
927 <objectName>Radius_stat</objectName>
928 <x>17</x>
929 <y>611</y>
930 <width>415</width>
931 <height>27</height>
932 <uuid>{1ecd5f98-8744-4c32-93a1-8086e224e3ee}</uuid>
933 <visible>true</visible>
934 <midichan>0</midichan>
935 <midicc>0</midicc>
936 <minimum>1.00000000</minimum>
937 <maximum>24.00000000</maximum>
938 <value>14.96626506</value>
939 <mode>lin</mode>
940 <mouseControl act="jump">continuous</mouseControl>
941 <resolution>-1.00000000</resolution>
942 <randomizable group="0">false</randomizable>
943 </bsbObject>
944 <bsbObject version="2" type="BSBButton">
945 <objectName>_Browse1</objectName>
946 <x>479</x>
947 <y>581</y>
948 <width>170</width>
949 <height>30</height>
950 <uuid>{edb13338-bffc-43e2-977f-247fd2b834d1}</uuid>
951 <visible>true</visible>
952 <midichan>0</midichan>
953 <midicc>0</midicc>
954 <type>value</type>
955 <pressedValue>1.00000000</pressedValue>
956 <stringvalue>Bounce.wav</stringvalue>
957 <text>Browse Audio File</text>
958 <image>/</image>
959 <eventLine/>
960 <latch>false</latch>
961 <latched>false</latched>
962 </bsbObject>
963 <bsbObject version="2" type="BSBLineEdit">
964 <objectName>_Browse1</objectName>
965 <x>479</x>
966 <y>615</y>
967 <width>304</width>
968 <height>32</height>
969 <uuid>{a2231334-119c-4cc6-8bc0-1f54af7751a0}</uuid>
970 <visible>true</visible>
971 <midichan>0</midichan>
972 <midicc>0</midicc>
973 <label>Bounce.wav</label>
974 <alignment>left</alignment>
975 <font>Arial</font>
976 <fontsize>10</fontsize>
977 <precision>3</precision>
978 <color>
979 <r>0</r>
980 <g>0</g>
981 <b>0</b>
982 </color>
983 <bgcolor mode="nobackground">
984 <r>229</r>
985 <g>229</g>
986 <b>229</b>
987 </bgcolor>
988 <background>nobackground</background>
989 </bsbObject>
990 </bsbPanel>
991 <bsbPresets>
992 </bsbPresets>