Debian Codegraph @

src/Examples/McCurdy Collection/Filters/pareq.csd

raw
1 ;Written by Iain McCurdy, 2006
2
3 ;Modified for QuteCsound by René, November 2010, updated Feb 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 ; Add table(s) for exp slider
8 ; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files
9
10
11 ;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0
12 <CsoundSynthesizer>
13 <CsOptions>
14 --env:SSDIR+=../../SourceMaterials
15 </CsOptions>
16 <CsInstruments>
17 sr = 44100 ;SAMPLE RATE
18 ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE
19 nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO)
20 0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH
21
22
23 giExp20000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0 ;TABLES FOR EXP SLIDER
24
25
26 opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz
27 ;gives stereo output regardless your soundfile is mono or stereo
28 Sfil, kspeed, iskip, iloop xin
29 ichn filenchnls Sfil
30 if ichn == 1 then
31 aL diskin2 Sfil, kspeed, iskip, iloop
32 aR = aL
33 else
34 aL, aR diskin2 Sfil, kspeed, iskip, iloop
35 endif
36 xout aL, aR
37 endop
38
39
40 instr 1 ;GUI
41 ktrig metro 10
42 if (ktrig == 1) then
43
44 Sfile_new strcpy "" ;INIT TO EMPTY STRING
45
46 kc invalue "Cutoff_Frequency"
47 gkc tablei kc, giExp20000, 1
48 outvalue "Cutoff_Frequency_Value", gkc
49 gkv invalue "Parametric_Gain"
50 gkq invalue "Q"
51 gkamp invalue "Amplitude"
52
53 gkskip invalue "Initialisation"
54 gkmode invalue "Mode"
55
56 gSfile invalue "_Browse"
57 Sfile_old strcpyk Sfile_new
58 Sfile_new strcpyk gSfile
59 gkfile strcmpk Sfile_new, Sfile_old
60 endif
61 endin
62
63 instr 2
64 kporttime linseg 0,0.001,0.005,1,0.005 ;CREATE A VARIABLE FUNCTION THAT RAPIDLY RAMPS UP TO A SET VALUE
65 kc portk gkc, kporttime ;SMOOTH MOVEMENT OF SLIDER VARIABLE
66
67 kNew_file changed gkfile ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
68 if kNew_file=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
69 reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
70 endif
71 NEW_FILE:
72 ;OUTPUTS OPCODE FILE | SPEED | INSKIP | LOOPING (0=OFF 1=ON)
73 asigL, asigR FilePlay2 gSfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A STEREO SOUND FILE
74 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
75
76 kSwitch changed gkmode, gkskip ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO)
77 if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'...
78 reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START'
79 endif
80 START:
81 aresL pareq asigL, kc, gkv, gkq, i(gkmode), i(gkskip) ;FILTER EACH CHANNEL SEPARATELY
82 aresR pareq asigR, kc, gkv, gkq, i(gkmode), i(gkskip) ;FILTER EACH CHANNEL SEPARATELY
83 rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES
84 outs aresL*gkamp, aresR*gkamp ;SEND FILTER OUTPUT TO THE AUDIO OUTPUTS
85 endin
86 </CsInstruments>
87 <CsScore>
88 ;INSTR | START | DURATION
89 i 1 0 3600 ;GUI
90 </CsScore>
91 </CsoundSynthesizer>
92
93 <bsbPanel>
94 <label>Widgets</label>
95 <objectName/>
96 <x>574</x>
97 <y>279</y>
98 <width>735</width>
99 <height>274</height>
100 <visible>true</visible>
101 <uuid/>
102 <bgcolor mode="background">
103 <r>241</r>
104 <g>226</g>
105 <b>185</b>
106 </bgcolor>
107 <bsbObject version="2" type="BSBLabel">
108 <objectName/>
109 <x>2</x>
110 <y>2</y>
111 <width>512</width>
112 <height>270</height>
113 <uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid>
114 <visible>true</visible>
115 <midichan>0</midichan>
116 <midicc>0</midicc>
117 <label>pareq</label>
118 <alignment>center</alignment>
119 <font>Liberation Sans</font>
120 <fontsize>18</fontsize>
121 <precision>3</precision>
122 <color>
123 <r>0</r>
124 <g>0</g>
125 <b>0</b>
126 </color>
127 <bgcolor mode="background">
128 <r>106</r>
129 <g>117</g>
130 <b>150</b>
131 </bgcolor>
132 <bordermode>border</bordermode>
133 <borderradius>5</borderradius>
134 <borderwidth>2</borderwidth>
135 </bsbObject>
136 <bsbObject version="2" type="BSBLabel">
137 <objectName/>
138 <x>516</x>
139 <y>2</y>
140 <width>214</width>
141 <height>270</height>
142 <uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid>
143 <visible>true</visible>
144 <midichan>0</midichan>
145 <midicc>0</midicc>
146 <label>pareq</label>
147 <alignment>center</alignment>
148 <font>Liberation Sans</font>
149 <fontsize>18</fontsize>
150 <precision>3</precision>
151 <color>
152 <r>0</r>
153 <g>0</g>
154 <b>0</b>
155 </color>
156 <bgcolor mode="background">
157 <r>106</r>
158 <g>117</g>
159 <b>150</b>
160 </bgcolor>
161 <bordermode>border</bordermode>
162 <borderradius>5</borderradius>
163 <borderwidth>2</borderwidth>
164 </bsbObject>
165 <bsbObject version="2" type="BSBLabel">
166 <objectName/>
167 <x>518</x>
168 <y>27</y>
169 <width>209</width>
170 <height>232</height>
171 <uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid>
172 <visible>true</visible>
173 <midichan>0</midichan>
174 <midicc>0</midicc>
175 <label>---------------------------------------------------------------
176 pareq is an implementation of Zoelzer's parametric equalizer filters. The interface presented here reflects pareq's input arguments and their functions should be familiar from parametric equalisers found in the studio. An output amplitude control is included to compenstate for gain peaks caused by high settings of 'Parametric Gain' and 'Q'.</label>
177 <alignment>left</alignment>
178 <font>Arial</font>
179 <fontsize>14</fontsize>
180 <precision>3</precision>
181 <color>
182 <r>0</r>
183 <g>0</g>
184 <b>0</b>
185 </color>
186 <bgcolor mode="nobackground">
187 <r>255</r>
188 <g>255</g>
189 <b>255</b>
190 </bgcolor>
191 <bordermode>noborder</bordermode>
192 <borderradius>1</borderradius>
193 <borderwidth>1</borderwidth>
194 </bsbObject>
195 <bsbObject version="2" type="BSBButton">
196 <objectName/>
197 <x>8</x>
198 <y>6</y>
199 <width>100</width>
200 <height>30</height>
201 <uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid>
202 <visible>true</visible>
203 <midichan>0</midichan>
204 <midicc>0</midicc>
205 <type>event</type>
206 <pressedValue>1.00000000</pressedValue>
207 <stringvalue/>
208 <text> ON / OFF</text>
209 <image>/</image>
210 <eventLine>i 2 0 -1</eventLine>
211 <latch>true</latch>
212 <latched>false</latched>
213 </bsbObject>
214 <bsbObject version="2" type="BSBDisplay">
215 <objectName>Cutoff_Frequency_Value</objectName>
216 <x>448</x>
217 <y>63</y>
218 <width>60</width>
219 <height>30</height>
220 <uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid>
221 <visible>true</visible>
222 <midichan>0</midichan>
223 <midicc>0</midicc>
224 <label>187.581</label>
225 <alignment>right</alignment>
226 <font>Arial</font>
227 <fontsize>9</fontsize>
228 <precision>3</precision>
229 <color>
230 <r>0</r>
231 <g>0</g>
232 <b>0</b>
233 </color>
234 <bgcolor mode="nobackground">
235 <r>255</r>
236 <g>255</g>
237 <b>255</b>
238 </bgcolor>
239 <bordermode>noborder</bordermode>
240 <borderradius>1</borderradius>
241 <borderwidth>1</borderwidth>
242 </bsbObject>
243 <bsbObject version="2" type="BSBHSlider">
244 <objectName>Cutoff_Frequency</objectName>
245 <x>8</x>
246 <y>46</y>
247 <width>500</width>
248 <height>27</height>
249 <uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid>
250 <visible>true</visible>
251 <midichan>0</midichan>
252 <midicc>0</midicc>
253 <minimum>0.00000000</minimum>
254 <maximum>1.00000000</maximum>
255 <value>0.32400000</value>
256 <mode>lin</mode>
257 <mouseControl act="jump">continuous</mouseControl>
258 <resolution>-1.00000000</resolution>
259 <randomizable group="0">false</randomizable>
260 </bsbObject>
261 <bsbObject version="2" type="BSBLabel">
262 <objectName/>
263 <x>8</x>
264 <y>63</y>
265 <width>180</width>
266 <height>30</height>
267 <uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid>
268 <visible>true</visible>
269 <midichan>0</midichan>
270 <midicc>0</midicc>
271 <label>Cutoff Frequency</label>
272 <alignment>left</alignment>
273 <font>Arial</font>
274 <fontsize>10</fontsize>
275 <precision>3</precision>
276 <color>
277 <r>0</r>
278 <g>0</g>
279 <b>0</b>
280 </color>
281 <bgcolor mode="nobackground">
282 <r>255</r>
283 <g>255</g>
284 <b>255</b>
285 </bgcolor>
286 <bordermode>noborder</bordermode>
287 <borderradius>1</borderradius>
288 <borderwidth>1</borderwidth>
289 </bsbObject>
290 <bsbObject version="2" type="BSBLabel">
291 <objectName/>
292 <x>8</x>
293 <y>101</y>
294 <width>160</width>
295 <height>30</height>
296 <uuid>{f9f4369b-a39e-45aa-ba99-7457a534535f}</uuid>
297 <visible>true</visible>
298 <midichan>0</midichan>
299 <midicc>0</midicc>
300 <label>Parametric Gain</label>
301 <alignment>left</alignment>
302 <font>Arial</font>
303 <fontsize>10</fontsize>
304 <precision>3</precision>
305 <color>
306 <r>0</r>
307 <g>0</g>
308 <b>0</b>
309 </color>
310 <bgcolor mode="nobackground">
311 <r>255</r>
312 <g>255</g>
313 <b>255</b>
314 </bgcolor>
315 <bordermode>noborder</bordermode>
316 <borderradius>1</borderradius>
317 <borderwidth>1</borderwidth>
318 </bsbObject>
319 <bsbObject version="2" type="BSBHSlider">
320 <objectName>Parametric_Gain</objectName>
321 <x>8</x>
322 <y>84</y>
323 <width>500</width>
324 <height>27</height>
325 <uuid>{42fe25e5-e98f-4f00-872c-f791822a1b3e}</uuid>
326 <visible>true</visible>
327 <midichan>0</midichan>
328 <midicc>0</midicc>
329 <minimum>0.00000000</minimum>
330 <maximum>20.00000000</maximum>
331 <value>7.60000000</value>
332 <mode>lin</mode>
333 <mouseControl act="jump">continuous</mouseControl>
334 <resolution>-1.00000000</resolution>
335 <randomizable group="0">false</randomizable>
336 </bsbObject>
337 <bsbObject version="2" type="BSBDisplay">
338 <objectName>Parametric_Gain</objectName>
339 <x>448</x>
340 <y>101</y>
341 <width>60</width>
342 <height>30</height>
343 <uuid>{a8f35453-f236-447d-88d9-1a0b135383b6}</uuid>
344 <visible>true</visible>
345 <midichan>0</midichan>
346 <midicc>0</midicc>
347 <label>7.600</label>
348 <alignment>right</alignment>
349 <font>Arial</font>
350 <fontsize>9</fontsize>
351 <precision>3</precision>
352 <color>
353 <r>0</r>
354 <g>0</g>
355 <b>0</b>
356 </color>
357 <bgcolor mode="nobackground">
358 <r>255</r>
359 <g>255</g>
360 <b>255</b>
361 </bgcolor>
362 <bordermode>noborder</bordermode>
363 <borderradius>1</borderradius>
364 <borderwidth>1</borderwidth>
365 </bsbObject>
366 <bsbObject version="2" type="BSBDisplay">
367 <objectName>Q</objectName>
368 <x>448</x>
369 <y>138</y>
370 <width>60</width>
371 <height>30</height>
372 <uuid>{4de7125b-4cc8-4769-ac1b-083ee6357f6a}</uuid>
373 <visible>true</visible>
374 <midichan>0</midichan>
375 <midicc>0</midicc>
376 <label>3.678</label>
377 <alignment>right</alignment>
378 <font>Arial</font>
379 <fontsize>9</fontsize>
380 <precision>3</precision>
381 <color>
382 <r>0</r>
383 <g>0</g>
384 <b>0</b>
385 </color>
386 <bgcolor mode="nobackground">
387 <r>255</r>
388 <g>255</g>
389 <b>255</b>
390 </bgcolor>
391 <bordermode>noborder</bordermode>
392 <borderradius>1</borderradius>
393 <borderwidth>1</borderwidth>
394 </bsbObject>
395 <bsbObject version="2" type="BSBHSlider">
396 <objectName>Q</objectName>
397 <x>8</x>
398 <y>121</y>
399 <width>500</width>
400 <height>27</height>
401 <uuid>{3fc19561-9f06-4437-8dce-93fe562391d0}</uuid>
402 <visible>true</visible>
403 <midichan>0</midichan>
404 <midicc>0</midicc>
405 <minimum>0.70700000</minimum>
406 <maximum>20.00000000</maximum>
407 <value>3.67812200</value>
408 <mode>lin</mode>
409 <mouseControl act="jump">continuous</mouseControl>
410 <resolution>-1.00000000</resolution>
411 <randomizable group="0">false</randomizable>
412 </bsbObject>
413 <bsbObject version="2" type="BSBLabel">
414 <objectName/>
415 <x>8</x>
416 <y>138</y>
417 <width>160</width>
418 <height>30</height>
419 <uuid>{c3737a58-87dd-4c87-8bea-5dd299c564ed}</uuid>
420 <visible>true</visible>
421 <midichan>0</midichan>
422 <midicc>0</midicc>
423 <label>Q</label>
424 <alignment>left</alignment>
425 <font>Arial</font>
426 <fontsize>10</fontsize>
427 <precision>3</precision>
428 <color>
429 <r>0</r>
430 <g>0</g>
431 <b>0</b>
432 </color>
433 <bgcolor mode="nobackground">
434 <r>255</r>
435 <g>255</g>
436 <b>255</b>
437 </bgcolor>
438 <bordermode>noborder</bordermode>
439 <borderradius>1</borderradius>
440 <borderwidth>1</borderwidth>
441 </bsbObject>
442 <bsbObject version="2" type="BSBDisplay">
443 <objectName>Amplitude</objectName>
444 <x>448</x>
445 <y>175</y>
446 <width>60</width>
447 <height>30</height>
448 <uuid>{3a0c526f-9ad8-46e1-9556-6e55c4e3329d}</uuid>
449 <visible>true</visible>
450 <midichan>0</midichan>
451 <midicc>0</midicc>
452 <label>0.712</label>
453 <alignment>right</alignment>
454 <font>Arial</font>
455 <fontsize>9</fontsize>
456 <precision>3</precision>
457 <color>
458 <r>0</r>
459 <g>0</g>
460 <b>0</b>
461 </color>
462 <bgcolor mode="nobackground">
463 <r>255</r>
464 <g>255</g>
465 <b>255</b>
466 </bgcolor>
467 <bordermode>noborder</bordermode>
468 <borderradius>1</borderradius>
469 <borderwidth>1</borderwidth>
470 </bsbObject>
471 <bsbObject version="2" type="BSBHSlider">
472 <objectName>Amplitude</objectName>
473 <x>8</x>
474 <y>158</y>
475 <width>500</width>
476 <height>27</height>
477 <uuid>{cd3f39f5-b9c6-4aaf-812d-9de179dee5fb}</uuid>
478 <visible>true</visible>
479 <midichan>0</midichan>
480 <midicc>0</midicc>
481 <minimum>0.00000000</minimum>
482 <maximum>4.00000000</maximum>
483 <value>0.71200000</value>
484 <mode>lin</mode>
485 <mouseControl act="jump">continuous</mouseControl>
486 <resolution>-1.00000000</resolution>
487 <randomizable group="0">false</randomizable>
488 </bsbObject>
489 <bsbObject version="2" type="BSBLabel">
490 <objectName/>
491 <x>8</x>
492 <y>175</y>
493 <width>160</width>
494 <height>30</height>
495 <uuid>{08fb4374-a1f1-4588-85b1-6b17ef1a26a6}</uuid>
496 <visible>true</visible>
497 <midichan>0</midichan>
498 <midicc>0</midicc>
499 <label>Output Amplitude</label>
500 <alignment>left</alignment>
501 <font>Arial</font>
502 <fontsize>10</fontsize>
503 <precision>3</precision>
504 <color>
505 <r>0</r>
506 <g>0</g>
507 <b>0</b>
508 </color>
509 <bgcolor mode="nobackground">
510 <r>255</r>
511 <g>255</g>
512 <b>255</b>
513 </bgcolor>
514 <bordermode>noborder</bordermode>
515 <borderradius>1</borderradius>
516 <borderwidth>1</borderwidth>
517 </bsbObject>
518 <bsbObject version="2" type="BSBButton">
519 <objectName>Initialisation</objectName>
520 <x>380</x>
521 <y>6</y>
522 <width>130</width>
523 <height>30</height>
524 <uuid>{88395e38-ecab-4818-bef3-1a18b504f914}</uuid>
525 <visible>true</visible>
526 <midichan>0</midichan>
527 <midicc>0</midicc>
528 <type>value</type>
529 <pressedValue>1.00000000</pressedValue>
530 <stringvalue/>
531 <text> No Initialisation</text>
532 <image>/</image>
533 <eventLine/>
534 <latch>true</latch>
535 <latched>false</latched>
536 </bsbObject>
537 <bsbObject version="2" type="BSBButton">
538 <objectName>_Browse</objectName>
539 <x>8</x>
540 <y>237</y>
541 <width>170</width>
542 <height>30</height>
543 <uuid>{43341095-bc3a-4607-bd0e-01254da7bc67}</uuid>
544 <visible>true</visible>
545 <midichan>0</midichan>
546 <midicc>0</midicc>
547 <type>value</type>
548 <pressedValue>1.00000000</pressedValue>
549 <stringvalue>Seashore.wav</stringvalue>
550 <text>Browse Audio File</text>
551 <image>/</image>
552 <eventLine/>
553 <latch>false</latch>
554 <latched>false</latched>
555 </bsbObject>
556 <bsbObject version="2" type="BSBLineEdit">
557 <objectName>_Browse</objectName>
558 <x>178</x>
559 <y>238</y>
560 <width>330</width>
561 <height>28</height>
562 <uuid>{b66f3878-dfd0-4290-9b9d-73be88197222}</uuid>
563 <visible>true</visible>
564 <midichan>0</midichan>
565 <midicc>0</midicc>
566 <label>Seashore.wav</label>
567 <alignment>left</alignment>
568 <font>Arial</font>
569 <fontsize>10</fontsize>
570 <precision>3</precision>
571 <color>
572 <r>0</r>
573 <g>0</g>
574 <b>0</b>
575 </color>
576 <bgcolor mode="nobackground">
577 <r>229</r>
578 <g>229</g>
579 <b>229</b>
580 </bgcolor>
581 <background>nobackground</background>
582 </bsbObject>
583 <bsbObject version="2" type="BSBLabel">
584 <objectName/>
585 <x>8</x>
586 <y>215</y>
587 <width>160</width>
588 <height>30</height>
589 <uuid>{7e1e7af4-88dd-4046-a781-fa2dc828b980}</uuid>
590 <visible>true</visible>
591 <midichan>0</midichan>
592 <midicc>0</midicc>
593 <label>File Input</label>
594 <alignment>left</alignment>
595 <font>Arial</font>
596 <fontsize>10</fontsize>
597 <precision>3</precision>
598 <color>
599 <r>0</r>
600 <g>0</g>
601 <b>0</b>
602 </color>
603 <bgcolor mode="nobackground">
604 <r>255</r>
605 <g>255</g>
606 <b>255</b>
607 </bgcolor>
608 <bordermode>noborder</bordermode>
609 <borderradius>1</borderradius>
610 <borderwidth>1</borderwidth>
611 </bsbObject>
612 <bsbObject version="2" type="BSBDropdown">
613 <objectName>Mode</objectName>
614 <x>289</x>
615 <y>201</y>
616 <width>130</width>
617 <height>30</height>
618 <uuid>{b8bfe659-5312-49a2-9638-79871f93a3c3}</uuid>
619 <visible>true</visible>
620 <midichan>0</midichan>
621 <midicc>0</midicc>
622 <bsbDropdownItemList>
623 <bsbDropdownItem>
624 <name>Peaking</name>
625 <value>0</value>
626 <stringvalue/>
627 </bsbDropdownItem>
628 <bsbDropdownItem>
629 <name>Low Shelving</name>
630 <value>1</value>
631 <stringvalue/>
632 </bsbDropdownItem>
633 <bsbDropdownItem>
634 <name>High Shelving</name>
635 <value>2</value>
636 <stringvalue/>
637 </bsbDropdownItem>
638 </bsbDropdownItemList>
639 <selectedIndex>0</selectedIndex>
640 <randomizable group="0">false</randomizable>
641 </bsbObject>
642 <bsbObject version="2" type="BSBLabel">
643 <objectName/>
644 <x>209</x>
645 <y>201</y>
646 <width>80</width>
647 <height>30</height>
648 <uuid>{ce8e6e3a-e84e-4ef0-9084-00ec44afb9ba}</uuid>
649 <visible>true</visible>
650 <midichan>0</midichan>
651 <midicc>0</midicc>
652 <label>Mode</label>
653 <alignment>right</alignment>
654 <font>Arial</font>
655 <fontsize>10</fontsize>
656 <precision>3</precision>
657 <color>
658 <r>0</r>
659 <g>0</g>
660 <b>0</b>
661 </color>
662 <bgcolor mode="nobackground">
663 <r>255</r>
664 <g>255</g>
665 <b>255</b>
666 </bgcolor>
667 <bordermode>noborder</bordermode>
668 <borderradius>1</borderradius>
669 <borderwidth>1</borderwidth>
670 </bsbObject>
671 </bsbPanel>
672 <bsbPresets>
673 </bsbPresets>
674 <EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel>