| 1 |
;Written by Iain McCurdy, 2010 |
| 2 |
|
| 3 |
;Modified for QuteCsound by René, January 2011, updated Feb 2011 |
| 4 |
;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 5 |
|
| 6 |
|
| 7 |
;Notes on modifications from original csd: |
| 8 |
; Add tables for exp slider |
| 9 |
; Add Browser for audio files and use of FilePlay2 udo, now accept mono or stereo wav files |
| 10 |
|
| 11 |
|
| 12 |
;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 |
| 13 |
<CsoundSynthesizer> |
| 14 |
<CsOptions> |
| 15 |
--env:SSDIR+=../../SourceMaterials |
| 16 |
</CsOptions> |
| 17 |
<CsInstruments> |
| 18 |
sr = 44100 ;SAMPLE RATE |
| 19 |
ksmps = 16 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 20 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 21 |
|
| 22 |
|
| 23 |
;TABLES FOR EXP SLIDER |
| 24 |
giExp1 ftgen 0, 0, 129, -25, 0, 0.001, 128, 1.0 |
| 25 |
giExp100 ftgen 0, 0, 129, -25, 0, 0.01, 128, 100.0 |
| 26 |
giExp32768 ftgen 0, 0, 129, -25, 0, 1.0, 128, 32768.0 |
| 27 |
|
| 28 |
|
| 29 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 30 |
;gives stereo output regardless your soundfile is mono or stereo |
| 31 |
Sfil, kspeed, iskip, iloop xin |
| 32 |
ichn filenchnls Sfil |
| 33 |
if ichn == 1 then |
| 34 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 35 |
aR = aL |
| 36 |
else |
| 37 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 38 |
endif |
| 39 |
xout aL, aR |
| 40 |
endop |
| 41 |
|
| 42 |
|
| 43 |
instr 10 ;GUI |
| 44 |
ktrig metro 10 |
| 45 |
if (ktrig == 1) then |
| 46 |
kthreshold invalue "Threshold" |
| 47 |
gkthreshold tablei kthreshold, giExp32768, 1 |
| 48 |
outvalue "Threshold_Value", gkthreshold |
| 49 |
|
| 50 |
kcomp1 invalue "Compr_Up" |
| 51 |
gkcomp1 tablei kcomp1, giExp100, 1 |
| 52 |
outvalue "Compr_Up_Value", gkcomp1 |
| 53 |
|
| 54 |
kcomp2 invalue "Compr_Low" |
| 55 |
gkcomp2 tablei kcomp2, giExp100, 1 |
| 56 |
outvalue "Compr_Low_Value", gkcomp2 |
| 57 |
|
| 58 |
krtime invalue "Rise" |
| 59 |
gkrtime tablei krtime, giExp1, 1 |
| 60 |
outvalue "Rise_Value", gkrtime |
| 61 |
|
| 62 |
kftime invalue "Fall" |
| 63 |
gkftime tablei kftime, giExp1, 1 |
| 64 |
outvalue "Fall_Value", gkftime |
| 65 |
|
| 66 |
kgain invalue "Gain" |
| 67 |
gkgain tablei kgain, giExp100, 1 |
| 68 |
outvalue "Gain_Value", gkgain |
| 69 |
|
| 70 |
gkInGain invalue "Live_Gain" |
| 71 |
gkinput invalue "Input" |
| 72 |
endif |
| 73 |
endin |
| 74 |
|
| 75 |
instr 1 |
| 76 |
Sfile_new strcpy "" ;INIT TO EMPTY STRING |
| 77 |
Sfile invalue "_Browse" |
| 78 |
Sfile_old strcpyk Sfile_new |
| 79 |
Sfile_new strcpyk Sfile |
| 80 |
kfile strcmpk Sfile_new, Sfile_old |
| 81 |
|
| 82 |
if kfile != 0 then ;IF A BANG HAD BEEN GENERATED IN THE LINE ABOVE |
| 83 |
reinit NEW_FILE ;REINITIALIZE FROM LABEL 'NEW_FILE' |
| 84 |
endif |
| 85 |
|
| 86 |
if gkinput=0 then |
| 87 |
aSigL, aSigR ins |
| 88 |
aSigL = aSigL*gkInGain |
| 89 |
aSigR = aSigR*gkInGain |
| 90 |
else |
| 91 |
NEW_FILE: |
| 92 |
aSigL, aSigR FilePlay2 Sfile, 1, 0, 1 |
| 93 |
rireturn |
| 94 |
endif |
| 95 |
|
| 96 |
ktrig changed gkcomp1, gkcomp2, gkrtime, gkftime |
| 97 |
if ktrig=1 then |
| 98 |
reinit UPDATE |
| 99 |
endif |
| 100 |
UPDATE: |
| 101 |
aCompL dam aSigL, gkthreshold, i(gkcomp1), i(gkcomp2), i(gkrtime), i(gkftime) |
| 102 |
aCompR dam aSigR, gkthreshold, i(gkcomp1), i(gkcomp2), i(gkrtime), i(gkftime) |
| 103 |
rireturn |
| 104 |
outs aCompL*gkgain, aCompR*gkgain |
| 105 |
endin |
| 106 |
</CsInstruments> |
| 107 |
<CsScore> |
| 108 |
;INSTR | START | DURATION |
| 109 |
i 10 0 3600 ;GUI |
| 110 |
</CsScore> |
| 111 |
</CsoundSynthesizer> |
| 112 |
|
| 113 |
<bsbPanel> |
| 114 |
<label>Widgets</label> |
| 115 |
<objectName/> |
| 116 |
<x>546</x> |
| 117 |
<y>400</y> |
| 118 |
<width>771</width> |
| 119 |
<height>362</height> |
| 120 |
<visible>true</visible> |
| 121 |
<uuid/> |
| 122 |
<bgcolor mode="background"> |
| 123 |
<r>241</r> |
| 124 |
<g>226</g> |
| 125 |
<b>185</b> |
| 126 |
</bgcolor> |
| 127 |
<bsbObject version="2" type="BSBLabel"> |
| 128 |
<objectName/> |
| 129 |
<x>2</x> |
| 130 |
<y>2</y> |
| 131 |
<width>512</width> |
| 132 |
<height>360</height> |
| 133 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 134 |
<visible>true</visible> |
| 135 |
<midichan>0</midichan> |
| 136 |
<midicc>0</midicc> |
| 137 |
<label>dam</label> |
| 138 |
<alignment>center</alignment> |
| 139 |
<font>Liberation Sans</font> |
| 140 |
<fontsize>18</fontsize> |
| 141 |
<precision>3</precision> |
| 142 |
<color> |
| 143 |
<r>0</r> |
| 144 |
<g>0</g> |
| 145 |
<b>0</b> |
| 146 |
</color> |
| 147 |
<bgcolor mode="background"> |
| 148 |
<r>147</r> |
| 149 |
<g>154</g> |
| 150 |
<b>255</b> |
| 151 |
</bgcolor> |
| 152 |
<bordermode>border</bordermode> |
| 153 |
<borderradius>5</borderradius> |
| 154 |
<borderwidth>2</borderwidth> |
| 155 |
</bsbObject> |
| 156 |
<bsbObject version="2" type="BSBButton"> |
| 157 |
<objectName/> |
| 158 |
<x>8</x> |
| 159 |
<y>8</y> |
| 160 |
<width>100</width> |
| 161 |
<height>30</height> |
| 162 |
<uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> |
| 163 |
<visible>true</visible> |
| 164 |
<midichan>0</midichan> |
| 165 |
<midicc>0</midicc> |
| 166 |
<type>event</type> |
| 167 |
<pressedValue>1.00000000</pressedValue> |
| 168 |
<stringvalue/> |
| 169 |
<text> On / Off</text> |
| 170 |
<image>/</image> |
| 171 |
<eventLine>i1 0 -1</eventLine> |
| 172 |
<latch>true</latch> |
| 173 |
<latched>false</latched> |
| 174 |
</bsbObject> |
| 175 |
<bsbObject version="2" type="BSBButton"> |
| 176 |
<objectName>_Browse</objectName> |
| 177 |
<x>10</x> |
| 178 |
<y>103</y> |
| 179 |
<width>170</width> |
| 180 |
<height>30</height> |
| 181 |
<uuid>{b9431a61-61f7-432b-bf6f-c47ddc7f9050}</uuid> |
| 182 |
<visible>true</visible> |
| 183 |
<midichan>0</midichan> |
| 184 |
<midicc>0</midicc> |
| 185 |
<type>value</type> |
| 186 |
<pressedValue>1.00000000</pressedValue> |
| 187 |
<stringvalue>808loop.wav</stringvalue> |
| 188 |
<text>Browse Audio File</text> |
| 189 |
<image>/</image> |
| 190 |
<eventLine/> |
| 191 |
<latch>false</latch> |
| 192 |
<latched>false</latched> |
| 193 |
</bsbObject> |
| 194 |
<bsbObject version="2" type="BSBLineEdit"> |
| 195 |
<objectName>_Browse</objectName> |
| 196 |
<x>181</x> |
| 197 |
<y>104</y> |
| 198 |
<width>326</width> |
| 199 |
<height>28</height> |
| 200 |
<uuid>{68b5f90b-b78e-4581-b434-232db5f4c40f}</uuid> |
| 201 |
<visible>true</visible> |
| 202 |
<midichan>0</midichan> |
| 203 |
<midicc>0</midicc> |
| 204 |
<label>808loop.wav</label> |
| 205 |
<alignment>left</alignment> |
| 206 |
<font>Liberation Sans</font> |
| 207 |
<fontsize>10</fontsize> |
| 208 |
<precision>3</precision> |
| 209 |
<color> |
| 210 |
<r>0</r> |
| 211 |
<g>0</g> |
| 212 |
<b>0</b> |
| 213 |
</color> |
| 214 |
<bgcolor mode="nobackground"> |
| 215 |
<r>229</r> |
| 216 |
<g>229</g> |
| 217 |
<b>229</b> |
| 218 |
</bgcolor> |
| 219 |
<background>nobackground</background> |
| 220 |
</bsbObject> |
| 221 |
<bsbObject version="2" type="BSBDropdown"> |
| 222 |
<objectName>Input</objectName> |
| 223 |
<x>331</x> |
| 224 |
<y>61</y> |
| 225 |
<width>120</width> |
| 226 |
<height>30</height> |
| 227 |
<uuid>{be1f1edc-082e-4433-a418-1e81baf4e305}</uuid> |
| 228 |
<visible>true</visible> |
| 229 |
<midichan>0</midichan> |
| 230 |
<midicc>0</midicc> |
| 231 |
<bsbDropdownItemList> |
| 232 |
<bsbDropdownItem> |
| 233 |
<name>Live</name> |
| 234 |
<value>0</value> |
| 235 |
<stringvalue/> |
| 236 |
</bsbDropdownItem> |
| 237 |
<bsbDropdownItem> |
| 238 |
<name> Audio File</name> |
| 239 |
<value>1</value> |
| 240 |
<stringvalue/> |
| 241 |
</bsbDropdownItem> |
| 242 |
</bsbDropdownItemList> |
| 243 |
<selectedIndex>1</selectedIndex> |
| 244 |
<randomizable group="0">false</randomizable> |
| 245 |
</bsbObject> |
| 246 |
<bsbObject version="2" type="BSBLabel"> |
| 247 |
<objectName/> |
| 248 |
<x>8</x> |
| 249 |
<y>78</y> |
| 250 |
<width>120</width> |
| 251 |
<height>30</height> |
| 252 |
<uuid>{2c897206-0dbc-47b5-ba68-915d83839ab6}</uuid> |
| 253 |
<visible>true</visible> |
| 254 |
<midichan>0</midichan> |
| 255 |
<midicc>0</midicc> |
| 256 |
<label>Live Input Gain</label> |
| 257 |
<alignment>left</alignment> |
| 258 |
<font>Liberation Sans</font> |
| 259 |
<fontsize>10</fontsize> |
| 260 |
<precision>3</precision> |
| 261 |
<color> |
| 262 |
<r>0</r> |
| 263 |
<g>0</g> |
| 264 |
<b>0</b> |
| 265 |
</color> |
| 266 |
<bgcolor mode="nobackground"> |
| 267 |
<r>255</r> |
| 268 |
<g>255</g> |
| 269 |
<b>255</b> |
| 270 |
</bgcolor> |
| 271 |
<bordermode>noborder</bordermode> |
| 272 |
<borderradius>1</borderradius> |
| 273 |
<borderwidth>1</borderwidth> |
| 274 |
</bsbObject> |
| 275 |
<bsbObject version="2" type="BSBHSlider"> |
| 276 |
<objectName>Live_Gain</objectName> |
| 277 |
<x>8</x> |
| 278 |
<y>61</y> |
| 279 |
<width>300</width> |
| 280 |
<height>27</height> |
| 281 |
<uuid>{304e78d8-b320-453a-b28f-86b0ca872b86}</uuid> |
| 282 |
<visible>true</visible> |
| 283 |
<midichan>0</midichan> |
| 284 |
<midicc>0</midicc> |
| 285 |
<minimum>0.00000000</minimum> |
| 286 |
<maximum>1.00000000</maximum> |
| 287 |
<value>0.30666667</value> |
| 288 |
<mode>lin</mode> |
| 289 |
<mouseControl act="jump">continuous</mouseControl> |
| 290 |
<resolution>-1.00000000</resolution> |
| 291 |
<randomizable group="0">false</randomizable> |
| 292 |
</bsbObject> |
| 293 |
<bsbObject version="2" type="BSBDisplay"> |
| 294 |
<objectName>Live_Gain</objectName> |
| 295 |
<x>248</x> |
| 296 |
<y>78</y> |
| 297 |
<width>60</width> |
| 298 |
<height>30</height> |
| 299 |
<uuid>{94c7e961-7981-4d21-942f-80bcc647daf5}</uuid> |
| 300 |
<visible>true</visible> |
| 301 |
<midichan>0</midichan> |
| 302 |
<midicc>0</midicc> |
| 303 |
<label>0.307</label> |
| 304 |
<alignment>right</alignment> |
| 305 |
<font>Liberation Sans</font> |
| 306 |
<fontsize>9</fontsize> |
| 307 |
<precision>3</precision> |
| 308 |
<color> |
| 309 |
<r>0</r> |
| 310 |
<g>0</g> |
| 311 |
<b>0</b> |
| 312 |
</color> |
| 313 |
<bgcolor mode="nobackground"> |
| 314 |
<r>255</r> |
| 315 |
<g>255</g> |
| 316 |
<b>255</b> |
| 317 |
</bgcolor> |
| 318 |
<bordermode>noborder</bordermode> |
| 319 |
<borderradius>1</borderradius> |
| 320 |
<borderwidth>1</borderwidth> |
| 321 |
</bsbObject> |
| 322 |
<bsbObject version="2" type="BSBLabel"> |
| 323 |
<objectName/> |
| 324 |
<x>8</x> |
| 325 |
<y>156</y> |
| 326 |
<width>180</width> |
| 327 |
<height>30</height> |
| 328 |
<uuid>{76044785-79c4-4202-b7ce-07aee4868219}</uuid> |
| 329 |
<visible>true</visible> |
| 330 |
<midichan>0</midichan> |
| 331 |
<midicc>0</midicc> |
| 332 |
<label>Threshold (amp. val.)</label> |
| 333 |
<alignment>left</alignment> |
| 334 |
<font>Liberation Sans</font> |
| 335 |
<fontsize>10</fontsize> |
| 336 |
<precision>3</precision> |
| 337 |
<color> |
| 338 |
<r>0</r> |
| 339 |
<g>0</g> |
| 340 |
<b>0</b> |
| 341 |
</color> |
| 342 |
<bgcolor mode="nobackground"> |
| 343 |
<r>255</r> |
| 344 |
<g>255</g> |
| 345 |
<b>255</b> |
| 346 |
</bgcolor> |
| 347 |
<bordermode>noborder</bordermode> |
| 348 |
<borderradius>1</borderradius> |
| 349 |
<borderwidth>1</borderwidth> |
| 350 |
</bsbObject> |
| 351 |
<bsbObject version="2" type="BSBHSlider"> |
| 352 |
<objectName>Threshold</objectName> |
| 353 |
<x>8</x> |
| 354 |
<y>139</y> |
| 355 |
<width>500</width> |
| 356 |
<height>27</height> |
| 357 |
<uuid>{0f952e77-ff9b-4621-b1af-23252bb9c2a6}</uuid> |
| 358 |
<visible>true</visible> |
| 359 |
<midichan>0</midichan> |
| 360 |
<midicc>0</midicc> |
| 361 |
<minimum>0.00000000</minimum> |
| 362 |
<maximum>1.00000000</maximum> |
| 363 |
<value>0.51000000</value> |
| 364 |
<mode>lin</mode> |
| 365 |
<mouseControl act="jump">continuous</mouseControl> |
| 366 |
<resolution>-1.00000000</resolution> |
| 367 |
<randomizable group="0">false</randomizable> |
| 368 |
</bsbObject> |
| 369 |
<bsbObject version="2" type="BSBDisplay"> |
| 370 |
<objectName>Threshold_Value</objectName> |
| 371 |
<x>448</x> |
| 372 |
<y>156</y> |
| 373 |
<width>60</width> |
| 374 |
<height>30</height> |
| 375 |
<uuid>{7b92c0ca-2fe8-4b4f-9ed0-f618c1b3cb5c}</uuid> |
| 376 |
<visible>true</visible> |
| 377 |
<midichan>0</midichan> |
| 378 |
<midicc>0</midicc> |
| 379 |
<label>200.988</label> |
| 380 |
<alignment>right</alignment> |
| 381 |
<font>Liberation Sans</font> |
| 382 |
<fontsize>9</fontsize> |
| 383 |
<precision>3</precision> |
| 384 |
<color> |
| 385 |
<r>0</r> |
| 386 |
<g>0</g> |
| 387 |
<b>0</b> |
| 388 |
</color> |
| 389 |
<bgcolor mode="nobackground"> |
| 390 |
<r>255</r> |
| 391 |
<g>255</g> |
| 392 |
<b>255</b> |
| 393 |
</bgcolor> |
| 394 |
<bordermode>noborder</bordermode> |
| 395 |
<borderradius>1</borderradius> |
| 396 |
<borderwidth>1</borderwidth> |
| 397 |
</bsbObject> |
| 398 |
<bsbObject version="2" type="BSBLabel"> |
| 399 |
<objectName/> |
| 400 |
<x>8</x> |
| 401 |
<y>191</y> |
| 402 |
<width>200</width> |
| 403 |
<height>30</height> |
| 404 |
<uuid>{ca41878c-b561-486b-9cf9-d0da6b48448b}</uuid> |
| 405 |
<visible>true</visible> |
| 406 |
<midichan>0</midichan> |
| 407 |
<midicc>0</midicc> |
| 408 |
<label>Compression Upper Zone (i-rate)</label> |
| 409 |
<alignment>left</alignment> |
| 410 |
<font>Liberation Sans</font> |
| 411 |
<fontsize>10</fontsize> |
| 412 |
<precision>3</precision> |
| 413 |
<color> |
| 414 |
<r>0</r> |
| 415 |
<g>0</g> |
| 416 |
<b>0</b> |
| 417 |
</color> |
| 418 |
<bgcolor mode="nobackground"> |
| 419 |
<r>255</r> |
| 420 |
<g>255</g> |
| 421 |
<b>255</b> |
| 422 |
</bgcolor> |
| 423 |
<bordermode>noborder</bordermode> |
| 424 |
<borderradius>1</borderradius> |
| 425 |
<borderwidth>1</borderwidth> |
| 426 |
</bsbObject> |
| 427 |
<bsbObject version="2" type="BSBHSlider"> |
| 428 |
<objectName>Compr_Up</objectName> |
| 429 |
<x>8</x> |
| 430 |
<y>174</y> |
| 431 |
<width>500</width> |
| 432 |
<height>27</height> |
| 433 |
<uuid>{2800fb88-347a-402c-88ed-fc97af6a36be}</uuid> |
| 434 |
<visible>true</visible> |
| 435 |
<midichan>0</midichan> |
| 436 |
<midicc>0</midicc> |
| 437 |
<minimum>0.00000000</minimum> |
| 438 |
<maximum>1.00000000</maximum> |
| 439 |
<value>0.50000000</value> |
| 440 |
<mode>lin</mode> |
| 441 |
<mouseControl act="jump">continuous</mouseControl> |
| 442 |
<resolution>-1.00000000</resolution> |
| 443 |
<randomizable group="0">false</randomizable> |
| 444 |
</bsbObject> |
| 445 |
<bsbObject version="2" type="BSBDisplay"> |
| 446 |
<objectName>Compr_Up_Value</objectName> |
| 447 |
<x>448</x> |
| 448 |
<y>191</y> |
| 449 |
<width>60</width> |
| 450 |
<height>30</height> |
| 451 |
<uuid>{5d1ba94c-536a-4178-be6c-c0d9d2f75e3d}</uuid> |
| 452 |
<visible>true</visible> |
| 453 |
<midichan>0</midichan> |
| 454 |
<midicc>0</midicc> |
| 455 |
<label>1.000</label> |
| 456 |
<alignment>right</alignment> |
| 457 |
<font>Liberation Sans</font> |
| 458 |
<fontsize>9</fontsize> |
| 459 |
<precision>3</precision> |
| 460 |
<color> |
| 461 |
<r>0</r> |
| 462 |
<g>0</g> |
| 463 |
<b>0</b> |
| 464 |
</color> |
| 465 |
<bgcolor mode="nobackground"> |
| 466 |
<r>255</r> |
| 467 |
<g>255</g> |
| 468 |
<b>255</b> |
| 469 |
</bgcolor> |
| 470 |
<bordermode>noborder</bordermode> |
| 471 |
<borderradius>1</borderradius> |
| 472 |
<borderwidth>1</borderwidth> |
| 473 |
</bsbObject> |
| 474 |
<bsbObject version="2" type="BSBLabel"> |
| 475 |
<objectName/> |
| 476 |
<x>8</x> |
| 477 |
<y>226</y> |
| 478 |
<width>200</width> |
| 479 |
<height>30</height> |
| 480 |
<uuid>{cdd71125-b224-471a-9c41-9c05d8d28d0c}</uuid> |
| 481 |
<visible>true</visible> |
| 482 |
<midichan>0</midichan> |
| 483 |
<midicc>0</midicc> |
| 484 |
<label>Compression Lower Zone (i-rate)</label> |
| 485 |
<alignment>left</alignment> |
| 486 |
<font>Liberation Sans</font> |
| 487 |
<fontsize>10</fontsize> |
| 488 |
<precision>3</precision> |
| 489 |
<color> |
| 490 |
<r>0</r> |
| 491 |
<g>0</g> |
| 492 |
<b>0</b> |
| 493 |
</color> |
| 494 |
<bgcolor mode="nobackground"> |
| 495 |
<r>255</r> |
| 496 |
<g>255</g> |
| 497 |
<b>255</b> |
| 498 |
</bgcolor> |
| 499 |
<bordermode>noborder</bordermode> |
| 500 |
<borderradius>1</borderradius> |
| 501 |
<borderwidth>1</borderwidth> |
| 502 |
</bsbObject> |
| 503 |
<bsbObject version="2" type="BSBHSlider"> |
| 504 |
<objectName>Compr_Low</objectName> |
| 505 |
<x>8</x> |
| 506 |
<y>209</y> |
| 507 |
<width>500</width> |
| 508 |
<height>27</height> |
| 509 |
<uuid>{7a83bb1f-f25d-47e0-bf2d-9c5c86e0756b}</uuid> |
| 510 |
<visible>true</visible> |
| 511 |
<midichan>0</midichan> |
| 512 |
<midicc>0</midicc> |
| 513 |
<minimum>0.00000000</minimum> |
| 514 |
<maximum>1.00000000</maximum> |
| 515 |
<value>0.50000000</value> |
| 516 |
<mode>lin</mode> |
| 517 |
<mouseControl act="jump">continuous</mouseControl> |
| 518 |
<resolution>-1.00000000</resolution> |
| 519 |
<randomizable group="0">false</randomizable> |
| 520 |
</bsbObject> |
| 521 |
<bsbObject version="2" type="BSBDisplay"> |
| 522 |
<objectName>Compr_Low_Value</objectName> |
| 523 |
<x>448</x> |
| 524 |
<y>226</y> |
| 525 |
<width>60</width> |
| 526 |
<height>30</height> |
| 527 |
<uuid>{7f8d2709-bf8c-46ab-83f0-36fc620b0d56}</uuid> |
| 528 |
<visible>true</visible> |
| 529 |
<midichan>0</midichan> |
| 530 |
<midicc>0</midicc> |
| 531 |
<label>1.000</label> |
| 532 |
<alignment>right</alignment> |
| 533 |
<font>Liberation Sans</font> |
| 534 |
<fontsize>9</fontsize> |
| 535 |
<precision>3</precision> |
| 536 |
<color> |
| 537 |
<r>0</r> |
| 538 |
<g>0</g> |
| 539 |
<b>0</b> |
| 540 |
</color> |
| 541 |
<bgcolor mode="nobackground"> |
| 542 |
<r>255</r> |
| 543 |
<g>255</g> |
| 544 |
<b>255</b> |
| 545 |
</bgcolor> |
| 546 |
<bordermode>noborder</bordermode> |
| 547 |
<borderradius>1</borderradius> |
| 548 |
<borderwidth>1</borderwidth> |
| 549 |
</bsbObject> |
| 550 |
<bsbObject version="2" type="BSBLabel"> |
| 551 |
<objectName/> |
| 552 |
<x>8</x> |
| 553 |
<y>261</y> |
| 554 |
<width>180</width> |
| 555 |
<height>30</height> |
| 556 |
<uuid>{9519d46e-b6e4-422e-8653-ae5db12b1c04}</uuid> |
| 557 |
<visible>true</visible> |
| 558 |
<midichan>0</midichan> |
| 559 |
<midicc>0</midicc> |
| 560 |
<label>Gain Rise Time</label> |
| 561 |
<alignment>left</alignment> |
| 562 |
<font>Liberation Sans</font> |
| 563 |
<fontsize>10</fontsize> |
| 564 |
<precision>3</precision> |
| 565 |
<color> |
| 566 |
<r>0</r> |
| 567 |
<g>0</g> |
| 568 |
<b>0</b> |
| 569 |
</color> |
| 570 |
<bgcolor mode="nobackground"> |
| 571 |
<r>255</r> |
| 572 |
<g>255</g> |
| 573 |
<b>255</b> |
| 574 |
</bgcolor> |
| 575 |
<bordermode>noborder</bordermode> |
| 576 |
<borderradius>1</borderradius> |
| 577 |
<borderwidth>1</borderwidth> |
| 578 |
</bsbObject> |
| 579 |
<bsbObject version="2" type="BSBHSlider"> |
| 580 |
<objectName>Rise</objectName> |
| 581 |
<x>8</x> |
| 582 |
<y>244</y> |
| 583 |
<width>500</width> |
| 584 |
<height>27</height> |
| 585 |
<uuid>{0f9b569d-7f5b-4540-a415-6fd6762f6fe9}</uuid> |
| 586 |
<visible>true</visible> |
| 587 |
<midichan>0</midichan> |
| 588 |
<midicc>0</midicc> |
| 589 |
<minimum>0.00000000</minimum> |
| 590 |
<maximum>1.00000000</maximum> |
| 591 |
<value>0.00000000</value> |
| 592 |
<mode>lin</mode> |
| 593 |
<mouseControl act="jump">continuous</mouseControl> |
| 594 |
<resolution>-1.00000000</resolution> |
| 595 |
<randomizable group="0">false</randomizable> |
| 596 |
</bsbObject> |
| 597 |
<bsbObject version="2" type="BSBDisplay"> |
| 598 |
<objectName>Rise_Value</objectName> |
| 599 |
<x>448</x> |
| 600 |
<y>261</y> |
| 601 |
<width>60</width> |
| 602 |
<height>30</height> |
| 603 |
<uuid>{df4e20a1-b9a6-46ca-bb02-911779f6b4b5}</uuid> |
| 604 |
<visible>true</visible> |
| 605 |
<midichan>0</midichan> |
| 606 |
<midicc>0</midicc> |
| 607 |
<label>0.001</label> |
| 608 |
<alignment>right</alignment> |
| 609 |
<font>Liberation Sans</font> |
| 610 |
<fontsize>9</fontsize> |
| 611 |
<precision>3</precision> |
| 612 |
<color> |
| 613 |
<r>0</r> |
| 614 |
<g>0</g> |
| 615 |
<b>0</b> |
| 616 |
</color> |
| 617 |
<bgcolor mode="nobackground"> |
| 618 |
<r>255</r> |
| 619 |
<g>255</g> |
| 620 |
<b>255</b> |
| 621 |
</bgcolor> |
| 622 |
<bordermode>noborder</bordermode> |
| 623 |
<borderradius>1</borderradius> |
| 624 |
<borderwidth>1</borderwidth> |
| 625 |
</bsbObject> |
| 626 |
<bsbObject version="2" type="BSBLabel"> |
| 627 |
<objectName/> |
| 628 |
<x>8</x> |
| 629 |
<y>295</y> |
| 630 |
<width>180</width> |
| 631 |
<height>30</height> |
| 632 |
<uuid>{1089c148-0c3a-497a-a8d5-a62e3d62ff54}</uuid> |
| 633 |
<visible>true</visible> |
| 634 |
<midichan>0</midichan> |
| 635 |
<midicc>0</midicc> |
| 636 |
<label>Gain Fall Time</label> |
| 637 |
<alignment>left</alignment> |
| 638 |
<font>Liberation Sans</font> |
| 639 |
<fontsize>10</fontsize> |
| 640 |
<precision>3</precision> |
| 641 |
<color> |
| 642 |
<r>0</r> |
| 643 |
<g>0</g> |
| 644 |
<b>0</b> |
| 645 |
</color> |
| 646 |
<bgcolor mode="nobackground"> |
| 647 |
<r>255</r> |
| 648 |
<g>255</g> |
| 649 |
<b>255</b> |
| 650 |
</bgcolor> |
| 651 |
<bordermode>noborder</bordermode> |
| 652 |
<borderradius>1</borderradius> |
| 653 |
<borderwidth>1</borderwidth> |
| 654 |
</bsbObject> |
| 655 |
<bsbObject version="2" type="BSBHSlider"> |
| 656 |
<objectName>Fall</objectName> |
| 657 |
<x>8</x> |
| 658 |
<y>278</y> |
| 659 |
<width>500</width> |
| 660 |
<height>27</height> |
| 661 |
<uuid>{cb90b71f-234b-4c3e-875b-ce04075ae3ee}</uuid> |
| 662 |
<visible>true</visible> |
| 663 |
<midichan>0</midichan> |
| 664 |
<midicc>0</midicc> |
| 665 |
<minimum>0.00000000</minimum> |
| 666 |
<maximum>1.00000000</maximum> |
| 667 |
<value>0.33400000</value> |
| 668 |
<mode>lin</mode> |
| 669 |
<mouseControl act="jump">continuous</mouseControl> |
| 670 |
<resolution>-1.00000000</resolution> |
| 671 |
<randomizable group="0">false</randomizable> |
| 672 |
</bsbObject> |
| 673 |
<bsbObject version="2" type="BSBDisplay"> |
| 674 |
<objectName>Fall_Value</objectName> |
| 675 |
<x>448</x> |
| 676 |
<y>295</y> |
| 677 |
<width>60</width> |
| 678 |
<height>30</height> |
| 679 |
<uuid>{54d08872-94cf-49c9-b64f-605fddc65867}</uuid> |
| 680 |
<visible>true</visible> |
| 681 |
<midichan>0</midichan> |
| 682 |
<midicc>0</midicc> |
| 683 |
<label>0.010</label> |
| 684 |
<alignment>right</alignment> |
| 685 |
<font>Liberation Sans</font> |
| 686 |
<fontsize>9</fontsize> |
| 687 |
<precision>3</precision> |
| 688 |
<color> |
| 689 |
<r>0</r> |
| 690 |
<g>0</g> |
| 691 |
<b>0</b> |
| 692 |
</color> |
| 693 |
<bgcolor mode="nobackground"> |
| 694 |
<r>255</r> |
| 695 |
<g>255</g> |
| 696 |
<b>255</b> |
| 697 |
</bgcolor> |
| 698 |
<bordermode>noborder</bordermode> |
| 699 |
<borderradius>1</borderradius> |
| 700 |
<borderwidth>1</borderwidth> |
| 701 |
</bsbObject> |
| 702 |
<bsbObject version="2" type="BSBLabel"> |
| 703 |
<objectName/> |
| 704 |
<x>8</x> |
| 705 |
<y>330</y> |
| 706 |
<width>180</width> |
| 707 |
<height>30</height> |
| 708 |
<uuid>{8c81bb50-0c7b-4902-9178-d05f83831ade}</uuid> |
| 709 |
<visible>true</visible> |
| 710 |
<midichan>0</midichan> |
| 711 |
<midicc>0</midicc> |
| 712 |
<label>Make Up Gain</label> |
| 713 |
<alignment>left</alignment> |
| 714 |
<font>Liberation Sans</font> |
| 715 |
<fontsize>10</fontsize> |
| 716 |
<precision>3</precision> |
| 717 |
<color> |
| 718 |
<r>0</r> |
| 719 |
<g>0</g> |
| 720 |
<b>0</b> |
| 721 |
</color> |
| 722 |
<bgcolor mode="nobackground"> |
| 723 |
<r>255</r> |
| 724 |
<g>255</g> |
| 725 |
<b>255</b> |
| 726 |
</bgcolor> |
| 727 |
<bordermode>noborder</bordermode> |
| 728 |
<borderradius>1</borderradius> |
| 729 |
<borderwidth>1</borderwidth> |
| 730 |
</bsbObject> |
| 731 |
<bsbObject version="2" type="BSBHSlider"> |
| 732 |
<objectName>Gain</objectName> |
| 733 |
<x>8</x> |
| 734 |
<y>313</y> |
| 735 |
<width>500</width> |
| 736 |
<height>27</height> |
| 737 |
<uuid>{6ef7cd84-2fc3-4cb0-b69d-4d037f7406af}</uuid> |
| 738 |
<visible>true</visible> |
| 739 |
<midichan>0</midichan> |
| 740 |
<midicc>0</midicc> |
| 741 |
<minimum>0.00000000</minimum> |
| 742 |
<maximum>1.00000000</maximum> |
| 743 |
<value>0.49800000</value> |
| 744 |
<mode>lin</mode> |
| 745 |
<mouseControl act="jump">continuous</mouseControl> |
| 746 |
<resolution>-1.00000000</resolution> |
| 747 |
<randomizable group="0">false</randomizable> |
| 748 |
</bsbObject> |
| 749 |
<bsbObject version="2" type="BSBDisplay"> |
| 750 |
<objectName>Gain_Value</objectName> |
| 751 |
<x>448</x> |
| 752 |
<y>330</y> |
| 753 |
<width>60</width> |
| 754 |
<height>30</height> |
| 755 |
<uuid>{9481489d-99dd-43af-8282-21a31584dd71}</uuid> |
| 756 |
<visible>true</visible> |
| 757 |
<midichan>0</midichan> |
| 758 |
<midicc>0</midicc> |
| 759 |
<label>0.982</label> |
| 760 |
<alignment>right</alignment> |
| 761 |
<font>Liberation Sans</font> |
| 762 |
<fontsize>9</fontsize> |
| 763 |
<precision>3</precision> |
| 764 |
<color> |
| 765 |
<r>0</r> |
| 766 |
<g>0</g> |
| 767 |
<b>0</b> |
| 768 |
</color> |
| 769 |
<bgcolor mode="nobackground"> |
| 770 |
<r>255</r> |
| 771 |
<g>255</g> |
| 772 |
<b>255</b> |
| 773 |
</bgcolor> |
| 774 |
<bordermode>noborder</bordermode> |
| 775 |
<borderradius>1</borderradius> |
| 776 |
<borderwidth>1</borderwidth> |
| 777 |
</bsbObject> |
| 778 |
<bsbObject version="2" type="BSBLabel"> |
| 779 |
<objectName/> |
| 780 |
<x>516</x> |
| 781 |
<y>2</y> |
| 782 |
<width>255</width> |
| 783 |
<height>360</height> |
| 784 |
<uuid>{52d07e03-b10c-4a36-acd5-f2827b3ef558}</uuid> |
| 785 |
<visible>true</visible> |
| 786 |
<midichan>0</midichan> |
| 787 |
<midicc>0</midicc> |
| 788 |
<label>dam</label> |
| 789 |
<alignment>center</alignment> |
| 790 |
<font>Liberation Sans</font> |
| 791 |
<fontsize>18</fontsize> |
| 792 |
<precision>3</precision> |
| 793 |
<color> |
| 794 |
<r>0</r> |
| 795 |
<g>0</g> |
| 796 |
<b>0</b> |
| 797 |
</color> |
| 798 |
<bgcolor mode="background"> |
| 799 |
<r>147</r> |
| 800 |
<g>154</g> |
| 801 |
<b>255</b> |
| 802 |
</bgcolor> |
| 803 |
<bordermode>border</bordermode> |
| 804 |
<borderradius>5</borderradius> |
| 805 |
<borderwidth>2</borderwidth> |
| 806 |
</bsbObject> |
| 807 |
<bsbObject version="2" type="BSBLabel"> |
| 808 |
<objectName/> |
| 809 |
<x>518</x> |
| 810 |
<y>42</y> |
| 811 |
<width>250</width> |
| 812 |
<height>299</height> |
| 813 |
<uuid>{887f16f8-2d28-4cd6-b66f-977a8c6f840e}</uuid> |
| 814 |
<visible>true</visible> |
| 815 |
<midichan>0</midichan> |
| 816 |
<midicc>0</midicc> |
| 817 |
<label>------------------------------------------------------------ |
| 818 |
The 'dam' opcode provides dynamic processing to an input audio signal. |
| 819 |
A threshold amplitude value is defined and then the compression or expansion ratio for each zone, upper and lower, are defined. Ratio values less than one will compress audio signals within that zone, values greater than one will expand the signal, a value of one will leave the signal unchanged. |
| 820 |
The rise and fall response times of the compresser can be modified individually.</label> |
| 821 |
<alignment>left</alignment> |
| 822 |
<font>Liberation Sans</font> |
| 823 |
<fontsize>14</fontsize> |
| 824 |
<precision>3</precision> |
| 825 |
<color> |
| 826 |
<r>0</r> |
| 827 |
<g>0</g> |
| 828 |
<b>0</b> |
| 829 |
</color> |
| 830 |
<bgcolor mode="nobackground"> |
| 831 |
<r>255</r> |
| 832 |
<g>255</g> |
| 833 |
<b>255</b> |
| 834 |
</bgcolor> |
| 835 |
<bordermode>noborder</bordermode> |
| 836 |
<borderradius>1</borderradius> |
| 837 |
<borderwidth>1</borderwidth> |
| 838 |
</bsbObject> |
| 839 |
</bsbPanel> |
| 840 |
<bsbPresets> |
| 841 |
</bsbPresets> |
| 842 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel> |