Debian Codegraph @

src/Examples/CsoundQt/Useful/SF_Play_from_HD_2.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 </CsOptions>
4 <CsInstruments>
5
6 sr = 44100
7 ksmps = 16
8 nchnls = 2
9 0dbfs = 1
10
11 /*****Playing a soundfile 2a: Play from the Harddisk with more features*****/
12 ;written by joachim heintz, andres cabrera and victor lazzarini
13 ;mar 2009 / dec 2011
14
15 opcode ShowLED_a, 0, Sakik
16 ;Shows an audio signal in an outvalue channel.
17 ;You can choose to show the value in dB or in raw amplitudes.
18 ;
19 ;Input:
20 ;Soutchan: string with the name of the outvalue channel
21 ;asig: audio signal which is to displayed
22 ;kdispfreq: refresh frequency (Hz)
23 ;idb: 1 = show in dB, 0 = show in raw amplitudes (both in the range 0-1)
24 ;idbrange: if idb=1: how many db-steps are shown (e.g. if 36 you will not see anything from a signal below -36 dB)
25
26 Soutchan, asig, ktrig, idb, kdbrange xin
27 kdispval max_k asig, ktrig, 1
28 if idb != 0 then
29 kdb = dbfsamp(kdispval)
30 kval = (kdbrange + kdb) / kdbrange
31 else
32 kval = kdispval
33 endif
34 if ktrig == 1 then
35 outvalue Soutchan, kval
36 endif
37 endop
38
39
40 opcode ShowOver_a, 0, Sakk
41 ;Shows if the incoming audio signal was more than 1 and stays there for some time
42 ;Input:
43 ;Soutchan: string with the name of the outvalue channel
44 ;asig: audio signal which is to displayed
45 ;kdispfreq: refresh frequency (Hz)
46 ;khold: time in seconds to "hold the red light"
47
48 Soutchan, asig, ktrig, khold xin
49 kon init 0
50 ktim times
51 kstart init 0
52 kend init 0
53 khold = (khold < .01 ? .01 : khold); avoiding too short hold times
54 kmax max_k asig, ktrig, 1
55 if kon == 0 && kmax > 1 && ktrig == 1 then
56 kstart = ktim
57 kend = kstart + khold
58 outvalue Soutchan, kmax
59 kon = 1
60 endif
61 if kon == 1 && ktim > kend && ktrig == 1 then
62 outvalue Soutchan, 0
63 kon = 0
64 endif
65 endop
66
67
68
69 instr 1; stop
70 turnoff2 4, 0, 0
71 turnoff2 10, 0, 0
72 outvalue "outL", 0
73 outvalue "outR", 0
74 outvalue "outLover", 0
75 outvalue "outRover", 0
76 gktimi10k = 0; reset the clock
77 gkpaus = 0; reset pause status
78 turnoff
79 endin
80
81
82 instr 2 ;read file info and play
83 gSfile invalue "_Browse1"; get the name (look at the example in Examples->Reserved Channels)
84
85 gilen filelen gSfile; duration of the file
86 gichn filenchnls gSfile; is the file mono or stereo
87 gifilesr filesr gSfile
88 kconvertsr invalue "convertsr"
89 giconvrt = i(kconvertsr)
90 gktimi10k = p4; time instr 10 has performed in k-cycles
91 gkpaus = 0; status of the pause button
92 imaxlen = 36000; maximum length of loop play
93
94 ;send a message if the sr of the file doesn't match the sr of the orchestra
95 if gifilesr != sr then
96 if giconvrt == 1 then
97 Swarn sprintf "Warning:\nSamplerate of the file is %d, but samplerate of the orchestra is %d. Samplerate will be converted by changing speed of reading.", gifilesr, sr
98 outvalue "message", Swarn
99 else
100 Swarn sprintf "Warning:\nSamplerate of the file is %d, but samplerate of the orchestra is %d. Samplerate will not be converted, so you will have changes in tempo and pitch.", gifilesr, sr
101 outvalue "message", Swarn
102 endif
103 else
104 Smess sprintf "Length = %.3f\nSamplerate = %d\nChannels = %d", gilen, gifilesr, gichn
105 outvalue "message", Smess
106 endif
107 event_i "i", 4, 0, imaxlen
108 turnoff
109 endin
110
111 instr 3; pause and resume
112 if gkpaus == 0 then
113 turnoff2 4, 0, 0
114 turnoff2 10, 0, 0
115 gkpaus = 1
116 else
117 turnoff2 10, 0, 0
118 event "i", 2, 0, 1, gktimi10k
119 gkpaus = 0
120 endif
121 turnoff
122 endin
123
124
125
126 instr 4
127 ilen = gilen
128 ilenk = ilen * kr; duration of the file in k-cycles
129 ichn = gichn
130 gkdb invalue "db"; gain value in dB
131 kskip invalue "skip"; skiptime in sec
132 iskip = i(kskip)
133 itimi10k = i(gktimi10k) % ilenk; time instr 10 was active in control cycles in respect to the loops
134 kloop invalue "loop"; value 1 if checked
135 iloop = i(kloop)
136 istart = iskip + (itimi10k / kr)
137
138 ;playing
139 iplaylen = (iloop == 1 ? p3 : ilen)
140
141 event_i "i", 10, 0, iplaylen, istart, ichn, giconvrt
142
143 ;time output
144 ktimout = (gktimi10k / kr + iskip) % ilen; position in the soundfile in seconds
145 ktimouthor = int(ktimout / 3600)
146 Shor sprintfk "%02d", ktimouthor
147 ktimoutmin = int(ktimout / 60)
148 Smin sprintfk "%02d", ktimoutmin
149 ktimoutsec = int(ktimout % 60)
150 Ssec sprintfk "%02d", ktimoutsec
151 ktimoutms = frac(ktimout) * 1000
152 Sms sprintfk "%03d", ktimoutms
153 outvalue "hor", Shor
154 outvalue "min", Smin
155 outvalue "sec", Ssec
156 outvalue "ms", Sms
157
158 ;turnoff if no loop and end of file is reached
159 if iloop == 0 && ktimout > ilen then
160 event "i", 1, 0, .1
161 turnoff
162 endif
163 endin
164
165
166 instr 10
167 iskip = p4
168 ichn = p5
169 iconvrt = (p6 == 1 ? 0 : 1)
170 k1 = 1
171
172 kdbrange invalue "dbrange" ;dB range for the meters
173 kpeakhold invalue "peakhold" ;Duration of clip indicator hold in seconds;
174 if ichn == 1 then
175 aL diskin2 gSfile, 1, iskip, 1, 0, iconvrt
176 aR = aL
177 else
178 printk2 k1
179 aL, aR diskin2 gSfile, 1, iskip, 1, 0, iconvrt
180 endif
181
182 ;Volume
183 kmult = ampdbfs(gkdb)
184 Sdb_disp sprintfk "%+.2f dB", gkdb
185 outvalue "db_disp", Sdb_disp
186 aL = aL * kmult
187 aR = aR * kmult
188
189 ;show output
190 kTrigDisp metro 10
191 ShowLED_a "outL", aL, kTrigDisp, 1, kdbrange
192 ShowLED_a "outR", aR, kTrigDisp, 1, kdbrange
193 ShowOver_a "outLover", aL, kTrigDisp, kpeakhold
194 ShowOver_a "outRover", aR, kTrigDisp, kpeakhold
195
196 outs aL, aR
197 gktimi10k = gktimi10k + 1; count the time instr 10 was active
198 endin
199
200 </CsInstruments>
201 <CsScore>
202 f 0 36000; don't listen to music longer than 10 hours
203 e
204 </CsScore>
205 </CsoundSynthesizer>
206 <bsbPanel>
207 <label>Widgets</label>
208 <objectName/>
209 <x>72</x>
210 <y>179</y>
211 <width>400</width>
212 <height>200</height>
213 <visible>true</visible>
214 <uuid/>
215 <bgcolor mode="background">
216 <r>129</r>
217 <g>170</g>
218 <b>164</b>
219 </bgcolor>
220 <bsbObject version="2" type="BSBLineEdit">
221 <objectName>_Browse1</objectName>
222 <x>19</x>
223 <y>113</y>
224 <width>351</width>
225 <height>23</height>
226 <uuid>{e34d9fad-e494-4adc-a38c-41fd0dd4cd22}</uuid>
227 <visible>true</visible>
228 <midichan>0</midichan>
229 <midicc>-3</midicc>
230 <label>/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/TrommelStereo.aiff</label>
231 <alignment>left</alignment>
232 <font>Lucida Grande</font>
233 <fontsize>10</fontsize>
234 <precision>3</precision>
235 <color>
236 <r>0</r>
237 <g>0</g>
238 <b>0</b>
239 </color>
240 <bgcolor mode="nobackground">
241 <r>242</r>
242 <g>241</g>
243 <b>240</b>
244 </bgcolor>
245 <background>nobackground</background>
246 </bsbObject>
247 <bsbObject version="2" type="BSBButton">
248 <objectName>_Browse1</objectName>
249 <x>378</x>
250 <y>111</y>
251 <width>100</width>
252 <height>30</height>
253 <uuid>{f8cc5a8e-5d74-4e6a-b0ef-14b3536bee69}</uuid>
254 <visible>true</visible>
255 <midichan>0</midichan>
256 <midicc>-3</midicc>
257 <type>value</type>
258 <pressedValue>1.00000000</pressedValue>
259 <stringvalue>/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/TrommelStereo.aiff</stringvalue>
260 <text>Open File</text>
261 <image>/</image>
262 <eventLine/>
263 <latch>false</latch>
264 <latched>false</latched>
265 </bsbObject>
266 <bsbObject version="2" type="BSBHSlider">
267 <objectName>db</objectName>
268 <x>117</x>
269 <y>262</y>
270 <width>136</width>
271 <height>31</height>
272 <uuid>{10f84ac4-d6cc-468a-87f8-92cf47247d27}</uuid>
273 <visible>true</visible>
274 <midichan>0</midichan>
275 <midicc>-3</midicc>
276 <minimum>-18.00000000</minimum>
277 <maximum>18.00000000</maximum>
278 <value>0.00000000</value>
279 <mode>lin</mode>
280 <mouseControl act="jump">continuous</mouseControl>
281 <resolution>-1.00000000</resolution>
282 <randomizable group="0">false</randomizable>
283 </bsbObject>
284 <bsbObject version="2" type="BSBDisplay">
285 <objectName>db_disp</objectName>
286 <x>258</x>
287 <y>262</y>
288 <width>98</width>
289 <height>31</height>
290 <uuid>{d5d4423c-8a1f-45f4-bff6-99b8c93ac27c}</uuid>
291 <visible>true</visible>
292 <midichan>0</midichan>
293 <midicc>-3</midicc>
294 <label>+0.00 dB</label>
295 <alignment>right</alignment>
296 <font>Lucida Grande</font>
297 <fontsize>18</fontsize>
298 <precision>3</precision>
299 <color>
300 <r>0</r>
301 <g>0</g>
302 <b>0</b>
303 </color>
304 <bgcolor mode="nobackground">
305 <r>255</r>
306 <g>255</g>
307 <b>255</b>
308 </bgcolor>
309 <bordermode>noborder</bordermode>
310 <borderradius>1</borderradius>
311 <borderwidth>1</borderwidth>
312 </bsbObject>
313 <bsbObject version="2" type="BSBButton">
314 <objectName/>
315 <x>20</x>
316 <y>148</y>
317 <width>78</width>
318 <height>26</height>
319 <uuid>{c0de047a-de03-4e6d-a942-b71b2821460d}</uuid>
320 <visible>true</visible>
321 <midichan>0</midichan>
322 <midicc>-3</midicc>
323 <type>event</type>
324 <pressedValue>1.00000000</pressedValue>
325 <stringvalue/>
326 <text>Play</text>
327 <image>/</image>
328 <eventLine>i 2 0 1 0</eventLine>
329 <latch>false</latch>
330 <latched>false</latched>
331 </bsbObject>
332 <bsbObject version="2" type="BSBButton">
333 <objectName/>
334 <x>223</x>
335 <y>150</y>
336 <width>80</width>
337 <height>25</height>
338 <uuid>{539bf852-6d92-4e53-a7ce-a478772c8a44}</uuid>
339 <visible>true</visible>
340 <midichan>0</midichan>
341 <midicc>-3</midicc>
342 <type>event</type>
343 <pressedValue>1.00000000</pressedValue>
344 <stringvalue/>
345 <text>Stop</text>
346 <image>/</image>
347 <eventLine>i 1 0 .1</eventLine>
348 <latch>false</latch>
349 <latched>false</latched>
350 </bsbObject>
351 <bsbObject version="2" type="BSBSpinBox">
352 <objectName>skip</objectName>
353 <x>21</x>
354 <y>216</y>
355 <width>87</width>
356 <height>25</height>
357 <uuid>{d697a9c4-6c99-4f8a-b884-8d537fc7a24b}</uuid>
358 <visible>true</visible>
359 <midichan>0</midichan>
360 <midicc>-3</midicc>
361 <alignment>right</alignment>
362 <font>Lucida Grande</font>
363 <fontsize>10</fontsize>
364 <color>
365 <r>0</r>
366 <g>0</g>
367 <b>0</b>
368 </color>
369 <bgcolor mode="nobackground">
370 <r>255</r>
371 <g>255</g>
372 <b>255</b>
373 </bgcolor>
374 <resolution>0.00100000</resolution>
375 <minimum>-1e+12</minimum>
376 <maximum>1e+12</maximum>
377 <randomizable group="0">false</randomizable>
378 <value>1.409</value>
379 </bsbObject>
380 <bsbObject version="2" type="BSBButton">
381 <objectName/>
382 <x>122</x>
383 <y>149</y>
384 <width>80</width>
385 <height>25</height>
386 <uuid>{ae8f2ca0-5960-4a9b-853d-22682c1c7916}</uuid>
387 <visible>true</visible>
388 <midichan>0</midichan>
389 <midicc>-3</midicc>
390 <type>event</type>
391 <pressedValue>1.00000000</pressedValue>
392 <stringvalue/>
393 <text>Pause</text>
394 <image>/</image>
395 <eventLine>i 3 0 .1</eventLine>
396 <latch>false</latch>
397 <latched>false</latched>
398 </bsbObject>
399 <bsbObject version="2" type="BSBCheckBox">
400 <objectName>loop</objectName>
401 <x>152</x>
402 <y>216</y>
403 <width>20</width>
404 <height>20</height>
405 <uuid>{855b6884-ed0d-41cc-9a8d-0f3c0315c598}</uuid>
406 <visible>true</visible>
407 <midichan>0</midichan>
408 <midicc>-3</midicc>
409 <selected>false</selected>
410 <label/>
411 <pressedValue>1</pressedValue>
412 <randomizable group="0">false</randomizable>
413 </bsbObject>
414 <bsbObject version="2" type="BSBDisplay">
415 <objectName>min</objectName>
416 <x>344</x>
417 <y>348</y>
418 <width>37</width>
419 <height>30</height>
420 <uuid>{e1155724-576d-4aae-8754-ae799eb0c75f}</uuid>
421 <visible>true</visible>
422 <midichan>0</midichan>
423 <midicc>-3</midicc>
424 <label>00</label>
425 <alignment>right</alignment>
426 <font>Lucida Grande</font>
427 <fontsize>18</fontsize>
428 <precision>3</precision>
429 <color>
430 <r>0</r>
431 <g>0</g>
432 <b>0</b>
433 </color>
434 <bgcolor mode="nobackground">
435 <r>255</r>
436 <g>255</g>
437 <b>255</b>
438 </bgcolor>
439 <bordermode>noborder</bordermode>
440 <borderradius>1</borderradius>
441 <borderwidth>1</borderwidth>
442 </bsbObject>
443 <bsbObject version="2" type="BSBDisplay">
444 <objectName>sec</objectName>
445 <x>391</x>
446 <y>348</y>
447 <width>35</width>
448 <height>31</height>
449 <uuid>{6058c806-9a20-44fa-8bf8-90de2a58b2df}</uuid>
450 <visible>true</visible>
451 <midichan>0</midichan>
452 <midicc>-3</midicc>
453 <label>06</label>
454 <alignment>right</alignment>
455 <font>DejaVu Sans</font>
456 <fontsize>18</fontsize>
457 <precision>3</precision>
458 <color>
459 <r>0</r>
460 <g>0</g>
461 <b>0</b>
462 </color>
463 <bgcolor mode="nobackground">
464 <r>255</r>
465 <g>255</g>
466 <b>255</b>
467 </bgcolor>
468 <bordermode>noborder</bordermode>
469 <borderradius>1</borderradius>
470 <borderwidth>1</borderwidth>
471 </bsbObject>
472 <bsbObject version="2" type="BSBLabel">
473 <objectName/>
474 <x>379</x>
475 <y>348</y>
476 <width>14</width>
477 <height>29</height>
478 <uuid>{e9e4b8b3-f548-4ced-919a-5f6c720396f2}</uuid>
479 <visible>true</visible>
480 <midichan>0</midichan>
481 <midicc>-3</midicc>
482 <label>:</label>
483 <alignment>center</alignment>
484 <font>Lucida Grande</font>
485 <fontsize>18</fontsize>
486 <precision>3</precision>
487 <color>
488 <r>0</r>
489 <g>0</g>
490 <b>0</b>
491 </color>
492 <bgcolor mode="nobackground">
493 <r>255</r>
494 <g>255</g>
495 <b>255</b>
496 </bgcolor>
497 <bordermode>noborder</bordermode>
498 <borderradius>1</borderradius>
499 <borderwidth>1</borderwidth>
500 </bsbObject>
501 <bsbObject version="2" type="BSBLabel">
502 <objectName/>
503 <x>21</x>
504 <y>190</y>
505 <width>88</width>
506 <height>30</height>
507 <uuid>{bd6fb429-6df6-4f5a-8c1c-4f6dc140ba25}</uuid>
508 <visible>true</visible>
509 <midichan>0</midichan>
510 <midicc>-3</midicc>
511 <label>skiptime</label>
512 <alignment>center</alignment>
513 <font>Lucida Grande</font>
514 <fontsize>14</fontsize>
515 <precision>3</precision>
516 <color>
517 <r>0</r>
518 <g>0</g>
519 <b>0</b>
520 </color>
521 <bgcolor mode="nobackground">
522 <r>255</r>
523 <g>255</g>
524 <b>255</b>
525 </bgcolor>
526 <bordermode>noborder</bordermode>
527 <borderradius>1</borderradius>
528 <borderwidth>1</borderwidth>
529 </bsbObject>
530 <bsbObject version="2" type="BSBLabel">
531 <objectName/>
532 <x>130</x>
533 <y>192</y>
534 <width>59</width>
535 <height>30</height>
536 <uuid>{7a8c2d5d-63af-4119-a8fe-ef9729ae54d7}</uuid>
537 <visible>true</visible>
538 <midichan>0</midichan>
539 <midicc>-3</midicc>
540 <label>loop</label>
541 <alignment>center</alignment>
542 <font>Lucida Grande</font>
543 <fontsize>14</fontsize>
544 <precision>3</precision>
545 <color>
546 <r>0</r>
547 <g>0</g>
548 <b>0</b>
549 </color>
550 <bgcolor mode="nobackground">
551 <r>255</r>
552 <g>255</g>
553 <b>255</b>
554 </bgcolor>
555 <bordermode>noborder</bordermode>
556 <borderradius>1</borderradius>
557 <borderwidth>1</borderwidth>
558 </bsbObject>
559 <bsbObject version="2" type="BSBLabel">
560 <objectName/>
561 <x>22</x>
562 <y>261</y>
563 <width>88</width>
564 <height>30</height>
565 <uuid>{aa0fbe1b-dc9c-4327-aea7-150a02671a6c}</uuid>
566 <visible>true</visible>
567 <midichan>0</midichan>
568 <midicc>-3</midicc>
569 <label>volume</label>
570 <alignment>center</alignment>
571 <font>Lucida Grande</font>
572 <fontsize>18</fontsize>
573 <precision>3</precision>
574 <color>
575 <r>0</r>
576 <g>0</g>
577 <b>0</b>
578 </color>
579 <bgcolor mode="nobackground">
580 <r>255</r>
581 <g>255</g>
582 <b>255</b>
583 </bgcolor>
584 <bordermode>noborder</bordermode>
585 <borderradius>1</borderradius>
586 <borderwidth>1</borderwidth>
587 </bsbObject>
588 <bsbObject version="2" type="BSBDisplay">
589 <objectName>message</objectName>
590 <x>24</x>
591 <y>456</y>
592 <width>460</width>
593 <height>93</height>
594 <uuid>{060268f7-354f-4607-9414-e03dde72fec9}</uuid>
595 <visible>true</visible>
596 <midichan>0</midichan>
597 <midicc>-3</midicc>
598 <label>Length = 151.951
599 Samplerate = 44100
600 Channels = 2</label>
601 <alignment>center</alignment>
602 <font>DejaVu Sans</font>
603 <fontsize>14</fontsize>
604 <precision>3</precision>
605 <color>
606 <r>0</r>
607 <g>0</g>
608 <b>0</b>
609 </color>
610 <bgcolor mode="background">
611 <r>217</r>
612 <g>217</g>
613 <b>217</b>
614 </bgcolor>
615 <bordermode>border</bordermode>
616 <borderradius>1</borderradius>
617 <borderwidth>1</borderwidth>
618 </bsbObject>
619 <bsbObject version="2" type="BSBLabel">
620 <objectName/>
621 <x>25</x>
622 <y>422</y>
623 <width>460</width>
624 <height>35</height>
625 <uuid>{6f1c335f-3050-4a5f-9064-b548712251e3}</uuid>
626 <visible>true</visible>
627 <midichan>0</midichan>
628 <midicc>0</midicc>
629 <label>Messages</label>
630 <alignment>center</alignment>
631 <font>DejaVu Sans</font>
632 <fontsize>18</fontsize>
633 <precision>3</precision>
634 <color>
635 <r>0</r>
636 <g>0</g>
637 <b>0</b>
638 </color>
639 <bgcolor mode="nobackground">
640 <r>255</r>
641 <g>255</g>
642 <b>255</b>
643 </bgcolor>
644 <bordermode>noborder</bordermode>
645 <borderradius>1</borderradius>
646 <borderwidth>1</borderwidth>
647 </bsbObject>
648 <bsbObject version="2" type="BSBController">
649 <objectName>outL</objectName>
650 <x>24</x>
651 <y>328</y>
652 <width>250</width>
653 <height>19</height>
654 <uuid>{e53212e6-26b1-4255-8dd1-29982a5f376d}</uuid>
655 <visible>true</visible>
656 <midichan>0</midichan>
657 <midicc>-3</midicc>
658 <objectName2>out1_post</objectName2>
659 <xMin>0.00000000</xMin>
660 <xMax>1.00000000</xMax>
661 <yMin>0.00000000</yMin>
662 <yMax>1.00000000</yMax>
663 <xValue>0.00000000</xValue>
664 <yValue>0.57894700</yValue>
665 <type>fill</type>
666 <pointsize>1</pointsize>
667 <fadeSpeed>0.00000000</fadeSpeed>
668 <mouseControl act="press">jump</mouseControl>
669 <color>
670 <r>0</r>
671 <g>234</g>
672 <b>0</b>
673 </color>
674 <randomizable mode="both" group="0">false</randomizable>
675 <bgcolor>
676 <r>0</r>
677 <g>0</g>
678 <b>0</b>
679 </bgcolor>
680 </bsbObject>
681 <bsbObject version="2" type="BSBController">
682 <objectName>outLover</objectName>
683 <x>271</x>
684 <y>328</y>
685 <width>21</width>
686 <height>19</height>
687 <uuid>{1ac98e63-ff22-42c2-b9b4-211a3387ff55}</uuid>
688 <visible>true</visible>
689 <midichan>0</midichan>
690 <midicc>-3</midicc>
691 <objectName2>outLover</objectName2>
692 <xMin>0.00000000</xMin>
693 <xMax>1.00000000</xMax>
694 <yMin>0.00000000</yMin>
695 <yMax>1.00000000</yMax>
696 <xValue>0.00000000</xValue>
697 <yValue>0.00000000</yValue>
698 <type>fill</type>
699 <pointsize>1</pointsize>
700 <fadeSpeed>0.00000000</fadeSpeed>
701 <mouseControl act="press">jump</mouseControl>
702 <color>
703 <r>196</r>
704 <g>14</g>
705 <b>12</b>
706 </color>
707 <randomizable mode="both" group="0">false</randomizable>
708 <bgcolor>
709 <r>0</r>
710 <g>0</g>
711 <b>0</b>
712 </bgcolor>
713 </bsbObject>
714 <bsbObject version="2" type="BSBController">
715 <objectName>outR</objectName>
716 <x>24</x>
717 <y>355</y>
718 <width>250</width>
719 <height>19</height>
720 <uuid>{5cbb1b94-11b9-40e7-9138-067e4f80499c}</uuid>
721 <visible>true</visible>
722 <midichan>0</midichan>
723 <midicc>-3</midicc>
724 <objectName2>out2_post</objectName2>
725 <xMin>0.00000000</xMin>
726 <xMax>1.00000000</xMax>
727 <yMin>0.00000000</yMin>
728 <yMax>1.00000000</yMax>
729 <xValue>0.00000000</xValue>
730 <yValue>1.00000000</yValue>
731 <type>fill</type>
732 <pointsize>1</pointsize>
733 <fadeSpeed>0.00000000</fadeSpeed>
734 <mouseControl act="press">jump</mouseControl>
735 <color>
736 <r>0</r>
737 <g>234</g>
738 <b>0</b>
739 </color>
740 <randomizable mode="both" group="0">false</randomizable>
741 <bgcolor>
742 <r>0</r>
743 <g>0</g>
744 <b>0</b>
745 </bgcolor>
746 </bsbObject>
747 <bsbObject version="2" type="BSBController">
748 <objectName>outRover</objectName>
749 <x>271</x>
750 <y>355</y>
751 <width>21</width>
752 <height>19</height>
753 <uuid>{b7f5355c-78ed-416f-ac68-29ae4c154f8a}</uuid>
754 <visible>true</visible>
755 <midichan>0</midichan>
756 <midicc>-3</midicc>
757 <objectName2>outRover</objectName2>
758 <xMin>0.00000000</xMin>
759 <xMax>1.00000000</xMax>
760 <yMin>0.00000000</yMin>
761 <yMax>1.00000000</yMax>
762 <xValue>0.00000000</xValue>
763 <yValue>0.00000000</yValue>
764 <type>fill</type>
765 <pointsize>1</pointsize>
766 <fadeSpeed>0.00000000</fadeSpeed>
767 <mouseControl act="press">jump</mouseControl>
768 <color>
769 <r>196</r>
770 <g>14</g>
771 <b>12</b>
772 </color>
773 <randomizable mode="both" group="0">false</randomizable>
774 <bgcolor>
775 <r>0</r>
776 <g>0</g>
777 <b>0</b>
778 </bgcolor>
779 </bsbObject>
780 <bsbObject version="2" type="BSBSpinBox">
781 <objectName>dbrange</objectName>
782 <x>109</x>
783 <y>390</y>
784 <width>80</width>
785 <height>25</height>
786 <uuid>{6d740e31-aaaf-436a-9453-71580162329e}</uuid>
787 <visible>true</visible>
788 <midichan>0</midichan>
789 <midicc>-3</midicc>
790 <alignment>left</alignment>
791 <font>Lucida Grande</font>
792 <fontsize>10</fontsize>
793 <color>
794 <r>0</r>
795 <g>0</g>
796 <b>0</b>
797 </color>
798 <bgcolor mode="nobackground">
799 <r>255</r>
800 <g>255</g>
801 <b>255</b>
802 </bgcolor>
803 <resolution>0.10000000</resolution>
804 <minimum>-1e+12</minimum>
805 <maximum>1e+12</maximum>
806 <randomizable group="0">false</randomizable>
807 <value>48</value>
808 </bsbObject>
809 <bsbObject version="2" type="BSBLabel">
810 <objectName/>
811 <x>24</x>
812 <y>389</y>
813 <width>131</width>
814 <height>27</height>
815 <uuid>{9fc8a154-0fe8-4fde-bb06-8dba5528d450}</uuid>
816 <visible>true</visible>
817 <midichan>0</midichan>
818 <midicc>-3</midicc>
819 <label>dB Range</label>
820 <alignment>left</alignment>
821 <font>Helvetica</font>
822 <fontsize>14</fontsize>
823 <precision>3</precision>
824 <color>
825 <r>0</r>
826 <g>0</g>
827 <b>0</b>
828 </color>
829 <bgcolor mode="nobackground">
830 <r>255</r>
831 <g>255</g>
832 <b>255</b>
833 </bgcolor>
834 <bordermode>noborder</bordermode>
835 <borderradius>1</borderradius>
836 <borderwidth>1</borderwidth>
837 </bsbObject>
838 <bsbObject version="2" type="BSBSpinBox">
839 <objectName>peakhold</objectName>
840 <x>357</x>
841 <y>390</y>
842 <width>57</width>
843 <height>25</height>
844 <uuid>{b473b128-28a5-4d0d-9b45-72c54f2ed380}</uuid>
845 <visible>true</visible>
846 <midichan>0</midichan>
847 <midicc>-3</midicc>
848 <alignment>left</alignment>
849 <font>Lucida Grande</font>
850 <fontsize>10</fontsize>
851 <color>
852 <r>0</r>
853 <g>0</g>
854 <b>0</b>
855 </color>
856 <bgcolor mode="nobackground">
857 <r>255</r>
858 <g>255</g>
859 <b>255</b>
860 </bgcolor>
861 <resolution>1.00000000</resolution>
862 <minimum>-1e+12</minimum>
863 <maximum>1e+12</maximum>
864 <randomizable group="0">false</randomizable>
865 <value>3</value>
866 </bsbObject>
867 <bsbObject version="2" type="BSBLabel">
868 <objectName/>
869 <x>235</x>
870 <y>389</y>
871 <width>131</width>
872 <height>27</height>
873 <uuid>{a867c3ca-9514-41aa-aa8d-9ff0601663b5}</uuid>
874 <visible>true</visible>
875 <midichan>0</midichan>
876 <midicc>-3</midicc>
877 <label>Peak Hold time</label>
878 <alignment>left</alignment>
879 <font>DejaVu Sans</font>
880 <fontsize>14</fontsize>
881 <precision>3</precision>
882 <color>
883 <r>0</r>
884 <g>0</g>
885 <b>0</b>
886 </color>
887 <bgcolor mode="nobackground">
888 <r>255</r>
889 <g>255</g>
890 <b>255</b>
891 </bgcolor>
892 <bordermode>noborder</bordermode>
893 <borderradius>1</borderradius>
894 <borderwidth>1</borderwidth>
895 </bsbObject>
896 <bsbObject version="2" type="BSBCheckBox">
897 <objectName>convertsr</objectName>
898 <x>224</x>
899 <y>216</y>
900 <width>20</width>
901 <height>20</height>
902 <uuid>{57f660c3-d691-455f-adc2-8dc2b9ad37dc}</uuid>
903 <visible>true</visible>
904 <midichan>0</midichan>
905 <midicc>-3</midicc>
906 <selected>false</selected>
907 <label/>
908 <pressedValue>1</pressedValue>
909 <randomizable group="0">false</randomizable>
910 </bsbObject>
911 <bsbObject version="2" type="BSBLabel">
912 <objectName/>
913 <x>202</x>
914 <y>192</y>
915 <width>62</width>
916 <height>30</height>
917 <uuid>{3c00cb24-4168-42b6-9712-2c3b164a713f}</uuid>
918 <visible>true</visible>
919 <midichan>0</midichan>
920 <midicc>-3</midicc>
921 <label>convert</label>
922 <alignment>center</alignment>
923 <font>Lucida Grande</font>
924 <fontsize>14</fontsize>
925 <precision>3</precision>
926 <color>
927 <r>0</r>
928 <g>0</g>
929 <b>0</b>
930 </color>
931 <bgcolor mode="nobackground">
932 <r>255</r>
933 <g>255</g>
934 <b>255</b>
935 </bgcolor>
936 <bordermode>noborder</bordermode>
937 <borderradius>1</borderradius>
938 <borderwidth>1</borderwidth>
939 </bsbObject>
940 <bsbObject version="2" type="BSBDisplay">
941 <objectName>hor</objectName>
942 <x>302</x>
943 <y>347</y>
944 <width>32</width>
945 <height>32</height>
946 <uuid>{87ddb84f-bf28-4d96-873e-a0c53debc142}</uuid>
947 <visible>true</visible>
948 <midichan>0</midichan>
949 <midicc>-3</midicc>
950 <label>00</label>
951 <alignment>right</alignment>
952 <font>Lucida Grande</font>
953 <fontsize>18</fontsize>
954 <precision>3</precision>
955 <color>
956 <r>0</r>
957 <g>0</g>
958 <b>0</b>
959 </color>
960 <bgcolor mode="nobackground">
961 <r>255</r>
962 <g>255</g>
963 <b>255</b>
964 </bgcolor>
965 <bordermode>noborder</bordermode>
966 <borderradius>1</borderradius>
967 <borderwidth>1</borderwidth>
968 </bsbObject>
969 <bsbObject version="2" type="BSBDisplay">
970 <objectName>ms</objectName>
971 <x>437</x>
972 <y>349</y>
973 <width>44</width>
974 <height>30</height>
975 <uuid>{8779b080-2fdf-4bbe-bf88-7ae8b8498fa6}</uuid>
976 <visible>true</visible>
977 <midichan>0</midichan>
978 <midicc>-3</midicc>
979 <label>075</label>
980 <alignment>right</alignment>
981 <font>DejaVu Sans</font>
982 <fontsize>18</fontsize>
983 <precision>3</precision>
984 <color>
985 <r>0</r>
986 <g>0</g>
987 <b>0</b>
988 </color>
989 <bgcolor mode="nobackground">
990 <r>255</r>
991 <g>255</g>
992 <b>255</b>
993 </bgcolor>
994 <bordermode>noborder</bordermode>
995 <borderradius>1</borderradius>
996 <borderwidth>1</borderwidth>
997 </bsbObject>
998 <bsbObject version="2" type="BSBLabel">
999 <objectName/>
1000 <x>333</x>
1001 <y>349</y>
1002 <width>14</width>
1003 <height>29</height>
1004 <uuid>{9984c1e1-e917-4c01-83ab-2abc74e18727}</uuid>
1005 <visible>true</visible>
1006 <midichan>0</midichan>
1007 <midicc>-3</midicc>
1008 <label>:</label>
1009 <alignment>center</alignment>
1010 <font>Lucida Grande</font>
1011 <fontsize>18</fontsize>
1012 <precision>3</precision>
1013 <color>
1014 <r>0</r>
1015 <g>0</g>
1016 <b>0</b>
1017 </color>
1018 <bgcolor mode="nobackground">
1019 <r>255</r>
1020 <g>255</g>
1021 <b>255</b>
1022 </bgcolor>
1023 <bordermode>noborder</bordermode>
1024 <borderradius>1</borderradius>
1025 <borderwidth>1</borderwidth>
1026 </bsbObject>
1027 <bsbObject version="2" type="BSBLabel">
1028 <objectName/>
1029 <x>424</x>
1030 <y>348</y>
1031 <width>14</width>
1032 <height>29</height>
1033 <uuid>{12212202-7a08-49ad-ab9a-a782c1cc583f}</uuid>
1034 <visible>true</visible>
1035 <midichan>0</midichan>
1036 <midicc>-3</midicc>
1037 <label>:</label>
1038 <alignment>center</alignment>
1039 <font>Lucida Grande</font>
1040 <fontsize>18</fontsize>
1041 <precision>3</precision>
1042 <color>
1043 <r>0</r>
1044 <g>0</g>
1045 <b>0</b>
1046 </color>
1047 <bgcolor mode="nobackground">
1048 <r>255</r>
1049 <g>255</g>
1050 <b>255</b>
1051 </bgcolor>
1052 <bordermode>noborder</bordermode>
1053 <borderradius>1</borderradius>
1054 <borderwidth>1</borderwidth>
1055 </bsbObject>
1056 <bsbObject version="2" type="BSBLabel">
1057 <objectName/>
1058 <x>299</x>
1059 <y>320</y>
1060 <width>39</width>
1061 <height>29</height>
1062 <uuid>{cb2a8386-7d8a-48dc-9054-c28ee0f3f3a2}</uuid>
1063 <visible>true</visible>
1064 <midichan>0</midichan>
1065 <midicc>-3</midicc>
1066 <label>hh</label>
1067 <alignment>center</alignment>
1068 <font>Lucida Grande</font>
1069 <fontsize>14</fontsize>
1070 <precision>3</precision>
1071 <color>
1072 <r>0</r>
1073 <g>0</g>
1074 <b>0</b>
1075 </color>
1076 <bgcolor mode="nobackground">
1077 <r>255</r>
1078 <g>255</g>
1079 <b>255</b>
1080 </bgcolor>
1081 <bordermode>noborder</bordermode>
1082 <borderradius>1</borderradius>
1083 <borderwidth>1</borderwidth>
1084 </bsbObject>
1085 <bsbObject version="2" type="BSBLabel">
1086 <objectName/>
1087 <x>344</x>
1088 <y>320</y>
1089 <width>39</width>
1090 <height>29</height>
1091 <uuid>{f0b3453f-2fed-4ad0-9770-5b4f474bb9c0}</uuid>
1092 <visible>true</visible>
1093 <midichan>0</midichan>
1094 <midicc>-3</midicc>
1095 <label>min</label>
1096 <alignment>center</alignment>
1097 <font>Lucida Grande</font>
1098 <fontsize>14</fontsize>
1099 <precision>3</precision>
1100 <color>
1101 <r>0</r>
1102 <g>0</g>
1103 <b>0</b>
1104 </color>
1105 <bgcolor mode="nobackground">
1106 <r>255</r>
1107 <g>255</g>
1108 <b>255</b>
1109 </bgcolor>
1110 <bordermode>noborder</bordermode>
1111 <borderradius>1</borderradius>
1112 <borderwidth>1</borderwidth>
1113 </bsbObject>
1114 <bsbObject version="2" type="BSBLabel">
1115 <objectName/>
1116 <x>390</x>
1117 <y>320</y>
1118 <width>39</width>
1119 <height>29</height>
1120 <uuid>{072b078f-ff66-412c-acf3-e3d3947ef197}</uuid>
1121 <visible>true</visible>
1122 <midichan>0</midichan>
1123 <midicc>-3</midicc>
1124 <label>sec</label>
1125 <alignment>center</alignment>
1126 <font>Lucida Grande</font>
1127 <fontsize>14</fontsize>
1128 <precision>3</precision>
1129 <color>
1130 <r>0</r>
1131 <g>0</g>
1132 <b>0</b>
1133 </color>
1134 <bgcolor mode="nobackground">
1135 <r>255</r>
1136 <g>255</g>
1137 <b>255</b>
1138 </bgcolor>
1139 <bordermode>noborder</bordermode>
1140 <borderradius>1</borderradius>
1141 <borderwidth>1</borderwidth>
1142 </bsbObject>
1143 <bsbObject version="2" type="BSBLabel">
1144 <objectName/>
1145 <x>439</x>
1146 <y>320</y>
1147 <width>39</width>
1148 <height>29</height>
1149 <uuid>{f1be4380-79a4-40f9-a994-cef2cee3b3c1}</uuid>
1150 <visible>true</visible>
1151 <midichan>0</midichan>
1152 <midicc>-3</midicc>
1153 <label>ms</label>
1154 <alignment>center</alignment>
1155 <font>Lucida Grande</font>
1156 <fontsize>14</fontsize>
1157 <precision>3</precision>
1158 <color>
1159 <r>0</r>
1160 <g>0</g>
1161 <b>0</b>
1162 </color>
1163 <bgcolor mode="nobackground">
1164 <r>255</r>
1165 <g>255</g>
1166 <b>255</b>
1167 </bgcolor>
1168 <bordermode>noborder</bordermode>
1169 <borderradius>1</borderradius>
1170 <borderwidth>1</borderwidth>
1171 </bsbObject>
1172 <bsbObject version="2" type="BSBLabel">
1173 <objectName/>
1174 <x>277</x>
1175 <y>194</y>
1176 <width>187</width>
1177 <height>54</height>
1178 <uuid>{39ddd5a0-7219-4007-b12b-0c8269b25eab}</uuid>
1179 <visible>true</visible>
1180 <midichan>0</midichan>
1181 <midicc>-3</midicc>
1182 <label>(sample rate conversion if the sr of the file doesn't match the sr of the orchestra)</label>
1183 <alignment>center</alignment>
1184 <font>Lucida Grande</font>
1185 <fontsize>12</fontsize>
1186 <precision>3</precision>
1187 <color>
1188 <r>0</r>
1189 <g>0</g>
1190 <b>0</b>
1191 </color>
1192 <bgcolor mode="nobackground">
1193 <r>255</r>
1194 <g>255</g>
1195 <b>255</b>
1196 </bgcolor>
1197 <bordermode>noborder</bordermode>
1198 <borderradius>1</borderradius>
1199 <borderwidth>1</borderwidth>
1200 </bsbObject>
1201 <bsbObject version="2" type="BSBLabel">
1202 <objectName/>
1203 <x>49</x>
1204 <y>18</y>
1205 <width>398</width>
1206 <height>43</height>
1207 <uuid>{b6052bac-c509-4ba4-bcea-1249daef98d7}</uuid>
1208 <visible>true</visible>
1209 <midichan>0</midichan>
1210 <midicc>-3</midicc>
1211 <label>SOUNDFILE PLAYER</label>
1212 <alignment>center</alignment>
1213 <font>Lucida Grande</font>
1214 <fontsize>26</fontsize>
1215 <precision>3</precision>
1216 <color>
1217 <r>0</r>
1218 <g>0</g>
1219 <b>0</b>
1220 </color>
1221 <bgcolor mode="nobackground">
1222 <r>255</r>
1223 <g>255</g>
1224 <b>255</b>
1225 </bgcolor>
1226 <bordermode>noborder</bordermode>
1227 <borderradius>1</borderradius>
1228 <borderwidth>1</borderwidth>
1229 </bsbObject>
1230 <bsbObject version="2" type="BSBLabel">
1231 <objectName/>
1232 <x>48</x>
1233 <y>60</y>
1234 <width>398</width>
1235 <height>43</height>
1236 <uuid>{45328377-9c80-4d16-b4fa-470ce623a64f}</uuid>
1237 <visible>true</visible>
1238 <midichan>0</midichan>
1239 <midicc>-3</midicc>
1240 <label>(playing from the hard disk)</label>
1241 <alignment>center</alignment>
1242 <font>Lucida Grande</font>
1243 <fontsize>22</fontsize>
1244 <precision>3</precision>
1245 <color>
1246 <r>0</r>
1247 <g>0</g>
1248 <b>0</b>
1249 </color>
1250 <bgcolor mode="nobackground">
1251 <r>255</r>
1252 <g>255</g>
1253 <b>255</b>
1254 </bgcolor>
1255 <bordermode>noborder</bordermode>
1256 <borderradius>1</borderradius>
1257 <borderwidth>1</borderwidth>
1258 </bsbObject>
1259 </bsbPanel>
1260 <bsbPresets>
1261 </bsbPresets>