Debian Codegraph @

src/Examples/McCurdy Collection/DynamicsProcessing/NoiseGate.csd

raw
1 ;Written by Iain McCurdy, 2006
2
3 ;Modified for QuteCsound by René, January 2011
4 ;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817
5
6 ;Notes on modifications from original csd:
7
8 ;my flags on Ubuntu: -dm0 -iadc -odac -+rtaudio=jack -b16 -B4096 -+rtmidi=null
9 <CsoundSynthesizer>
10 <CsOptions>
11
12 </CsOptions>
13 <CsInstruments>
14 sr = 44100 ;SAMPLE RATE
15 ksmps = 8 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
16 nchnls = 1 ;NUMBER OF CHANNELS (1=MONO, 2=STEREO)
17 0dbfs = 1 ;MAXIMUM AMPLITUDE
18
19
20 instr 1
21 ktrig metro 10
22 if (ktrig == 1) then
23 gkgain invalue "Gain"
24 gkthresh invalue "Threshold"
25 gkatt invalue "Attack"
26 gkrel invalue "Release"
27 gkdelay invalue "Delay"
28 gkatten invalue "Attenuation"
29 gkmeter invalue "Meter"
30 endif
31
32 aL inch 1 ;READ AUDIO FROM LEFT CHANNEL INPUT
33 aL = aL * gkgain ;AUDIO SIGNALS ARE SCALED BY THE GUI GAIN CONTROL
34 kRMS rms aL ;RMS (ROOT MEAN SQUARE) OF THE AUDIO SIGNAL IS SCANNED
35 kdB = dbamp(kRMS) ;RMS OF AMPLITUDE IS CONVERTED TO DECIBELS
36
37 if (ktrig == 1) then
38 outvalue "Meter", kdB ;UPDATE AMPLITUDE METER
39 endif
40
41 kgate = (kdB<gkthresh?gkatten:0) ;CREATE A GATE SIGNAL (EITHER 1 OR ZERO DEPENDING UPON COMPARISON WITH THE THRESHOLD VALUE
42 ktime = (kdB<gkthresh?gkrel:gkatt) ;GATE STATE CHANGE TIME IS DEFINED DEPENDING ON WHETHER THE GATE SHOULD BE CLOSED OR OPEN
43 kgate portk kgate, ktime ;SMOOTH THE OPENING AND CLOSING OF THE GATE TO PREVENT CLICKS
44 aL vdelay aL, gkdelay, 2 ;DELAY THE AUDIO SIGNAL BEFORE SENDING IT TO THE OUTPUT
45 out aL * ampdb(kgate) ;SEND AUDIO TO THE OUTPUT AND APPLY THE GATING SIGNAL (CONVERTED TO AMPLITUDE)
46 endin
47
48 instr 2 ;INIT
49 outvalue "Gain" , 1.0
50 outvalue "Threshold" , -30
51 outvalue "Attack" , 0.01
52 outvalue "Release" , 0.1
53 outvalue "Delay" , 0.01
54 outvalue "Attenuation" , -40
55 endin
56 </CsInstruments>
57 <CsScore>
58 i 1 0 3600 ;INSTRUMENT 1 IS ACTIVE FOR 1 HOUR
59 i 2 0 0 ;INIT
60 </CsScore>
61 </CsoundSynthesizer>
62 <bsbPanel>
63 <label>Widgets</label>
64 <objectName/>
65 <x>505</x>
66 <y>216</y>
67 <width>824</width>
68 <height>399</height>
69 <visible>true</visible>
70 <uuid/>
71 <bgcolor mode="background">
72 <r>241</r>
73 <g>226</g>
74 <b>185</b>
75 </bgcolor>
76 <bsbObject version="2" type="BSBLabel">
77 <objectName/>
78 <x>2</x>
79 <y>2</y>
80 <width>512</width>
81 <height>396</height>
82 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
83 <visible>true</visible>
84 <midichan>0</midichan>
85 <midicc>0</midicc>
86 <label>Noise Gate</label>
87 <alignment>center</alignment>
88 <font>Liberation Sans</font>
89 <fontsize>18</fontsize>
90 <precision>3</precision>
91 <color>
92 <r>0</r>
93 <g>0</g>
94 <b>0</b>
95 </color>
96 <bgcolor mode="background">
97 <r>147</r>
98 <g>154</g>
99 <b>255</b>
100 </bgcolor>
101 <bordermode>border</bordermode>
102 <borderradius>5</borderradius>
103 <borderwidth>2</borderwidth>
104 </bsbObject>
105 <bsbObject version="2" type="BSBLabel">
106 <objectName/>
107 <x>8</x>
108 <y>64</y>
109 <width>180</width>
110 <height>30</height>
111 <uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid>
112 <visible>true</visible>
113 <midichan>0</midichan>
114 <midicc>0</midicc>
115 <label>Input Gain Control</label>
116 <alignment>left</alignment>
117 <font>Liberation Sans</font>
118 <fontsize>10</fontsize>
119 <precision>3</precision>
120 <color>
121 <r>0</r>
122 <g>0</g>
123 <b>0</b>
124 </color>
125 <bgcolor mode="nobackground">
126 <r>255</r>
127 <g>255</g>
128 <b>255</b>
129 </bgcolor>
130 <bordermode>noborder</bordermode>
131 <borderradius>1</borderradius>
132 <borderwidth>1</borderwidth>
133 </bsbObject>
134 <bsbObject version="2" type="BSBHSlider">
135 <objectName>Gain</objectName>
136 <x>8</x>
137 <y>41</y>
138 <width>500</width>
139 <height>27</height>
140 <uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid>
141 <visible>true</visible>
142 <midichan>0</midichan>
143 <midicc>0</midicc>
144 <minimum>0.00000000</minimum>
145 <maximum>5.00000000</maximum>
146 <value>1.00000000</value>
147 <mode>lin</mode>
148 <mouseControl act="jump">continuous</mouseControl>
149 <resolution>-1.00000000</resolution>
150 <randomizable group="0">false</randomizable>
151 </bsbObject>
152 <bsbObject version="2" type="BSBDisplay">
153 <objectName>Gain</objectName>
154 <x>448</x>
155 <y>64</y>
156 <width>60</width>
157 <height>30</height>
158 <uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid>
159 <visible>true</visible>
160 <midichan>0</midichan>
161 <midicc>0</midicc>
162 <label>1.000</label>
163 <alignment>right</alignment>
164 <font>Liberation Sans</font>
165 <fontsize>9</fontsize>
166 <precision>3</precision>
167 <color>
168 <r>0</r>
169 <g>0</g>
170 <b>0</b>
171 </color>
172 <bgcolor mode="nobackground">
173 <r>255</r>
174 <g>255</g>
175 <b>255</b>
176 </bgcolor>
177 <bordermode>noborder</bordermode>
178 <borderradius>1</borderradius>
179 <borderwidth>1</borderwidth>
180 </bsbObject>
181 <bsbObject version="2" type="BSBLabel">
182 <objectName/>
183 <x>517</x>
184 <y>2</y>
185 <width>302</width>
186 <height>396</height>
187 <uuid>{52d07e03-b10c-4a36-acd5-f2827b3ef558}</uuid>
188 <visible>true</visible>
189 <midichan>0</midichan>
190 <midicc>0</midicc>
191 <label>Noise Gate</label>
192 <alignment>center</alignment>
193 <font>Liberation Sans</font>
194 <fontsize>18</fontsize>
195 <precision>3</precision>
196 <color>
197 <r>0</r>
198 <g>0</g>
199 <b>0</b>
200 </color>
201 <bgcolor mode="background">
202 <r>147</r>
203 <g>154</g>
204 <b>255</b>
205 </bgcolor>
206 <bordermode>border</bordermode>
207 <borderradius>5</borderradius>
208 <borderwidth>2</borderwidth>
209 </bsbObject>
210 <bsbObject version="2" type="BSBLabel">
211 <objectName/>
212 <x>523</x>
213 <y>26</y>
214 <width>292</width>
215 <height>357</height>
216 <uuid>{887f16f8-2d28-4cd6-b66f-977a8c6f840e}</uuid>
217 <visible>true</visible>
218 <midichan>0</midichan>
219 <midicc>0</midicc>
220 <label>----------------------------------------------------------------------
221 In this example the 'rms' opcode is used to track the amplitude of audio signal. This amplitude is converted to decibels and compared to a threshold value, if it is below this value the audio signal is attenuated by a defined amount of decibels.
222 Rather than opening and closing instantly (which would create unpleasant discontinuities in the audio signal), an attack time defines how quickly the gate opens and a release time how quickly it closes. The attack of percussive instruments can sometimes be lost in the time it takes the gate to open so the audio signal to which the gate is applied can be delayed by a small amount of time to prevent this. The audio which is scanned in the first place is always the undelayed signal.</label>
223 <alignment>left</alignment>
224 <font>Liberation Sans</font>
225 <fontsize>14</fontsize>
226 <precision>3</precision>
227 <color>
228 <r>0</r>
229 <g>0</g>
230 <b>0</b>
231 </color>
232 <bgcolor mode="nobackground">
233 <r>255</r>
234 <g>255</g>
235 <b>255</b>
236 </bgcolor>
237 <bordermode>noborder</bordermode>
238 <borderradius>1</borderradius>
239 <borderwidth>1</borderwidth>
240 </bsbObject>
241 <bsbObject version="2" type="BSBLabel">
242 <objectName/>
243 <x>8</x>
244 <y>112</y>
245 <width>180</width>
246 <height>30</height>
247 <uuid>{88fd26ab-b3d0-4374-afeb-4bbf7501191f}</uuid>
248 <visible>true</visible>
249 <midichan>0</midichan>
250 <midicc>0</midicc>
251 <label>Threshold</label>
252 <alignment>left</alignment>
253 <font>Liberation Sans</font>
254 <fontsize>10</fontsize>
255 <precision>3</precision>
256 <color>
257 <r>0</r>
258 <g>0</g>
259 <b>0</b>
260 </color>
261 <bgcolor mode="nobackground">
262 <r>255</r>
263 <g>255</g>
264 <b>255</b>
265 </bgcolor>
266 <bordermode>noborder</bordermode>
267 <borderradius>1</borderradius>
268 <borderwidth>1</borderwidth>
269 </bsbObject>
270 <bsbObject version="2" type="BSBHSlider">
271 <objectName>Threshold</objectName>
272 <x>8</x>
273 <y>89</y>
274 <width>500</width>
275 <height>27</height>
276 <uuid>{7781209e-ceb5-4684-a6c7-ac24fd0bfb47}</uuid>
277 <visible>true</visible>
278 <midichan>0</midichan>
279 <midicc>0</midicc>
280 <minimum>-90.00000000</minimum>
281 <maximum>0.00000000</maximum>
282 <value>-30.00000000</value>
283 <mode>lin</mode>
284 <mouseControl act="jump">continuous</mouseControl>
285 <resolution>-1.00000000</resolution>
286 <randomizable group="0">false</randomizable>
287 </bsbObject>
288 <bsbObject version="2" type="BSBDisplay">
289 <objectName>Threshold</objectName>
290 <x>448</x>
291 <y>112</y>
292 <width>60</width>
293 <height>30</height>
294 <uuid>{19c429fe-ac90-44b7-b5c0-f22a74fe4613}</uuid>
295 <visible>true</visible>
296 <midichan>0</midichan>
297 <midicc>0</midicc>
298 <label>-30.000</label>
299 <alignment>right</alignment>
300 <font>Liberation Sans</font>
301 <fontsize>9</fontsize>
302 <precision>3</precision>
303 <color>
304 <r>0</r>
305 <g>0</g>
306 <b>0</b>
307 </color>
308 <bgcolor mode="nobackground">
309 <r>255</r>
310 <g>255</g>
311 <b>255</b>
312 </bgcolor>
313 <bordermode>noborder</bordermode>
314 <borderradius>1</borderradius>
315 <borderwidth>1</borderwidth>
316 </bsbObject>
317 <bsbObject version="2" type="BSBLabel">
318 <objectName/>
319 <x>8</x>
320 <y>160</y>
321 <width>180</width>
322 <height>30</height>
323 <uuid>{95ab7a93-2fb1-48b1-b644-5de5fbec8c10}</uuid>
324 <visible>true</visible>
325 <midichan>0</midichan>
326 <midicc>0</midicc>
327 <label>Attack Time</label>
328 <alignment>left</alignment>
329 <font>Liberation Sans</font>
330 <fontsize>10</fontsize>
331 <precision>3</precision>
332 <color>
333 <r>0</r>
334 <g>0</g>
335 <b>0</b>
336 </color>
337 <bgcolor mode="nobackground">
338 <r>255</r>
339 <g>255</g>
340 <b>255</b>
341 </bgcolor>
342 <bordermode>noborder</bordermode>
343 <borderradius>1</borderradius>
344 <borderwidth>1</borderwidth>
345 </bsbObject>
346 <bsbObject version="2" type="BSBHSlider">
347 <objectName>Attack</objectName>
348 <x>8</x>
349 <y>137</y>
350 <width>500</width>
351 <height>27</height>
352 <uuid>{7d4b42e7-1928-490c-81d1-da1273f263db}</uuid>
353 <visible>true</visible>
354 <midichan>0</midichan>
355 <midicc>0</midicc>
356 <minimum>0.00010000</minimum>
357 <maximum>2.00000000</maximum>
358 <value>0.01000000</value>
359 <mode>lin</mode>
360 <mouseControl act="jump">continuous</mouseControl>
361 <resolution>-1.00000000</resolution>
362 <randomizable group="0">false</randomizable>
363 </bsbObject>
364 <bsbObject version="2" type="BSBDisplay">
365 <objectName>Attack</objectName>
366 <x>448</x>
367 <y>160</y>
368 <width>60</width>
369 <height>30</height>
370 <uuid>{ceb6b043-48c8-483a-afd0-789e7d185a1b}</uuid>
371 <visible>true</visible>
372 <midichan>0</midichan>
373 <midicc>0</midicc>
374 <label>0.010</label>
375 <alignment>right</alignment>
376 <font>Liberation Sans</font>
377 <fontsize>9</fontsize>
378 <precision>3</precision>
379 <color>
380 <r>0</r>
381 <g>0</g>
382 <b>0</b>
383 </color>
384 <bgcolor mode="nobackground">
385 <r>255</r>
386 <g>255</g>
387 <b>255</b>
388 </bgcolor>
389 <bordermode>noborder</bordermode>
390 <borderradius>1</borderradius>
391 <borderwidth>1</borderwidth>
392 </bsbObject>
393 <bsbObject version="2" type="BSBLabel">
394 <objectName/>
395 <x>8</x>
396 <y>208</y>
397 <width>180</width>
398 <height>30</height>
399 <uuid>{73f000b0-8d21-44e4-9abb-431f797ff403}</uuid>
400 <visible>true</visible>
401 <midichan>0</midichan>
402 <midicc>0</midicc>
403 <label>Release Time</label>
404 <alignment>left</alignment>
405 <font>Liberation Sans</font>
406 <fontsize>10</fontsize>
407 <precision>3</precision>
408 <color>
409 <r>0</r>
410 <g>0</g>
411 <b>0</b>
412 </color>
413 <bgcolor mode="nobackground">
414 <r>255</r>
415 <g>255</g>
416 <b>255</b>
417 </bgcolor>
418 <bordermode>noborder</bordermode>
419 <borderradius>1</borderradius>
420 <borderwidth>1</borderwidth>
421 </bsbObject>
422 <bsbObject version="2" type="BSBHSlider">
423 <objectName>Release</objectName>
424 <x>8</x>
425 <y>185</y>
426 <width>500</width>
427 <height>27</height>
428 <uuid>{c33866f6-c383-498a-9b03-6758892edf54}</uuid>
429 <visible>true</visible>
430 <midichan>0</midichan>
431 <midicc>0</midicc>
432 <minimum>0.00010000</minimum>
433 <maximum>2.00000000</maximum>
434 <value>0.10000000</value>
435 <mode>lin</mode>
436 <mouseControl act="jump">continuous</mouseControl>
437 <resolution>-1.00000000</resolution>
438 <randomizable group="0">false</randomizable>
439 </bsbObject>
440 <bsbObject version="2" type="BSBDisplay">
441 <objectName>Release</objectName>
442 <x>448</x>
443 <y>208</y>
444 <width>60</width>
445 <height>30</height>
446 <uuid>{7e60129f-b001-4cc3-8a1c-edb88e3f8dd9}</uuid>
447 <visible>true</visible>
448 <midichan>0</midichan>
449 <midicc>0</midicc>
450 <label>0.100</label>
451 <alignment>right</alignment>
452 <font>Liberation Sans</font>
453 <fontsize>9</fontsize>
454 <precision>3</precision>
455 <color>
456 <r>0</r>
457 <g>0</g>
458 <b>0</b>
459 </color>
460 <bgcolor mode="nobackground">
461 <r>255</r>
462 <g>255</g>
463 <b>255</b>
464 </bgcolor>
465 <bordermode>noborder</bordermode>
466 <borderradius>1</borderradius>
467 <borderwidth>1</borderwidth>
468 </bsbObject>
469 <bsbObject version="2" type="BSBLabel">
470 <objectName/>
471 <x>8</x>
472 <y>256</y>
473 <width>180</width>
474 <height>30</height>
475 <uuid>{53a63bf3-316b-412d-807d-cf5b29cba8e9}</uuid>
476 <visible>true</visible>
477 <midichan>0</midichan>
478 <midicc>0</midicc>
479 <label>Delay</label>
480 <alignment>left</alignment>
481 <font>Liberation Sans</font>
482 <fontsize>10</fontsize>
483 <precision>3</precision>
484 <color>
485 <r>0</r>
486 <g>0</g>
487 <b>0</b>
488 </color>
489 <bgcolor mode="nobackground">
490 <r>255</r>
491 <g>255</g>
492 <b>255</b>
493 </bgcolor>
494 <bordermode>noborder</bordermode>
495 <borderradius>1</borderradius>
496 <borderwidth>1</borderwidth>
497 </bsbObject>
498 <bsbObject version="2" type="BSBHSlider">
499 <objectName>Delay</objectName>
500 <x>8</x>
501 <y>233</y>
502 <width>500</width>
503 <height>27</height>
504 <uuid>{dd0913fc-1d52-453c-969a-2608bbd892e8}</uuid>
505 <visible>true</visible>
506 <midichan>0</midichan>
507 <midicc>0</midicc>
508 <minimum>0.00010000</minimum>
509 <maximum>2.00000000</maximum>
510 <value>0.01000000</value>
511 <mode>lin</mode>
512 <mouseControl act="jump">continuous</mouseControl>
513 <resolution>-1.00000000</resolution>
514 <randomizable group="0">false</randomizable>
515 </bsbObject>
516 <bsbObject version="2" type="BSBDisplay">
517 <objectName>Delay</objectName>
518 <x>448</x>
519 <y>256</y>
520 <width>60</width>
521 <height>30</height>
522 <uuid>{a095c883-4007-439c-a6e4-0931648a1346}</uuid>
523 <visible>true</visible>
524 <midichan>0</midichan>
525 <midicc>0</midicc>
526 <label>0.010</label>
527 <alignment>right</alignment>
528 <font>Liberation Sans</font>
529 <fontsize>9</fontsize>
530 <precision>3</precision>
531 <color>
532 <r>0</r>
533 <g>0</g>
534 <b>0</b>
535 </color>
536 <bgcolor mode="nobackground">
537 <r>255</r>
538 <g>255</g>
539 <b>255</b>
540 </bgcolor>
541 <bordermode>noborder</bordermode>
542 <borderradius>1</borderradius>
543 <borderwidth>1</borderwidth>
544 </bsbObject>
545 <bsbObject version="2" type="BSBLabel">
546 <objectName/>
547 <x>8</x>
548 <y>304</y>
549 <width>180</width>
550 <height>30</height>
551 <uuid>{10589c11-749b-42b0-89d2-8f7506eda97d}</uuid>
552 <visible>true</visible>
553 <midichan>0</midichan>
554 <midicc>0</midicc>
555 <label>Attenuation</label>
556 <alignment>left</alignment>
557 <font>Liberation Sans</font>
558 <fontsize>10</fontsize>
559 <precision>3</precision>
560 <color>
561 <r>0</r>
562 <g>0</g>
563 <b>0</b>
564 </color>
565 <bgcolor mode="nobackground">
566 <r>255</r>
567 <g>255</g>
568 <b>255</b>
569 </bgcolor>
570 <bordermode>noborder</bordermode>
571 <borderradius>1</borderradius>
572 <borderwidth>1</borderwidth>
573 </bsbObject>
574 <bsbObject version="2" type="BSBHSlider">
575 <objectName>Attenuation</objectName>
576 <x>8</x>
577 <y>281</y>
578 <width>500</width>
579 <height>27</height>
580 <uuid>{0a6cb9ee-8cdf-4542-97d6-bd204214dc96}</uuid>
581 <visible>true</visible>
582 <midichan>0</midichan>
583 <midicc>0</midicc>
584 <minimum>-90.00000000</minimum>
585 <maximum>0.00000000</maximum>
586 <value>-40.00000000</value>
587 <mode>lin</mode>
588 <mouseControl act="jump">continuous</mouseControl>
589 <resolution>-1.00000000</resolution>
590 <randomizable group="0">false</randomizable>
591 </bsbObject>
592 <bsbObject version="2" type="BSBDisplay">
593 <objectName>Attenuation</objectName>
594 <x>448</x>
595 <y>304</y>
596 <width>60</width>
597 <height>30</height>
598 <uuid>{58dc5624-5d64-49b3-a963-9829791a3725}</uuid>
599 <visible>true</visible>
600 <midichan>0</midichan>
601 <midicc>0</midicc>
602 <label>-40.000</label>
603 <alignment>right</alignment>
604 <font>Liberation Sans</font>
605 <fontsize>9</fontsize>
606 <precision>3</precision>
607 <color>
608 <r>0</r>
609 <g>0</g>
610 <b>0</b>
611 </color>
612 <bgcolor mode="nobackground">
613 <r>255</r>
614 <g>255</g>
615 <b>255</b>
616 </bgcolor>
617 <bordermode>noborder</bordermode>
618 <borderradius>1</borderradius>
619 <borderwidth>1</borderwidth>
620 </bsbObject>
621 <bsbObject version="2" type="BSBController">
622 <objectName>Meter</objectName>
623 <x>8</x>
624 <y>343</y>
625 <width>500</width>
626 <height>24</height>
627 <uuid>{0c6b5def-91fd-4606-ac9c-69a22929b744}</uuid>
628 <visible>true</visible>
629 <midichan>0</midichan>
630 <midicc>0</midicc>
631 <objectName2/>
632 <xMin>-90.00000000</xMin>
633 <xMax>0.00000000</xMax>
634 <yMin>0.00000000</yMin>
635 <yMax>1.00000000</yMax>
636 <xValue>-27.38463402</xValue>
637 <yValue>0.00000000</yValue>
638 <type>fill</type>
639 <pointsize>1</pointsize>
640 <fadeSpeed>0.00000000</fadeSpeed>
641 <mouseControl act="press">jump</mouseControl>
642 <color>
643 <r>0</r>
644 <g>234</g>
645 <b>0</b>
646 </color>
647 <randomizable mode="both" group="0">false</randomizable>
648 <bgcolor>
649 <r>0</r>
650 <g>0</g>
651 <b>0</b>
652 </bgcolor>
653 </bsbObject>
654 <bsbObject version="2" type="BSBLabel">
655 <objectName/>
656 <x>8</x>
657 <y>367</y>
658 <width>180</width>
659 <height>30</height>
660 <uuid>{1e70a9ff-d1d7-4700-b0a1-5315f2c9c277}</uuid>
661 <visible>true</visible>
662 <midichan>0</midichan>
663 <midicc>0</midicc>
664 <label>RMS Meter (dB)</label>
665 <alignment>left</alignment>
666 <font>Liberation Sans</font>
667 <fontsize>10</fontsize>
668 <precision>3</precision>
669 <color>
670 <r>0</r>
671 <g>0</g>
672 <b>0</b>
673 </color>
674 <bgcolor mode="nobackground">
675 <r>255</r>
676 <g>255</g>
677 <b>255</b>
678 </bgcolor>
679 <bordermode>noborder</bordermode>
680 <borderradius>1</borderradius>
681 <borderwidth>1</borderwidth>
682 </bsbObject>
683 </bsbPanel>
684 <bsbPresets>
685 </bsbPresets>
686 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>