| 1 |
;Written by Iain McCurdy, 2009 |
| 2 |
|
| 3 |
;Modified for QuteCsound by René, September 2010, updated Feb 2011 |
| 4 |
;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 5 |
|
| 6 |
;Notes on modifications from original csd: |
| 7 |
; Add table(s) for exp slider |
| 8 |
; Add Browser for audio files and use of FilePlay2 udo, now accept mono or stereo wav files |
| 9 |
|
| 10 |
; Cannot display more than one space in Label, so can't display the diagram as below: |
| 11 |
; |
| 12 |
; klowfull __________________________ khighfull |
| 13 |
; / \\ |
| 14 |
; / \\ |
| 15 |
; / \\ |
| 16 |
; / \\ |
| 17 |
; / \\ |
| 18 |
; ________/ \\______________ |
| 19 |
; klowcut khighcut |
| 20 |
|
| 21 |
|
| 22 |
;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 |
| 23 |
<CsoundSynthesizer> |
| 24 |
<CsOptions> |
| 25 |
--env:SSDIR+=../../SourceMaterials |
| 26 |
</CsOptions> |
| 27 |
<CsInstruments> |
| 28 |
sr = 44100 ;SAMPLE RATE |
| 29 |
ksmps = 256 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 30 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 31 |
0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH |
| 32 |
|
| 33 |
|
| 34 |
;TABLES THAT STORE FFT ANALYSIS ATTRIBUTES DATA |
| 35 |
giFFTattributes0 ftgen 1, 0, 4, -2, 512, 256, 1024, 1 |
| 36 |
giFFTattributes1 ftgen 2, 0, 4, -2, 1024, 256, 1024, 1 |
| 37 |
giFFTattributes2 ftgen 3, 0, 4, -2, 2048, 256, 2048, 1 |
| 38 |
giFFTattributes3 ftgen 4, 0, 4, -2, 4096, 256, 4096, 1 |
| 39 |
|
| 40 |
;TABLE FOR EXP SLIDER |
| 41 |
giExp20000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000 |
| 42 |
|
| 43 |
|
| 44 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 45 |
;gives stereo output regardless your soundfile is mono or stereo |
| 46 |
Sfil, kspeed, iskip, iloop xin |
| 47 |
ichn filenchnls Sfil |
| 48 |
if ichn == 1 then |
| 49 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 50 |
aR = aL |
| 51 |
else |
| 52 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 53 |
endif |
| 54 |
xout aL, aR |
| 55 |
endop |
| 56 |
|
| 57 |
|
| 58 |
instr 10 ;GUI |
| 59 |
ktrig metro 10 |
| 60 |
if (ktrig == 1) then |
| 61 |
klowcut invalue "Low_Cut" |
| 62 |
gklowcut tablei klowcut, giExp20000, 1 |
| 63 |
outvalue "Low_Cut_Value", gklowcut ;init 500.0 |
| 64 |
klowfull invalue "Low_Full" |
| 65 |
gklowfull tablei klowfull, giExp20000, 1 |
| 66 |
outvalue "Low_Full_Value", gklowfull ;init 550 |
| 67 |
khighcut invalue "High_Cut" |
| 68 |
gkhighcut tablei khighcut, giExp20000, 1 |
| 69 |
outvalue "High_Cut_Value", gkhighcut ;init 1000.0 |
| 70 |
khighfull invalue "High_Full" |
| 71 |
gkhighfull tablei khighfull, giExp20000, 1 |
| 72 |
outvalue "High_Full_Value", gkhighfull ;init 900.0 |
| 73 |
gktype invalue "Curve_Type" ;init 0.0 |
| 74 |
|
| 75 |
gkinput invalue "Input" ;init 1 |
| 76 |
gkFFTattributes invalue "FFTattributes" ;init 1 |
| 77 |
|
| 78 |
endif |
| 79 |
endin |
| 80 |
|
| 81 |
instr 1 |
| 82 |
kSwitch changed gkFFTattributes ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 83 |
if kSwitch=1 then ;IF I-RATE VARIABLE IS CHANGED... |
| 84 |
reinit UPDATE ;BEGIN A REINITIALISATION PASS IN ORDER TO EFFECT THIS CHANGE. BEGIN THIS PASS AT LABEL ENTITLED 'UPDATE' AND CONTINUE UNTIL rireturn OPCODE |
| 85 |
endif ;END OF CONDITIONAL BRANCHING |
| 86 |
UPDATE: ;LABEL |
| 87 |
if gkinput=0 then ;IF 'INPUT' SWITCH IS SET TO 'Live Input' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 88 |
asig inch 1 ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT CHANNEL 1 (LEFT) |
| 89 |
else ;IF 'INPUT' SWITCH IS NOT SET TO 'STORED FILE' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 90 |
Sfile invalue "_Browse" |
| 91 |
;OUTPUT OPCODE FILE_PATH | SPEED | INSKIP | WRAPAROUND (1=ON) |
| 92 |
asig, asigR FilePlay2 Sfile, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 93 |
endif ;END OF 'IF'...'THEN' BRANCHING |
| 94 |
|
| 95 |
iFFTsize table 0, i(gkFFTattributes)+1 ;READ FFT SIZE FROM APPROPRIATE TABLE |
| 96 |
ioverlap table 1, i(gkFFTattributes)+1 ;READ OVERLAP SIZE FROM APPROPRIATE TABLE |
| 97 |
iwinsize table 2, i(gkFFTattributes)+1 ;READ WINDOW SIZE FROM APPROPRIATE TABLE |
| 98 |
iwintype table 3, i(gkFFTattributes)+1 ;READ WINDOW TYPE FROM APPROPRIATE TABLE |
| 99 |
|
| 100 |
fsig1 pvsanal asig, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL. OUTPUT AN F-SIGNAL. |
| 101 |
fsig2 pvsbandp fsig1, gklowcut, gklowfull, gkhighfull, gkhighcut, gktype ;PERFORM fsig BAND PASS FILTERING |
| 102 |
|
| 103 |
;OUTPUT OPCODE INPUT |
| 104 |
aresyn pvsynth fsig2 ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL |
| 105 |
outs aresyn, aresyn ;SEND THE RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS |
| 106 |
endin |
| 107 |
</CsInstruments> |
| 108 |
<CsScore> |
| 109 |
;INSTR | START | DURATION |
| 110 |
i 10 0 3600 ;GUI |
| 111 |
</CsScore> |
| 112 |
</CsoundSynthesizer> |
| 113 |
|
| 114 |
<bsbPanel> |
| 115 |
<label>Widgets</label> |
| 116 |
<objectName/> |
| 117 |
<x>72</x> |
| 118 |
<y>179</y> |
| 119 |
<width>400</width> |
| 120 |
<height>200</height> |
| 121 |
<visible>true</visible> |
| 122 |
<uuid/> |
| 123 |
<bgcolor mode="background"> |
| 124 |
<r>241</r> |
| 125 |
<g>226</g> |
| 126 |
<b>185</b> |
| 127 |
</bgcolor> |
| 128 |
<bsbObject version="2" type="BSBLabel"> |
| 129 |
<objectName/> |
| 130 |
<x>2</x> |
| 131 |
<y>2</y> |
| 132 |
<width>516</width> |
| 133 |
<height>450</height> |
| 134 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 135 |
<visible>true</visible> |
| 136 |
<midichan>0</midichan> |
| 137 |
<midicc>0</midicc> |
| 138 |
<label>pvsbandp</label> |
| 139 |
<alignment>center</alignment> |
| 140 |
<font>Liberation Sans</font> |
| 141 |
<fontsize>18</fontsize> |
| 142 |
<precision>3</precision> |
| 143 |
<color> |
| 144 |
<r>0</r> |
| 145 |
<g>0</g> |
| 146 |
<b>0</b> |
| 147 |
</color> |
| 148 |
<bgcolor mode="background"> |
| 149 |
<r>181</r> |
| 150 |
<g>199</g> |
| 151 |
<b>255</b> |
| 152 |
</bgcolor> |
| 153 |
<bordermode>border</bordermode> |
| 154 |
<borderradius>5</borderradius> |
| 155 |
<borderwidth>2</borderwidth> |
| 156 |
</bsbObject> |
| 157 |
<bsbObject version="2" type="BSBLabel"> |
| 158 |
<objectName/> |
| 159 |
<x>520</x> |
| 160 |
<y>2</y> |
| 161 |
<width>299</width> |
| 162 |
<height>450</height> |
| 163 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 164 |
<visible>true</visible> |
| 165 |
<midichan>0</midichan> |
| 166 |
<midicc>0</midicc> |
| 167 |
<label>pvsbandp</label> |
| 168 |
<alignment>center</alignment> |
| 169 |
<font>Liberation Sans</font> |
| 170 |
<fontsize>18</fontsize> |
| 171 |
<precision>3</precision> |
| 172 |
<color> |
| 173 |
<r>0</r> |
| 174 |
<g>0</g> |
| 175 |
<b>0</b> |
| 176 |
</color> |
| 177 |
<bgcolor mode="background"> |
| 178 |
<r>181</r> |
| 179 |
<g>199</g> |
| 180 |
<b>255</b> |
| 181 |
</bgcolor> |
| 182 |
<bordermode>border</bordermode> |
| 183 |
<borderradius>5</borderradius> |
| 184 |
<borderwidth>2</borderwidth> |
| 185 |
</bsbObject> |
| 186 |
<bsbObject version="2" type="BSBLabel"> |
| 187 |
<objectName/> |
| 188 |
<x>523</x> |
| 189 |
<y>19</y> |
| 190 |
<width>294</width> |
| 191 |
<height>400</height> |
| 192 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 193 |
<visible>true</visible> |
| 194 |
<midichan>0</midichan> |
| 195 |
<midicc>0</midicc> |
| 196 |
<label>----------------------------------------------------------------------- |
| 197 |
pvsbandp is an implementation of a band pass filter using phase vocoder analysis. |
| 198 |
The shape of the filter is defined by specifying the nodes of maximum and minimum attenuation for the low cut and high cut aspects of the filter. |
| 199 |
The diagram (taken from the Csound Manual) shown in csd, helps to illustrate this. |
| 200 |
Using this system the user can continuously vary the cutoff slope of the filter. The input parameter 'type' defines the shape of the cutoff slope. A value of zero will give a linear shape, positive values will result in an exponential shape and negative values will give a logarithmic shape. The user can select between a variety of combinations of parameters for the FFT analysis. Larger values for FFT size will give better harmonic reproduction but greater time smearing effects and higher computational cost. |
| 201 |
Lower values will result in less time smearing but greater harmonic distortion. The user can choose between different input sources which includes the computer's live input.</label> |
| 202 |
<alignment>left</alignment> |
| 203 |
<font>Liberation Sans</font> |
| 204 |
<fontsize>14</fontsize> |
| 205 |
<precision>3</precision> |
| 206 |
<color> |
| 207 |
<r>0</r> |
| 208 |
<g>0</g> |
| 209 |
<b>0</b> |
| 210 |
</color> |
| 211 |
<bgcolor mode="nobackground"> |
| 212 |
<r>255</r> |
| 213 |
<g>255</g> |
| 214 |
<b>255</b> |
| 215 |
</bgcolor> |
| 216 |
<bordermode>noborder</bordermode> |
| 217 |
<borderradius>1</borderradius> |
| 218 |
<borderwidth>1</borderwidth> |
| 219 |
</bsbObject> |
| 220 |
<bsbObject version="2" type="BSBButton"> |
| 221 |
<objectName/> |
| 222 |
<x>8</x> |
| 223 |
<y>8</y> |
| 224 |
<width>100</width> |
| 225 |
<height>30</height> |
| 226 |
<uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> |
| 227 |
<visible>true</visible> |
| 228 |
<midichan>0</midichan> |
| 229 |
<midicc>0</midicc> |
| 230 |
<type>event</type> |
| 231 |
<pressedValue>1.00000000</pressedValue> |
| 232 |
<stringvalue/> |
| 233 |
<text> ON / OFF</text> |
| 234 |
<image>/</image> |
| 235 |
<eventLine>i 1 0 -1</eventLine> |
| 236 |
<latch>true</latch> |
| 237 |
<latched>false</latched> |
| 238 |
</bsbObject> |
| 239 |
<bsbObject version="2" type="BSBLabel"> |
| 240 |
<objectName/> |
| 241 |
<x>191</x> |
| 242 |
<y>280</y> |
| 243 |
<width>60</width> |
| 244 |
<height>30</height> |
| 245 |
<uuid>{b3560c14-84be-4876-9100-5807ffe16e97}</uuid> |
| 246 |
<visible>true</visible> |
| 247 |
<midichan>0</midichan> |
| 248 |
<midicc>0</midicc> |
| 249 |
<label>Input</label> |
| 250 |
<alignment>right</alignment> |
| 251 |
<font>Arial</font> |
| 252 |
<fontsize>10</fontsize> |
| 253 |
<precision>3</precision> |
| 254 |
<color> |
| 255 |
<r>0</r> |
| 256 |
<g>0</g> |
| 257 |
<b>0</b> |
| 258 |
</color> |
| 259 |
<bgcolor mode="nobackground"> |
| 260 |
<r>255</r> |
| 261 |
<g>255</g> |
| 262 |
<b>255</b> |
| 263 |
</bgcolor> |
| 264 |
<bordermode>noborder</bordermode> |
| 265 |
<borderradius>1</borderradius> |
| 266 |
<borderwidth>1</borderwidth> |
| 267 |
</bsbObject> |
| 268 |
<bsbObject version="2" type="BSBDropdown"> |
| 269 |
<objectName>Input</objectName> |
| 270 |
<x>252</x> |
| 271 |
<y>280</y> |
| 272 |
<width>110</width> |
| 273 |
<height>30</height> |
| 274 |
<uuid>{cdb2d3b2-5a09-4e13-865e-8501e33b9d35}</uuid> |
| 275 |
<visible>true</visible> |
| 276 |
<midichan>0</midichan> |
| 277 |
<midicc>0</midicc> |
| 278 |
<bsbDropdownItemList> |
| 279 |
<bsbDropdownItem> |
| 280 |
<name>Live Input</name> |
| 281 |
<value>0</value> |
| 282 |
<stringvalue/> |
| 283 |
</bsbDropdownItem> |
| 284 |
<bsbDropdownItem> |
| 285 |
<name>Audio File</name> |
| 286 |
<value>1</value> |
| 287 |
<stringvalue/> |
| 288 |
</bsbDropdownItem> |
| 289 |
</bsbDropdownItemList> |
| 290 |
<selectedIndex>1</selectedIndex> |
| 291 |
<randomizable group="0">false</randomizable> |
| 292 |
</bsbObject> |
| 293 |
<bsbObject version="2" type="BSBLabel"> |
| 294 |
<objectName/> |
| 295 |
<x>10</x> |
| 296 |
<y>373</y> |
| 297 |
<width>502</width> |
| 298 |
<height>70</height> |
| 299 |
<uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid> |
| 300 |
<visible>true</visible> |
| 301 |
<midichan>0</midichan> |
| 302 |
<midicc>0</midicc> |
| 303 |
<label>FFT Attributes</label> |
| 304 |
<alignment>left</alignment> |
| 305 |
<font>Arial</font> |
| 306 |
<fontsize>14</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>border</bordermode> |
| 319 |
<borderradius>3</borderradius> |
| 320 |
<borderwidth>1</borderwidth> |
| 321 |
</bsbObject> |
| 322 |
<bsbObject version="2" type="BSBLabel"> |
| 323 |
<objectName/> |
| 324 |
<x>169</x> |
| 325 |
<y>379</y> |
| 326 |
<width>300</width> |
| 327 |
<height>28</height> |
| 328 |
<uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid> |
| 329 |
<visible>true</visible> |
| 330 |
<midichan>0</midichan> |
| 331 |
<midicc>0</midicc> |
| 332 |
<label>FFT Size - Overlap - Window Size - Window Type</label> |
| 333 |
<alignment>left</alignment> |
| 334 |
<font>Arial</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="BSBDropdown"> |
| 352 |
<objectName>FFTattributes</objectName> |
| 353 |
<x>169</x> |
| 354 |
<y>399</y> |
| 355 |
<width>274</width> |
| 356 |
<height>32</height> |
| 357 |
<uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid> |
| 358 |
<visible>true</visible> |
| 359 |
<midichan>0</midichan> |
| 360 |
<midicc>0</midicc> |
| 361 |
<bsbDropdownItemList> |
| 362 |
<bsbDropdownItem> |
| 363 |
<name>512 256 1024 1</name> |
| 364 |
<value>0</value> |
| 365 |
<stringvalue/> |
| 366 |
</bsbDropdownItem> |
| 367 |
<bsbDropdownItem> |
| 368 |
<name>1024 256 1024 1</name> |
| 369 |
<value>1</value> |
| 370 |
<stringvalue/> |
| 371 |
</bsbDropdownItem> |
| 372 |
<bsbDropdownItem> |
| 373 |
<name>2048 256 2048 1</name> |
| 374 |
<value>2</value> |
| 375 |
<stringvalue/> |
| 376 |
</bsbDropdownItem> |
| 377 |
<bsbDropdownItem> |
| 378 |
<name>4096 256 4096 1</name> |
| 379 |
<value>3</value> |
| 380 |
<stringvalue/> |
| 381 |
</bsbDropdownItem> |
| 382 |
</bsbDropdownItemList> |
| 383 |
<selectedIndex>0</selectedIndex> |
| 384 |
<randomizable group="0">false</randomizable> |
| 385 |
</bsbObject> |
| 386 |
<bsbObject version="2" type="BSBDisplay"> |
| 387 |
<objectName>Low_Cut_Value</objectName> |
| 388 |
<x>450</x> |
| 389 |
<y>73</y> |
| 390 |
<width>60</width> |
| 391 |
<height>30</height> |
| 392 |
<uuid>{a471f0a0-872d-45ce-8067-16edcf43702b}</uuid> |
| 393 |
<visible>true</visible> |
| 394 |
<midichan>0</midichan> |
| 395 |
<midicc>0</midicc> |
| 396 |
<label>500.234</label> |
| 397 |
<alignment>right</alignment> |
| 398 |
<font>Arial</font> |
| 399 |
<fontsize>9</fontsize> |
| 400 |
<precision>3</precision> |
| 401 |
<color> |
| 402 |
<r>0</r> |
| 403 |
<g>0</g> |
| 404 |
<b>0</b> |
| 405 |
</color> |
| 406 |
<bgcolor mode="nobackground"> |
| 407 |
<r>255</r> |
| 408 |
<g>255</g> |
| 409 |
<b>255</b> |
| 410 |
</bgcolor> |
| 411 |
<bordermode>noborder</bordermode> |
| 412 |
<borderradius>1</borderradius> |
| 413 |
<borderwidth>1</borderwidth> |
| 414 |
</bsbObject> |
| 415 |
<bsbObject version="2" type="BSBHSlider"> |
| 416 |
<objectName>Low_Cut</objectName> |
| 417 |
<x>10</x> |
| 418 |
<y>56</y> |
| 419 |
<width>500</width> |
| 420 |
<height>27</height> |
| 421 |
<uuid>{f14f89da-9ddf-4d52-9ec3-1d26969055ca}</uuid> |
| 422 |
<visible>true</visible> |
| 423 |
<midichan>0</midichan> |
| 424 |
<midicc>0</midicc> |
| 425 |
<minimum>0.00000000</minimum> |
| 426 |
<maximum>1.00000000</maximum> |
| 427 |
<value>0.46600000</value> |
| 428 |
<mode>lin</mode> |
| 429 |
<mouseControl act="jump">continuous</mouseControl> |
| 430 |
<resolution>-1.00000000</resolution> |
| 431 |
<randomizable group="0">false</randomizable> |
| 432 |
</bsbObject> |
| 433 |
<bsbObject version="2" type="BSBLabel"> |
| 434 |
<objectName/> |
| 435 |
<x>10</x> |
| 436 |
<y>75</y> |
| 437 |
<width>180</width> |
| 438 |
<height>30</height> |
| 439 |
<uuid>{98b93c08-e505-4a89-8b08-f1c9fbf92c01}</uuid> |
| 440 |
<visible>true</visible> |
| 441 |
<midichan>0</midichan> |
| 442 |
<midicc>0</midicc> |
| 443 |
<label>Low Cut</label> |
| 444 |
<alignment>left</alignment> |
| 445 |
<font>Arial</font> |
| 446 |
<fontsize>10</fontsize> |
| 447 |
<precision>3</precision> |
| 448 |
<color> |
| 449 |
<r>0</r> |
| 450 |
<g>0</g> |
| 451 |
<b>0</b> |
| 452 |
</color> |
| 453 |
<bgcolor mode="nobackground"> |
| 454 |
<r>255</r> |
| 455 |
<g>255</g> |
| 456 |
<b>255</b> |
| 457 |
</bgcolor> |
| 458 |
<bordermode>noborder</bordermode> |
| 459 |
<borderradius>1</borderradius> |
| 460 |
<borderwidth>1</borderwidth> |
| 461 |
</bsbObject> |
| 462 |
<bsbObject version="2" type="BSBLabel"> |
| 463 |
<objectName/> |
| 464 |
<x>10</x> |
| 465 |
<y>116</y> |
| 466 |
<width>180</width> |
| 467 |
<height>30</height> |
| 468 |
<uuid>{a45554bb-09a2-40c7-90db-f301895af4ea}</uuid> |
| 469 |
<visible>true</visible> |
| 470 |
<midichan>0</midichan> |
| 471 |
<midicc>0</midicc> |
| 472 |
<label>Low Full</label> |
| 473 |
<alignment>left</alignment> |
| 474 |
<font>Arial</font> |
| 475 |
<fontsize>10</fontsize> |
| 476 |
<precision>3</precision> |
| 477 |
<color> |
| 478 |
<r>0</r> |
| 479 |
<g>0</g> |
| 480 |
<b>0</b> |
| 481 |
</color> |
| 482 |
<bgcolor mode="nobackground"> |
| 483 |
<r>255</r> |
| 484 |
<g>255</g> |
| 485 |
<b>255</b> |
| 486 |
</bgcolor> |
| 487 |
<bordermode>noborder</bordermode> |
| 488 |
<borderradius>1</borderradius> |
| 489 |
<borderwidth>1</borderwidth> |
| 490 |
</bsbObject> |
| 491 |
<bsbObject version="2" type="BSBHSlider"> |
| 492 |
<objectName>Low_Full</objectName> |
| 493 |
<x>10</x> |
| 494 |
<y>97</y> |
| 495 |
<width>500</width> |
| 496 |
<height>27</height> |
| 497 |
<uuid>{7bccbbd8-96f6-4c58-8210-5c45f467adff}</uuid> |
| 498 |
<visible>true</visible> |
| 499 |
<midichan>0</midichan> |
| 500 |
<midicc>0</midicc> |
| 501 |
<minimum>0.00000000</minimum> |
| 502 |
<maximum>1.00000000</maximum> |
| 503 |
<value>0.49400000</value> |
| 504 |
<mode>lin</mode> |
| 505 |
<mouseControl act="jump">continuous</mouseControl> |
| 506 |
<resolution>-1.00000000</resolution> |
| 507 |
<randomizable group="0">false</randomizable> |
| 508 |
</bsbObject> |
| 509 |
<bsbObject version="2" type="BSBDisplay"> |
| 510 |
<objectName>Low_Full_Value</objectName> |
| 511 |
<x>450</x> |
| 512 |
<y>114</y> |
| 513 |
<width>60</width> |
| 514 |
<height>30</height> |
| 515 |
<uuid>{99f84362-9a1a-4063-9b94-adae67e9e45c}</uuid> |
| 516 |
<visible>true</visible> |
| 517 |
<midichan>0</midichan> |
| 518 |
<midicc>0</midicc> |
| 519 |
<label>606.937</label> |
| 520 |
<alignment>right</alignment> |
| 521 |
<font>Arial</font> |
| 522 |
<fontsize>9</fontsize> |
| 523 |
<precision>3</precision> |
| 524 |
<color> |
| 525 |
<r>0</r> |
| 526 |
<g>0</g> |
| 527 |
<b>0</b> |
| 528 |
</color> |
| 529 |
<bgcolor mode="nobackground"> |
| 530 |
<r>255</r> |
| 531 |
<g>255</g> |
| 532 |
<b>255</b> |
| 533 |
</bgcolor> |
| 534 |
<bordermode>noborder</bordermode> |
| 535 |
<borderradius>1</borderradius> |
| 536 |
<borderwidth>1</borderwidth> |
| 537 |
</bsbObject> |
| 538 |
<bsbObject version="2" type="BSBLabel"> |
| 539 |
<objectName/> |
| 540 |
<x>10</x> |
| 541 |
<y>157</y> |
| 542 |
<width>150</width> |
| 543 |
<height>30</height> |
| 544 |
<uuid>{9953cbaa-8c27-400f-bc75-706d4b94c0b2}</uuid> |
| 545 |
<visible>true</visible> |
| 546 |
<midichan>0</midichan> |
| 547 |
<midicc>0</midicc> |
| 548 |
<label>High Cut</label> |
| 549 |
<alignment>left</alignment> |
| 550 |
<font>Arial</font> |
| 551 |
<fontsize>10</fontsize> |
| 552 |
<precision>3</precision> |
| 553 |
<color> |
| 554 |
<r>0</r> |
| 555 |
<g>0</g> |
| 556 |
<b>0</b> |
| 557 |
</color> |
| 558 |
<bgcolor mode="nobackground"> |
| 559 |
<r>255</r> |
| 560 |
<g>255</g> |
| 561 |
<b>255</b> |
| 562 |
</bgcolor> |
| 563 |
<bordermode>noborder</bordermode> |
| 564 |
<borderradius>1</borderradius> |
| 565 |
<borderwidth>1</borderwidth> |
| 566 |
</bsbObject> |
| 567 |
<bsbObject version="2" type="BSBHSlider"> |
| 568 |
<objectName>High_Cut</objectName> |
| 569 |
<x>10</x> |
| 570 |
<y>138</y> |
| 571 |
<width>500</width> |
| 572 |
<height>27</height> |
| 573 |
<uuid>{e0921fc1-e6f7-4a32-85c8-533dc91e659d}</uuid> |
| 574 |
<visible>true</visible> |
| 575 |
<midichan>0</midichan> |
| 576 |
<midicc>0</midicc> |
| 577 |
<minimum>0.00000000</minimum> |
| 578 |
<maximum>1.00000000</maximum> |
| 579 |
<value>0.49400000</value> |
| 580 |
<mode>lin</mode> |
| 581 |
<mouseControl act="jump">continuous</mouseControl> |
| 582 |
<resolution>-1.00000000</resolution> |
| 583 |
<randomizable group="0">false</randomizable> |
| 584 |
</bsbObject> |
| 585 |
<bsbObject version="2" type="BSBDisplay"> |
| 586 |
<objectName>High_Cut_Value</objectName> |
| 587 |
<x>450</x> |
| 588 |
<y>155</y> |
| 589 |
<width>60</width> |
| 590 |
<height>30</height> |
| 591 |
<uuid>{a23d1579-1122-4a03-98a4-dde5cb37c6a4}</uuid> |
| 592 |
<visible>true</visible> |
| 593 |
<midichan>0</midichan> |
| 594 |
<midicc>0</midicc> |
| 595 |
<label>606.937</label> |
| 596 |
<alignment>right</alignment> |
| 597 |
<font>Arial</font> |
| 598 |
<fontsize>9</fontsize> |
| 599 |
<precision>3</precision> |
| 600 |
<color> |
| 601 |
<r>0</r> |
| 602 |
<g>0</g> |
| 603 |
<b>0</b> |
| 604 |
</color> |
| 605 |
<bgcolor mode="nobackground"> |
| 606 |
<r>255</r> |
| 607 |
<g>255</g> |
| 608 |
<b>255</b> |
| 609 |
</bgcolor> |
| 610 |
<bordermode>noborder</bordermode> |
| 611 |
<borderradius>1</borderradius> |
| 612 |
<borderwidth>1</borderwidth> |
| 613 |
</bsbObject> |
| 614 |
<bsbObject version="2" type="BSBLabel"> |
| 615 |
<objectName/> |
| 616 |
<x>10</x> |
| 617 |
<y>198</y> |
| 618 |
<width>150</width> |
| 619 |
<height>30</height> |
| 620 |
<uuid>{dcc58561-8602-46a4-9614-8bbaf896f6bc}</uuid> |
| 621 |
<visible>true</visible> |
| 622 |
<midichan>0</midichan> |
| 623 |
<midicc>0</midicc> |
| 624 |
<label>High Full</label> |
| 625 |
<alignment>left</alignment> |
| 626 |
<font>Arial</font> |
| 627 |
<fontsize>10</fontsize> |
| 628 |
<precision>3</precision> |
| 629 |
<color> |
| 630 |
<r>0</r> |
| 631 |
<g>0</g> |
| 632 |
<b>0</b> |
| 633 |
</color> |
| 634 |
<bgcolor mode="nobackground"> |
| 635 |
<r>255</r> |
| 636 |
<g>255</g> |
| 637 |
<b>255</b> |
| 638 |
</bgcolor> |
| 639 |
<bordermode>noborder</bordermode> |
| 640 |
<borderradius>1</borderradius> |
| 641 |
<borderwidth>1</borderwidth> |
| 642 |
</bsbObject> |
| 643 |
<bsbObject version="2" type="BSBHSlider"> |
| 644 |
<objectName>High_Full</objectName> |
| 645 |
<x>10</x> |
| 646 |
<y>179</y> |
| 647 |
<width>500</width> |
| 648 |
<height>27</height> |
| 649 |
<uuid>{dad33ecb-bdaf-42fa-a039-f09abbec1746}</uuid> |
| 650 |
<visible>true</visible> |
| 651 |
<midichan>0</midichan> |
| 652 |
<midicc>0</midicc> |
| 653 |
<minimum>0.00000000</minimum> |
| 654 |
<maximum>1.00000000</maximum> |
| 655 |
<value>0.56200000</value> |
| 656 |
<mode>lin</mode> |
| 657 |
<mouseControl act="jump">continuous</mouseControl> |
| 658 |
<resolution>-1.00000000</resolution> |
| 659 |
<randomizable group="0">false</randomizable> |
| 660 |
</bsbObject> |
| 661 |
<bsbObject version="2" type="BSBDisplay"> |
| 662 |
<objectName>High_Full_Value</objectName> |
| 663 |
<x>451</x> |
| 664 |
<y>196</y> |
| 665 |
<width>60</width> |
| 666 |
<height>30</height> |
| 667 |
<uuid>{b2f51bc9-2102-4e38-971c-b8723cf61a8c}</uuid> |
| 668 |
<visible>true</visible> |
| 669 |
<midichan>0</midichan> |
| 670 |
<midicc>0</midicc> |
| 671 |
<label>970.660</label> |
| 672 |
<alignment>right</alignment> |
| 673 |
<font>Arial</font> |
| 674 |
<fontsize>9</fontsize> |
| 675 |
<precision>3</precision> |
| 676 |
<color> |
| 677 |
<r>0</r> |
| 678 |
<g>0</g> |
| 679 |
<b>0</b> |
| 680 |
</color> |
| 681 |
<bgcolor mode="nobackground"> |
| 682 |
<r>255</r> |
| 683 |
<g>255</g> |
| 684 |
<b>255</b> |
| 685 |
</bgcolor> |
| 686 |
<bordermode>noborder</bordermode> |
| 687 |
<borderradius>1</borderradius> |
| 688 |
<borderwidth>1</borderwidth> |
| 689 |
</bsbObject> |
| 690 |
<bsbObject version="2" type="BSBButton"> |
| 691 |
<objectName>_Browse</objectName> |
| 692 |
<x>10</x> |
| 693 |
<y>320</y> |
| 694 |
<width>170</width> |
| 695 |
<height>30</height> |
| 696 |
<uuid>{8ed829cd-00ee-480b-a482-6c45a24af53d}</uuid> |
| 697 |
<visible>true</visible> |
| 698 |
<midichan>0</midichan> |
| 699 |
<midicc>0</midicc> |
| 700 |
<type>value</type> |
| 701 |
<pressedValue>1.00000000</pressedValue> |
| 702 |
<stringvalue>AndItsAll.wav</stringvalue> |
| 703 |
<text>Browse Audio File</text> |
| 704 |
<image>/</image> |
| 705 |
<eventLine/> |
| 706 |
<latch>false</latch> |
| 707 |
<latched>false</latched> |
| 708 |
</bsbObject> |
| 709 |
<bsbObject version="2" type="BSBLabel"> |
| 710 |
<objectName/> |
| 711 |
<x>10</x> |
| 712 |
<y>301</y> |
| 713 |
<width>120</width> |
| 714 |
<height>30</height> |
| 715 |
<uuid>{7e32c815-35f2-47c4-8470-e4c126b6a830}</uuid> |
| 716 |
<visible>true</visible> |
| 717 |
<midichan>0</midichan> |
| 718 |
<midicc>0</midicc> |
| 719 |
<label>Sound File Input</label> |
| 720 |
<alignment>left</alignment> |
| 721 |
<font>Arial</font> |
| 722 |
<fontsize>10</fontsize> |
| 723 |
<precision>3</precision> |
| 724 |
<color> |
| 725 |
<r>0</r> |
| 726 |
<g>0</g> |
| 727 |
<b>0</b> |
| 728 |
</color> |
| 729 |
<bgcolor mode="nobackground"> |
| 730 |
<r>255</r> |
| 731 |
<g>255</g> |
| 732 |
<b>255</b> |
| 733 |
</bgcolor> |
| 734 |
<bordermode>noborder</bordermode> |
| 735 |
<borderradius>1</borderradius> |
| 736 |
<borderwidth>1</borderwidth> |
| 737 |
</bsbObject> |
| 738 |
<bsbObject version="2" type="BSBLineEdit"> |
| 739 |
<objectName>_Browse</objectName> |
| 740 |
<x>181</x> |
| 741 |
<y>321</y> |
| 742 |
<width>330</width> |
| 743 |
<height>28</height> |
| 744 |
<uuid>{cd0c4d5d-61c5-4b2c-ac4b-a831172cbc5d}</uuid> |
| 745 |
<visible>true</visible> |
| 746 |
<midichan>0</midichan> |
| 747 |
<midicc>0</midicc> |
| 748 |
<label>AndItsAll.wav</label> |
| 749 |
<alignment>left</alignment> |
| 750 |
<font>Arial</font> |
| 751 |
<fontsize>10</fontsize> |
| 752 |
<precision>3</precision> |
| 753 |
<color> |
| 754 |
<r>0</r> |
| 755 |
<g>0</g> |
| 756 |
<b>0</b> |
| 757 |
</color> |
| 758 |
<bgcolor mode="nobackground"> |
| 759 |
<r>229</r> |
| 760 |
<g>229</g> |
| 761 |
<b>229</b> |
| 762 |
</bgcolor> |
| 763 |
<background>nobackground</background> |
| 764 |
</bsbObject> |
| 765 |
<bsbObject version="2" type="BSBDisplay"> |
| 766 |
<objectName>Curve_Type</objectName> |
| 767 |
<x>451</x> |
| 768 |
<y>237</y> |
| 769 |
<width>60</width> |
| 770 |
<height>30</height> |
| 771 |
<uuid>{97f032e7-b7b0-493d-a6ce-70691badd3dc}</uuid> |
| 772 |
<visible>true</visible> |
| 773 |
<midichan>0</midichan> |
| 774 |
<midicc>0</midicc> |
| 775 |
<label>0.000</label> |
| 776 |
<alignment>right</alignment> |
| 777 |
<font>Arial</font> |
| 778 |
<fontsize>9</fontsize> |
| 779 |
<precision>3</precision> |
| 780 |
<color> |
| 781 |
<r>0</r> |
| 782 |
<g>0</g> |
| 783 |
<b>0</b> |
| 784 |
</color> |
| 785 |
<bgcolor mode="nobackground"> |
| 786 |
<r>255</r> |
| 787 |
<g>255</g> |
| 788 |
<b>255</b> |
| 789 |
</bgcolor> |
| 790 |
<bordermode>noborder</bordermode> |
| 791 |
<borderradius>1</borderradius> |
| 792 |
<borderwidth>1</borderwidth> |
| 793 |
</bsbObject> |
| 794 |
<bsbObject version="2" type="BSBHSlider"> |
| 795 |
<objectName>Curve_Type</objectName> |
| 796 |
<x>10</x> |
| 797 |
<y>220</y> |
| 798 |
<width>500</width> |
| 799 |
<height>27</height> |
| 800 |
<uuid>{3709a127-4bc3-49dd-b5e4-288282dc6995}</uuid> |
| 801 |
<visible>true</visible> |
| 802 |
<midichan>0</midichan> |
| 803 |
<midicc>0</midicc> |
| 804 |
<minimum>-5.00000000</minimum> |
| 805 |
<maximum>5.00000000</maximum> |
| 806 |
<value>0.00000000</value> |
| 807 |
<mode>lin</mode> |
| 808 |
<mouseControl act="jump">continuous</mouseControl> |
| 809 |
<resolution>-1.00000000</resolution> |
| 810 |
<randomizable group="0">false</randomizable> |
| 811 |
</bsbObject> |
| 812 |
<bsbObject version="2" type="BSBLabel"> |
| 813 |
<objectName/> |
| 814 |
<x>10</x> |
| 815 |
<y>239</y> |
| 816 |
<width>150</width> |
| 817 |
<height>30</height> |
| 818 |
<uuid>{a7fc7598-500a-4951-8b23-12ba07f5bfb8}</uuid> |
| 819 |
<visible>true</visible> |
| 820 |
<midichan>0</midichan> |
| 821 |
<midicc>0</midicc> |
| 822 |
<label>Curve Type</label> |
| 823 |
<alignment>left</alignment> |
| 824 |
<font>Arial</font> |
| 825 |
<fontsize>10</fontsize> |
| 826 |
<precision>3</precision> |
| 827 |
<color> |
| 828 |
<r>0</r> |
| 829 |
<g>0</g> |
| 830 |
<b>0</b> |
| 831 |
</color> |
| 832 |
<bgcolor mode="nobackground"> |
| 833 |
<r>255</r> |
| 834 |
<g>255</g> |
| 835 |
<b>255</b> |
| 836 |
</bgcolor> |
| 837 |
<bordermode>noborder</bordermode> |
| 838 |
<borderradius>1</borderradius> |
| 839 |
<borderwidth>1</borderwidth> |
| 840 |
</bsbObject> |
| 841 |
<bsbObject version="2" type="BSBLabel"> |
| 842 |
<objectName/> |
| 843 |
<x>181</x> |
| 844 |
<y>349</y> |
| 845 |
<width>330</width> |
| 846 |
<height>30</height> |
| 847 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 848 |
<visible>true</visible> |
| 849 |
<midichan>0</midichan> |
| 850 |
<midicc>0</midicc> |
| 851 |
<label>Restart the instrument after changing the audio file.</label> |
| 852 |
<alignment>left</alignment> |
| 853 |
<font>Liberation Sans</font> |
| 854 |
<fontsize>12</fontsize> |
| 855 |
<precision>3</precision> |
| 856 |
<color> |
| 857 |
<r>0</r> |
| 858 |
<g>0</g> |
| 859 |
<b>0</b> |
| 860 |
</color> |
| 861 |
<bgcolor mode="nobackground"> |
| 862 |
<r>255</r> |
| 863 |
<g>255</g> |
| 864 |
<b>255</b> |
| 865 |
</bgcolor> |
| 866 |
<bordermode>noborder</bordermode> |
| 867 |
<borderradius>1</borderradius> |
| 868 |
<borderwidth>1</borderwidth> |
| 869 |
</bsbObject> |
| 870 |
</bsbPanel> |
| 871 |
<bsbPresets> |
| 872 |
</bsbPresets> |
| 873 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel> |