| 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 = 10 ;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 |
;TABLES FOR EXP SLIDER |
| 24 |
giExp01 ftgen 0, 0, 129, -25, 0, 0.0001, 128, 0.1 |
| 25 |
giExp16 ftgen 0, 0, 129, -25, 0, 0.001, 128, 16.0 |
| 26 |
giExp5000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 5000.0 |
| 27 |
giExp20000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 20000.0 |
| 28 |
|
| 29 |
|
| 30 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 31 |
;gives stereo output regardless your soundfile is mono or stereo |
| 32 |
Sfil, kspeed, iskip, iloop xin |
| 33 |
ichn filenchnls Sfil |
| 34 |
if ichn == 1 then |
| 35 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 36 |
aR = aL |
| 37 |
else |
| 38 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 39 |
endif |
| 40 |
xout aL, aR |
| 41 |
endop |
| 42 |
|
| 43 |
|
| 44 |
instr 1 ;GUI |
| 45 |
ktrig metro 10 |
| 46 |
if (ktrig == 1) then |
| 47 |
|
| 48 |
Sfile_new strcpy "" ;INIT TO EMPTY STRING |
| 49 |
|
| 50 |
kSawFrq invalue "Sawtooth_Frequency" |
| 51 |
gkSawFrq tablei kSawFrq, giExp5000, 1 |
| 52 |
outvalue "Sawtooth_Frequency_Value", gkSawFrq |
| 53 |
kfco invalue "Cutoff_Frequency" |
| 54 |
gkfco tablei kfco, giExp20000, 1 |
| 55 |
outvalue "Cutoff_Frequency_Value", gkfco |
| 56 |
klvl invalue "Gain" |
| 57 |
gklvl tablei klvl, giExp16, 1 |
| 58 |
outvalue "Gain_Value", gklvl |
| 59 |
kQ invalue "Q" |
| 60 |
gkQ tablei kQ, giExp01, 1 |
| 61 |
outvalue "Q_Value", gkQ |
| 62 |
gkS invalue "Slope" |
| 63 |
gkamp invalue "Output_Gain" |
| 64 |
|
| 65 |
gkskip invalue "Initialisation" |
| 66 |
gkmode invalue "Mode" |
| 67 |
gkinput invalue "Input" |
| 68 |
|
| 69 |
gSfile invalue "_Browse" |
| 70 |
Sfile_old strcpyk Sfile_new |
| 71 |
Sfile_new strcpyk gSfile |
| 72 |
gkfile strcmpk Sfile_new, Sfile_old |
| 73 |
endif |
| 74 |
endin |
| 75 |
|
| 76 |
instr 2 |
| 77 |
kporttime linseg 0,0.001,0.005,1,0.005 ;CREATE A VARIABLE FUNCTION THAT RAPIDLY RAMPS UP TO A SET VALUE |
| 78 |
kfco portk gkfco, kporttime ;SMOOTH MOVEMENT OF SLIDER VARIABLE |
| 79 |
kSawFrq portk gkSawFrq, kporttime ;SMOOTH MOVEMENT OF SLIDER VARIABLE |
| 80 |
|
| 81 |
if gkinput==0 then ;IF ON/OFF RADIO SELECTER IS 'SOUND FILE' ... |
| 82 |
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) |
| 83 |
if kNew_file=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 84 |
reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'START' |
| 85 |
endif |
| 86 |
NEW_FILE: |
| 87 |
;OUTPUTS OPCODE FILE | SPEED | INSKIP | LOOPING (0=OFF 1=ON) |
| 88 |
asigL, asigR FilePlay2 gSfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A STEREO SOUND FILE |
| 89 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 90 |
else ;IF ON/OFF RADIO SELECTER IS 'vco2' ... |
| 91 |
asigL vco2 1, kSawFrq ;SAWTOOTH WAVE |
| 92 |
asigR = asigL ;SET RIGHT CHANNEL THE SAME AS LEFT CHANNEL |
| 93 |
endif ;END OF CONDITIONAL BRANCHING |
| 94 |
|
| 95 |
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) |
| 96 |
if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 97 |
reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START' |
| 98 |
endif |
| 99 |
START: |
| 100 |
imode init (i(gkmode) * 2) + i(gkskip) ;MODE PARAMETER IS A SUM OF 'FILTER MODE' TIMES 2, AND INITIALISATION SKIP VALUE |
| 101 |
;MODE VALUES ARE: 0=RESONANT LOWPASS |
| 102 |
; 2=RESONANT HIGHPASS |
| 103 |
; 4=BANDPASS |
| 104 |
; 6=BAND-REJECT |
| 105 |
; 8=PEAKING EQ |
| 106 |
; 10=LOW SHELF EQ |
| 107 |
; 12=HIGH SHELF EQ |
| 108 |
denorm asigL, asigR ;ADD A SMALL AMOUNT OF NOISE TO AUDIO SIGNALS TO PREVENT SLOW DOWNS (ON INTEL PROCESSORS) IF ORIGINAL AUDIO SIGNAL IS SILENT |
| 109 |
aresL rbjeq asigL, kfco, gklvl, gkfco*gkQ, gkS, imode ;APPLY rbjeq TO BOTH CHANNELS OF AUDIO SIGNAL |
| 110 |
aresR rbjeq asigR, kfco, gklvl, gkfco*gkQ, gkS, imode ;APPLY rbjeq TO BOTH CHANNELS OF AUDIO SIGNAL |
| 111 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 112 |
outs aresL*gkamp, aresR*gkamp ;SEND FILTER OUTPUT TO THE AUDIO OUTPUTS AND MULTIPLY BY OUTPUT GAIN FLTK SLIDER VARIABLE |
| 113 |
endin |
| 114 |
</CsInstruments> |
| 115 |
<CsScore> |
| 116 |
;INSTR | START | DURATION |
| 117 |
i 1 0 3600 ;GUI |
| 118 |
</CsScore> |
| 119 |
</CsoundSynthesizer> |
| 120 |
|
| 121 |
<bsbPanel> |
| 122 |
<label>Widgets</label> |
| 123 |
<objectName/> |
| 124 |
<x>328</x> |
| 125 |
<y>261</y> |
| 126 |
<width>891</width> |
| 127 |
<height>385</height> |
| 128 |
<visible>true</visible> |
| 129 |
<uuid/> |
| 130 |
<bgcolor mode="background"> |
| 131 |
<r>241</r> |
| 132 |
<g>226</g> |
| 133 |
<b>185</b> |
| 134 |
</bgcolor> |
| 135 |
<bsbObject version="2" type="BSBLabel"> |
| 136 |
<objectName/> |
| 137 |
<x>2</x> |
| 138 |
<y>2</y> |
| 139 |
<width>512</width> |
| 140 |
<height>380</height> |
| 141 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 142 |
<visible>true</visible> |
| 143 |
<midichan>0</midichan> |
| 144 |
<midicc>0</midicc> |
| 145 |
<label>rbjeq</label> |
| 146 |
<alignment>center</alignment> |
| 147 |
<font>Liberation Sans</font> |
| 148 |
<fontsize>18</fontsize> |
| 149 |
<precision>3</precision> |
| 150 |
<color> |
| 151 |
<r>0</r> |
| 152 |
<g>0</g> |
| 153 |
<b>0</b> |
| 154 |
</color> |
| 155 |
<bgcolor mode="background"> |
| 156 |
<r>106</r> |
| 157 |
<g>117</g> |
| 158 |
<b>150</b> |
| 159 |
</bgcolor> |
| 160 |
<bordermode>border</bordermode> |
| 161 |
<borderradius>5</borderradius> |
| 162 |
<borderwidth>2</borderwidth> |
| 163 |
</bsbObject> |
| 164 |
<bsbObject version="2" type="BSBLabel"> |
| 165 |
<objectName/> |
| 166 |
<x>515</x> |
| 167 |
<y>2</y> |
| 168 |
<width>369</width> |
| 169 |
<height>380</height> |
| 170 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 171 |
<visible>true</visible> |
| 172 |
<midichan>0</midichan> |
| 173 |
<midicc>0</midicc> |
| 174 |
<label>rbjeq</label> |
| 175 |
<alignment>center</alignment> |
| 176 |
<font>Liberation Sans</font> |
| 177 |
<fontsize>18</fontsize> |
| 178 |
<precision>3</precision> |
| 179 |
<color> |
| 180 |
<r>0</r> |
| 181 |
<g>0</g> |
| 182 |
<b>0</b> |
| 183 |
</color> |
| 184 |
<bgcolor mode="background"> |
| 185 |
<r>106</r> |
| 186 |
<g>117</g> |
| 187 |
<b>150</b> |
| 188 |
</bgcolor> |
| 189 |
<bordermode>border</bordermode> |
| 190 |
<borderradius>5</borderradius> |
| 191 |
<borderwidth>2</borderwidth> |
| 192 |
</bsbObject> |
| 193 |
<bsbObject version="2" type="BSBLabel"> |
| 194 |
<objectName/> |
| 195 |
<x>518</x> |
| 196 |
<y>19</y> |
| 197 |
<width>365</width> |
| 198 |
<height>363</height> |
| 199 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 200 |
<visible>true</visible> |
| 201 |
<midichan>0</midichan> |
| 202 |
<midicc>0</midicc> |
| 203 |
<label>---------------------------------------------------------------------------------------- |
| 204 |
rbjeq is a filter and EQ opcode offering 7 different modes. It is based on an algorithm by Robert Bristow-Johnson, which was subsequently written in Csound orchestra code by Josep M Comajuncosas and converted into C and into an opcode by Istvan Varga. Two source signal inputs are offered in this example, either a sound file or a sawtooth waveform. 'Gain' controls the amount of boost or cut that the filter applies. A value of 1 specifies no boost or cut. Values lower than 1 attenuate and values above 1 boost amplitude according to the filter or EQ mode selected. This parameter should not be zero. 'Slope' defines the steepness of the filter at the cutoff frequency. The function of 'Q' varies depending upon which filter/EQ type has been selected: When 'lowpass' or 'highpass' is selected 'Q' controls resonance. When 'bandpass', 'band-reject' or 'peaking EQ' is selected 'Q' controls bandwidth. When 'low shelf; or 'high shelf' is selected 'Q' is ignored. The Csound Manual goes into greater detail about this opcode and is recomended for further reading.</label> |
| 205 |
<alignment>left</alignment> |
| 206 |
<font>Arial</font> |
| 207 |
<fontsize>14</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>255</r> |
| 216 |
<g>255</g> |
| 217 |
<b>255</b> |
| 218 |
</bgcolor> |
| 219 |
<bordermode>noborder</bordermode> |
| 220 |
<borderradius>1</borderradius> |
| 221 |
<borderwidth>1</borderwidth> |
| 222 |
</bsbObject> |
| 223 |
<bsbObject version="2" type="BSBButton"> |
| 224 |
<objectName/> |
| 225 |
<x>8</x> |
| 226 |
<y>6</y> |
| 227 |
<width>100</width> |
| 228 |
<height>30</height> |
| 229 |
<uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> |
| 230 |
<visible>true</visible> |
| 231 |
<midichan>0</midichan> |
| 232 |
<midicc>0</midicc> |
| 233 |
<type>event</type> |
| 234 |
<pressedValue>1.00000000</pressedValue> |
| 235 |
<stringvalue/> |
| 236 |
<text> ON / OFF</text> |
| 237 |
<image>/</image> |
| 238 |
<eventLine>i 2 0 -1</eventLine> |
| 239 |
<latch>true</latch> |
| 240 |
<latched>false</latched> |
| 241 |
</bsbObject> |
| 242 |
<bsbObject version="2" type="BSBDisplay"> |
| 243 |
<objectName>Cutoff_Frequency_Value</objectName> |
| 244 |
<x>448</x> |
| 245 |
<y>63</y> |
| 246 |
<width>60</width> |
| 247 |
<height>30</height> |
| 248 |
<uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid> |
| 249 |
<visible>true</visible> |
| 250 |
<midichan>0</midichan> |
| 251 |
<midicc>0</midicc> |
| 252 |
<label>1371.425</label> |
| 253 |
<alignment>right</alignment> |
| 254 |
<font>Arial</font> |
| 255 |
<fontsize>9</fontsize> |
| 256 |
<precision>3</precision> |
| 257 |
<color> |
| 258 |
<r>0</r> |
| 259 |
<g>0</g> |
| 260 |
<b>0</b> |
| 261 |
</color> |
| 262 |
<bgcolor mode="nobackground"> |
| 263 |
<r>255</r> |
| 264 |
<g>255</g> |
| 265 |
<b>255</b> |
| 266 |
</bgcolor> |
| 267 |
<bordermode>noborder</bordermode> |
| 268 |
<borderradius>1</borderradius> |
| 269 |
<borderwidth>1</borderwidth> |
| 270 |
</bsbObject> |
| 271 |
<bsbObject version="2" type="BSBHSlider"> |
| 272 |
<objectName>Cutoff_Frequency</objectName> |
| 273 |
<x>8</x> |
| 274 |
<y>46</y> |
| 275 |
<width>500</width> |
| 276 |
<height>27</height> |
| 277 |
<uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid> |
| 278 |
<visible>true</visible> |
| 279 |
<midichan>0</midichan> |
| 280 |
<midicc>0</midicc> |
| 281 |
<minimum>0.00000000</minimum> |
| 282 |
<maximum>1.00000000</maximum> |
| 283 |
<value>0.61200000</value> |
| 284 |
<mode>lin</mode> |
| 285 |
<mouseControl act="jump">continuous</mouseControl> |
| 286 |
<resolution>-1.00000000</resolution> |
| 287 |
<randomizable group="0">false</randomizable> |
| 288 |
</bsbObject> |
| 289 |
<bsbObject version="2" type="BSBLabel"> |
| 290 |
<objectName/> |
| 291 |
<x>8</x> |
| 292 |
<y>63</y> |
| 293 |
<width>180</width> |
| 294 |
<height>30</height> |
| 295 |
<uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid> |
| 296 |
<visible>true</visible> |
| 297 |
<midichan>0</midichan> |
| 298 |
<midicc>0</midicc> |
| 299 |
<label>Cutoff Frequency</label> |
| 300 |
<alignment>left</alignment> |
| 301 |
<font>Arial</font> |
| 302 |
<fontsize>10</fontsize> |
| 303 |
<precision>3</precision> |
| 304 |
<color> |
| 305 |
<r>0</r> |
| 306 |
<g>0</g> |
| 307 |
<b>0</b> |
| 308 |
</color> |
| 309 |
<bgcolor mode="nobackground"> |
| 310 |
<r>255</r> |
| 311 |
<g>255</g> |
| 312 |
<b>255</b> |
| 313 |
</bgcolor> |
| 314 |
<bordermode>noborder</bordermode> |
| 315 |
<borderradius>1</borderradius> |
| 316 |
<borderwidth>1</borderwidth> |
| 317 |
</bsbObject> |
| 318 |
<bsbObject version="2" type="BSBLabel"> |
| 319 |
<objectName/> |
| 320 |
<x>8</x> |
| 321 |
<y>101</y> |
| 322 |
<width>160</width> |
| 323 |
<height>30</height> |
| 324 |
<uuid>{f9f4369b-a39e-45aa-ba99-7457a534535f}</uuid> |
| 325 |
<visible>true</visible> |
| 326 |
<midichan>0</midichan> |
| 327 |
<midicc>0</midicc> |
| 328 |
<label>Gain</label> |
| 329 |
<alignment>left</alignment> |
| 330 |
<font>Arial</font> |
| 331 |
<fontsize>10</fontsize> |
| 332 |
<precision>3</precision> |
| 333 |
<color> |
| 334 |
<r>0</r> |
| 335 |
<g>0</g> |
| 336 |
<b>0</b> |
| 337 |
</color> |
| 338 |
<bgcolor mode="nobackground"> |
| 339 |
<r>255</r> |
| 340 |
<g>255</g> |
| 341 |
<b>255</b> |
| 342 |
</bgcolor> |
| 343 |
<bordermode>noborder</bordermode> |
| 344 |
<borderradius>1</borderradius> |
| 345 |
<borderwidth>1</borderwidth> |
| 346 |
</bsbObject> |
| 347 |
<bsbObject version="2" type="BSBHSlider"> |
| 348 |
<objectName>Gain</objectName> |
| 349 |
<x>8</x> |
| 350 |
<y>84</y> |
| 351 |
<width>500</width> |
| 352 |
<height>27</height> |
| 353 |
<uuid>{42fe25e5-e98f-4f00-872c-f791822a1b3e}</uuid> |
| 354 |
<visible>true</visible> |
| 355 |
<midichan>0</midichan> |
| 356 |
<midicc>0</midicc> |
| 357 |
<minimum>0.00000000</minimum> |
| 358 |
<maximum>1.00000000</maximum> |
| 359 |
<value>0.43800000</value> |
| 360 |
<mode>lin</mode> |
| 361 |
<mouseControl act="jump">continuous</mouseControl> |
| 362 |
<resolution>-1.00000000</resolution> |
| 363 |
<randomizable group="0">false</randomizable> |
| 364 |
</bsbObject> |
| 365 |
<bsbObject version="2" type="BSBDisplay"> |
| 366 |
<objectName>Gain_Value</objectName> |
| 367 |
<x>448</x> |
| 368 |
<y>101</y> |
| 369 |
<width>60</width> |
| 370 |
<height>30</height> |
| 371 |
<uuid>{a8f35453-f236-447d-88d9-1a0b135383b6}</uuid> |
| 372 |
<visible>true</visible> |
| 373 |
<midichan>0</midichan> |
| 374 |
<midicc>0</midicc> |
| 375 |
<label>0.069</label> |
| 376 |
<alignment>right</alignment> |
| 377 |
<font>Arial</font> |
| 378 |
<fontsize>9</fontsize> |
| 379 |
<precision>3</precision> |
| 380 |
<color> |
| 381 |
<r>0</r> |
| 382 |
<g>0</g> |
| 383 |
<b>0</b> |
| 384 |
</color> |
| 385 |
<bgcolor mode="nobackground"> |
| 386 |
<r>255</r> |
| 387 |
<g>255</g> |
| 388 |
<b>255</b> |
| 389 |
</bgcolor> |
| 390 |
<bordermode>noborder</bordermode> |
| 391 |
<borderradius>1</borderradius> |
| 392 |
<borderwidth>1</borderwidth> |
| 393 |
</bsbObject> |
| 394 |
<bsbObject version="2" type="BSBDisplay"> |
| 395 |
<objectName>Slope</objectName> |
| 396 |
<x>448</x> |
| 397 |
<y>175</y> |
| 398 |
<width>60</width> |
| 399 |
<height>30</height> |
| 400 |
<uuid>{4de7125b-4cc8-4769-ac1b-083ee6357f6a}</uuid> |
| 401 |
<visible>true</visible> |
| 402 |
<midichan>0</midichan> |
| 403 |
<midicc>0</midicc> |
| 404 |
<label>0.622</label> |
| 405 |
<alignment>right</alignment> |
| 406 |
<font>Arial</font> |
| 407 |
<fontsize>9</fontsize> |
| 408 |
<precision>3</precision> |
| 409 |
<color> |
| 410 |
<r>0</r> |
| 411 |
<g>0</g> |
| 412 |
<b>0</b> |
| 413 |
</color> |
| 414 |
<bgcolor mode="nobackground"> |
| 415 |
<r>255</r> |
| 416 |
<g>255</g> |
| 417 |
<b>255</b> |
| 418 |
</bgcolor> |
| 419 |
<bordermode>noborder</bordermode> |
| 420 |
<borderradius>1</borderradius> |
| 421 |
<borderwidth>1</borderwidth> |
| 422 |
</bsbObject> |
| 423 |
<bsbObject version="2" type="BSBHSlider"> |
| 424 |
<objectName>Slope</objectName> |
| 425 |
<x>8</x> |
| 426 |
<y>158</y> |
| 427 |
<width>500</width> |
| 428 |
<height>27</height> |
| 429 |
<uuid>{3fc19561-9f06-4437-8dce-93fe562391d0}</uuid> |
| 430 |
<visible>true</visible> |
| 431 |
<midichan>0</midichan> |
| 432 |
<midicc>0</midicc> |
| 433 |
<minimum>0.00000000</minimum> |
| 434 |
<maximum>1.00000000</maximum> |
| 435 |
<value>0.62200000</value> |
| 436 |
<mode>lin</mode> |
| 437 |
<mouseControl act="jump">continuous</mouseControl> |
| 438 |
<resolution>-1.00000000</resolution> |
| 439 |
<randomizable group="0">false</randomizable> |
| 440 |
</bsbObject> |
| 441 |
<bsbObject version="2" type="BSBLabel"> |
| 442 |
<objectName/> |
| 443 |
<x>8</x> |
| 444 |
<y>175</y> |
| 445 |
<width>160</width> |
| 446 |
<height>30</height> |
| 447 |
<uuid>{c3737a58-87dd-4c87-8bea-5dd299c564ed}</uuid> |
| 448 |
<visible>true</visible> |
| 449 |
<midichan>0</midichan> |
| 450 |
<midicc>0</midicc> |
| 451 |
<label>Slope</label> |
| 452 |
<alignment>left</alignment> |
| 453 |
<font>Arial</font> |
| 454 |
<fontsize>10</fontsize> |
| 455 |
<precision>3</precision> |
| 456 |
<color> |
| 457 |
<r>0</r> |
| 458 |
<g>0</g> |
| 459 |
<b>0</b> |
| 460 |
</color> |
| 461 |
<bgcolor mode="nobackground"> |
| 462 |
<r>255</r> |
| 463 |
<g>255</g> |
| 464 |
<b>255</b> |
| 465 |
</bgcolor> |
| 466 |
<bordermode>noborder</bordermode> |
| 467 |
<borderradius>1</borderradius> |
| 468 |
<borderwidth>1</borderwidth> |
| 469 |
</bsbObject> |
| 470 |
<bsbObject version="2" type="BSBDisplay"> |
| 471 |
<objectName>Output_Gain</objectName> |
| 472 |
<x>448</x> |
| 473 |
<y>212</y> |
| 474 |
<width>60</width> |
| 475 |
<height>30</height> |
| 476 |
<uuid>{3a0c526f-9ad8-46e1-9556-6e55c4e3329d}</uuid> |
| 477 |
<visible>true</visible> |
| 478 |
<midichan>0</midichan> |
| 479 |
<midicc>0</midicc> |
| 480 |
<label>0.178</label> |
| 481 |
<alignment>right</alignment> |
| 482 |
<font>Arial</font> |
| 483 |
<fontsize>9</fontsize> |
| 484 |
<precision>3</precision> |
| 485 |
<color> |
| 486 |
<r>0</r> |
| 487 |
<g>0</g> |
| 488 |
<b>0</b> |
| 489 |
</color> |
| 490 |
<bgcolor mode="nobackground"> |
| 491 |
<r>255</r> |
| 492 |
<g>255</g> |
| 493 |
<b>255</b> |
| 494 |
</bgcolor> |
| 495 |
<bordermode>noborder</bordermode> |
| 496 |
<borderradius>1</borderradius> |
| 497 |
<borderwidth>1</borderwidth> |
| 498 |
</bsbObject> |
| 499 |
<bsbObject version="2" type="BSBHSlider"> |
| 500 |
<objectName>Output_Gain</objectName> |
| 501 |
<x>8</x> |
| 502 |
<y>195</y> |
| 503 |
<width>500</width> |
| 504 |
<height>27</height> |
| 505 |
<uuid>{cd3f39f5-b9c6-4aaf-812d-9de179dee5fb}</uuid> |
| 506 |
<visible>true</visible> |
| 507 |
<midichan>0</midichan> |
| 508 |
<midicc>0</midicc> |
| 509 |
<minimum>0.00000000</minimum> |
| 510 |
<maximum>1.00000000</maximum> |
| 511 |
<value>0.17800000</value> |
| 512 |
<mode>lin</mode> |
| 513 |
<mouseControl act="jump">continuous</mouseControl> |
| 514 |
<resolution>-1.00000000</resolution> |
| 515 |
<randomizable group="0">false</randomizable> |
| 516 |
</bsbObject> |
| 517 |
<bsbObject version="2" type="BSBLabel"> |
| 518 |
<objectName/> |
| 519 |
<x>8</x> |
| 520 |
<y>212</y> |
| 521 |
<width>160</width> |
| 522 |
<height>30</height> |
| 523 |
<uuid>{08fb4374-a1f1-4588-85b1-6b17ef1a26a6}</uuid> |
| 524 |
<visible>true</visible> |
| 525 |
<midichan>0</midichan> |
| 526 |
<midicc>0</midicc> |
| 527 |
<label>Output Gain</label> |
| 528 |
<alignment>left</alignment> |
| 529 |
<font>Arial</font> |
| 530 |
<fontsize>10</fontsize> |
| 531 |
<precision>3</precision> |
| 532 |
<color> |
| 533 |
<r>0</r> |
| 534 |
<g>0</g> |
| 535 |
<b>0</b> |
| 536 |
</color> |
| 537 |
<bgcolor mode="nobackground"> |
| 538 |
<r>255</r> |
| 539 |
<g>255</g> |
| 540 |
<b>255</b> |
| 541 |
</bgcolor> |
| 542 |
<bordermode>noborder</bordermode> |
| 543 |
<borderradius>1</borderradius> |
| 544 |
<borderwidth>1</borderwidth> |
| 545 |
</bsbObject> |
| 546 |
<bsbObject version="2" type="BSBButton"> |
| 547 |
<objectName>Initialisation</objectName> |
| 548 |
<x>380</x> |
| 549 |
<y>6</y> |
| 550 |
<width>130</width> |
| 551 |
<height>30</height> |
| 552 |
<uuid>{88395e38-ecab-4818-bef3-1a18b504f914}</uuid> |
| 553 |
<visible>true</visible> |
| 554 |
<midichan>0</midichan> |
| 555 |
<midicc>0</midicc> |
| 556 |
<type>value</type> |
| 557 |
<pressedValue>1.00000000</pressedValue> |
| 558 |
<stringvalue/> |
| 559 |
<text> No Initialisation</text> |
| 560 |
<image>/</image> |
| 561 |
<eventLine/> |
| 562 |
<latch>true</latch> |
| 563 |
<latched>false</latched> |
| 564 |
</bsbObject> |
| 565 |
<bsbObject version="2" type="BSBButton"> |
| 566 |
<objectName>_Browse</objectName> |
| 567 |
<x>8</x> |
| 568 |
<y>343</y> |
| 569 |
<width>170</width> |
| 570 |
<height>30</height> |
| 571 |
<uuid>{43341095-bc3a-4607-bd0e-01254da7bc67}</uuid> |
| 572 |
<visible>true</visible> |
| 573 |
<midichan>0</midichan> |
| 574 |
<midicc>0</midicc> |
| 575 |
<type>value</type> |
| 576 |
<pressedValue>1.00000000</pressedValue> |
| 577 |
<stringvalue>Seashore.wav</stringvalue> |
| 578 |
<text>Browse Audio File</text> |
| 579 |
<image>/</image> |
| 580 |
<eventLine/> |
| 581 |
<latch>false</latch> |
| 582 |
<latched>false</latched> |
| 583 |
</bsbObject> |
| 584 |
<bsbObject version="2" type="BSBLineEdit"> |
| 585 |
<objectName>_Browse</objectName> |
| 586 |
<x>178</x> |
| 587 |
<y>344</y> |
| 588 |
<width>330</width> |
| 589 |
<height>28</height> |
| 590 |
<uuid>{b66f3878-dfd0-4290-9b9d-73be88197222}</uuid> |
| 591 |
<visible>true</visible> |
| 592 |
<midichan>0</midichan> |
| 593 |
<midicc>0</midicc> |
| 594 |
<label>Seashore.wav</label> |
| 595 |
<alignment>left</alignment> |
| 596 |
<font>Arial</font> |
| 597 |
<fontsize>10</fontsize> |
| 598 |
<precision>3</precision> |
| 599 |
<color> |
| 600 |
<r>0</r> |
| 601 |
<g>0</g> |
| 602 |
<b>0</b> |
| 603 |
</color> |
| 604 |
<bgcolor mode="nobackground"> |
| 605 |
<r>229</r> |
| 606 |
<g>229</g> |
| 607 |
<b>229</b> |
| 608 |
</bgcolor> |
| 609 |
<background>nobackground</background> |
| 610 |
</bsbObject> |
| 611 |
<bsbObject version="2" type="BSBLabel"> |
| 612 |
<objectName/> |
| 613 |
<x>8</x> |
| 614 |
<y>321</y> |
| 615 |
<width>160</width> |
| 616 |
<height>30</height> |
| 617 |
<uuid>{7e1e7af4-88dd-4046-a781-fa2dc828b980}</uuid> |
| 618 |
<visible>true</visible> |
| 619 |
<midichan>0</midichan> |
| 620 |
<midicc>0</midicc> |
| 621 |
<label>File Input</label> |
| 622 |
<alignment>left</alignment> |
| 623 |
<font>Arial</font> |
| 624 |
<fontsize>10</fontsize> |
| 625 |
<precision>3</precision> |
| 626 |
<color> |
| 627 |
<r>0</r> |
| 628 |
<g>0</g> |
| 629 |
<b>0</b> |
| 630 |
</color> |
| 631 |
<bgcolor mode="nobackground"> |
| 632 |
<r>255</r> |
| 633 |
<g>255</g> |
| 634 |
<b>255</b> |
| 635 |
</bgcolor> |
| 636 |
<bordermode>noborder</bordermode> |
| 637 |
<borderradius>1</borderradius> |
| 638 |
<borderwidth>1</borderwidth> |
| 639 |
</bsbObject> |
| 640 |
<bsbObject version="2" type="BSBDropdown"> |
| 641 |
<objectName>Mode</objectName> |
| 642 |
<x>328</x> |
| 643 |
<y>242</y> |
| 644 |
<width>150</width> |
| 645 |
<height>30</height> |
| 646 |
<uuid>{b8bfe659-5312-49a2-9638-79871f93a3c3}</uuid> |
| 647 |
<visible>true</visible> |
| 648 |
<midichan>0</midichan> |
| 649 |
<midicc>0</midicc> |
| 650 |
<bsbDropdownItemList> |
| 651 |
<bsbDropdownItem> |
| 652 |
<name>Resonant lowpass</name> |
| 653 |
<value>0</value> |
| 654 |
<stringvalue/> |
| 655 |
</bsbDropdownItem> |
| 656 |
<bsbDropdownItem> |
| 657 |
<name>Resonant highpass</name> |
| 658 |
<value>1</value> |
| 659 |
<stringvalue/> |
| 660 |
</bsbDropdownItem> |
| 661 |
<bsbDropdownItem> |
| 662 |
<name>Bandpass</name> |
| 663 |
<value>2</value> |
| 664 |
<stringvalue/> |
| 665 |
</bsbDropdownItem> |
| 666 |
<bsbDropdownItem> |
| 667 |
<name>Band-reject</name> |
| 668 |
<value>3</value> |
| 669 |
<stringvalue/> |
| 670 |
</bsbDropdownItem> |
| 671 |
<bsbDropdownItem> |
| 672 |
<name>Peaking EQ</name> |
| 673 |
<value>4</value> |
| 674 |
<stringvalue/> |
| 675 |
</bsbDropdownItem> |
| 676 |
<bsbDropdownItem> |
| 677 |
<name>Low shelf EQ</name> |
| 678 |
<value>5</value> |
| 679 |
<stringvalue/> |
| 680 |
</bsbDropdownItem> |
| 681 |
<bsbDropdownItem> |
| 682 |
<name>High shelf EQ</name> |
| 683 |
<value>6</value> |
| 684 |
<stringvalue/> |
| 685 |
</bsbDropdownItem> |
| 686 |
</bsbDropdownItemList> |
| 687 |
<selectedIndex>0</selectedIndex> |
| 688 |
<randomizable group="0">false</randomizable> |
| 689 |
</bsbObject> |
| 690 |
<bsbObject version="2" type="BSBLabel"> |
| 691 |
<objectName/> |
| 692 |
<x>248</x> |
| 693 |
<y>242</y> |
| 694 |
<width>80</width> |
| 695 |
<height>30</height> |
| 696 |
<uuid>{ce8e6e3a-e84e-4ef0-9084-00ec44afb9ba}</uuid> |
| 697 |
<visible>true</visible> |
| 698 |
<midichan>0</midichan> |
| 699 |
<midicc>0</midicc> |
| 700 |
<label>Mode</label> |
| 701 |
<alignment>right</alignment> |
| 702 |
<font>Arial</font> |
| 703 |
<fontsize>10</fontsize> |
| 704 |
<precision>3</precision> |
| 705 |
<color> |
| 706 |
<r>0</r> |
| 707 |
<g>0</g> |
| 708 |
<b>0</b> |
| 709 |
</color> |
| 710 |
<bgcolor mode="nobackground"> |
| 711 |
<r>255</r> |
| 712 |
<g>255</g> |
| 713 |
<b>255</b> |
| 714 |
</bgcolor> |
| 715 |
<bordermode>noborder</bordermode> |
| 716 |
<borderradius>1</borderradius> |
| 717 |
<borderwidth>1</borderwidth> |
| 718 |
</bsbObject> |
| 719 |
<bsbObject version="2" type="BSBDropdown"> |
| 720 |
<objectName>Input</objectName> |
| 721 |
<x>168</x> |
| 722 |
<y>242</y> |
| 723 |
<width>100</width> |
| 724 |
<height>30</height> |
| 725 |
<uuid>{6c6b4fc6-1c0d-4965-90bc-35b2b3e07a15}</uuid> |
| 726 |
<visible>true</visible> |
| 727 |
<midichan>0</midichan> |
| 728 |
<midicc>0</midicc> |
| 729 |
<bsbDropdownItemList> |
| 730 |
<bsbDropdownItem> |
| 731 |
<name>Audio File</name> |
| 732 |
<value>0</value> |
| 733 |
<stringvalue/> |
| 734 |
</bsbDropdownItem> |
| 735 |
<bsbDropdownItem> |
| 736 |
<name>Sawtooth</name> |
| 737 |
<value>1</value> |
| 738 |
<stringvalue/> |
| 739 |
</bsbDropdownItem> |
| 740 |
</bsbDropdownItemList> |
| 741 |
<selectedIndex>1</selectedIndex> |
| 742 |
<randomizable group="0">false</randomizable> |
| 743 |
</bsbObject> |
| 744 |
<bsbObject version="2" type="BSBDisplay"> |
| 745 |
<objectName>Q_Value</objectName> |
| 746 |
<x>448</x> |
| 747 |
<y>138</y> |
| 748 |
<width>60</width> |
| 749 |
<height>30</height> |
| 750 |
<uuid>{c6d3cf70-ecd3-4def-ac31-9429e6b35222}</uuid> |
| 751 |
<visible>true</visible> |
| 752 |
<midichan>0</midichan> |
| 753 |
<midicc>0</midicc> |
| 754 |
<label>0.006</label> |
| 755 |
<alignment>right</alignment> |
| 756 |
<font>Arial</font> |
| 757 |
<fontsize>9</fontsize> |
| 758 |
<precision>3</precision> |
| 759 |
<color> |
| 760 |
<r>0</r> |
| 761 |
<g>0</g> |
| 762 |
<b>0</b> |
| 763 |
</color> |
| 764 |
<bgcolor mode="nobackground"> |
| 765 |
<r>255</r> |
| 766 |
<g>255</g> |
| 767 |
<b>255</b> |
| 768 |
</bgcolor> |
| 769 |
<bordermode>noborder</bordermode> |
| 770 |
<borderradius>1</borderradius> |
| 771 |
<borderwidth>1</borderwidth> |
| 772 |
</bsbObject> |
| 773 |
<bsbObject version="2" type="BSBHSlider"> |
| 774 |
<objectName>Q</objectName> |
| 775 |
<x>8</x> |
| 776 |
<y>121</y> |
| 777 |
<width>500</width> |
| 778 |
<height>27</height> |
| 779 |
<uuid>{07b18695-8869-4f37-a21e-c04b1d0cd39a}</uuid> |
| 780 |
<visible>true</visible> |
| 781 |
<midichan>0</midichan> |
| 782 |
<midicc>0</midicc> |
| 783 |
<minimum>0.00000000</minimum> |
| 784 |
<maximum>1.00000000</maximum> |
| 785 |
<value>0.59800000</value> |
| 786 |
<mode>lin</mode> |
| 787 |
<mouseControl act="jump">continuous</mouseControl> |
| 788 |
<resolution>-1.00000000</resolution> |
| 789 |
<randomizable group="0">false</randomizable> |
| 790 |
</bsbObject> |
| 791 |
<bsbObject version="2" type="BSBLabel"> |
| 792 |
<objectName/> |
| 793 |
<x>8</x> |
| 794 |
<y>138</y> |
| 795 |
<width>160</width> |
| 796 |
<height>30</height> |
| 797 |
<uuid>{ab2644e4-3922-4740-965c-95bfeb24ecc7}</uuid> |
| 798 |
<visible>true</visible> |
| 799 |
<midichan>0</midichan> |
| 800 |
<midicc>0</midicc> |
| 801 |
<label>Q</label> |
| 802 |
<alignment>left</alignment> |
| 803 |
<font>Arial</font> |
| 804 |
<fontsize>10</fontsize> |
| 805 |
<precision>3</precision> |
| 806 |
<color> |
| 807 |
<r>0</r> |
| 808 |
<g>0</g> |
| 809 |
<b>0</b> |
| 810 |
</color> |
| 811 |
<bgcolor mode="nobackground"> |
| 812 |
<r>255</r> |
| 813 |
<g>255</g> |
| 814 |
<b>255</b> |
| 815 |
</bgcolor> |
| 816 |
<bordermode>noborder</bordermode> |
| 817 |
<borderradius>1</borderradius> |
| 818 |
<borderwidth>1</borderwidth> |
| 819 |
</bsbObject> |
| 820 |
<bsbObject version="2" type="BSBLabel"> |
| 821 |
<objectName/> |
| 822 |
<x>8</x> |
| 823 |
<y>299</y> |
| 824 |
<width>160</width> |
| 825 |
<height>30</height> |
| 826 |
<uuid>{84df1cbe-b2a7-4a3c-bb4c-91bd48efb2ea}</uuid> |
| 827 |
<visible>true</visible> |
| 828 |
<midichan>0</midichan> |
| 829 |
<midicc>0</midicc> |
| 830 |
<label>Sawtooth Frequency</label> |
| 831 |
<alignment>left</alignment> |
| 832 |
<font>Arial</font> |
| 833 |
<fontsize>10</fontsize> |
| 834 |
<precision>3</precision> |
| 835 |
<color> |
| 836 |
<r>0</r> |
| 837 |
<g>0</g> |
| 838 |
<b>0</b> |
| 839 |
</color> |
| 840 |
<bgcolor mode="nobackground"> |
| 841 |
<r>255</r> |
| 842 |
<g>255</g> |
| 843 |
<b>255</b> |
| 844 |
</bgcolor> |
| 845 |
<bordermode>noborder</bordermode> |
| 846 |
<borderradius>1</borderradius> |
| 847 |
<borderwidth>1</borderwidth> |
| 848 |
</bsbObject> |
| 849 |
<bsbObject version="2" type="BSBHSlider"> |
| 850 |
<objectName>Sawtooth_Frequency</objectName> |
| 851 |
<x>8</x> |
| 852 |
<y>282</y> |
| 853 |
<width>500</width> |
| 854 |
<height>27</height> |
| 855 |
<uuid>{f4302743-9d62-480e-823e-48caef584b70}</uuid> |
| 856 |
<visible>true</visible> |
| 857 |
<midichan>0</midichan> |
| 858 |
<midicc>0</midicc> |
| 859 |
<minimum>0.00000000</minimum> |
| 860 |
<maximum>1.00000000</maximum> |
| 861 |
<value>0.46600000</value> |
| 862 |
<mode>lin</mode> |
| 863 |
<mouseControl act="jump">continuous</mouseControl> |
| 864 |
<resolution>-1.00000000</resolution> |
| 865 |
<randomizable group="0">false</randomizable> |
| 866 |
</bsbObject> |
| 867 |
<bsbObject version="2" type="BSBDisplay"> |
| 868 |
<objectName>Sawtooth_Frequency_Value</objectName> |
| 869 |
<x>448</x> |
| 870 |
<y>299</y> |
| 871 |
<width>60</width> |
| 872 |
<height>30</height> |
| 873 |
<uuid>{64e46c55-ba7a-4cc6-9b81-55365860a8f1}</uuid> |
| 874 |
<visible>true</visible> |
| 875 |
<midichan>0</midichan> |
| 876 |
<midicc>0</midicc> |
| 877 |
<label>262.156</label> |
| 878 |
<alignment>right</alignment> |
| 879 |
<font>Arial</font> |
| 880 |
<fontsize>9</fontsize> |
| 881 |
<precision>3</precision> |
| 882 |
<color> |
| 883 |
<r>0</r> |
| 884 |
<g>0</g> |
| 885 |
<b>0</b> |
| 886 |
</color> |
| 887 |
<bgcolor mode="nobackground"> |
| 888 |
<r>255</r> |
| 889 |
<g>255</g> |
| 890 |
<b>255</b> |
| 891 |
</bgcolor> |
| 892 |
<bordermode>noborder</bordermode> |
| 893 |
<borderradius>1</borderradius> |
| 894 |
<borderwidth>1</borderwidth> |
| 895 |
</bsbObject> |
| 896 |
<bsbObject version="2" type="BSBLabel"> |
| 897 |
<objectName/> |
| 898 |
<x>89</x> |
| 899 |
<y>242</y> |
| 900 |
<width>80</width> |
| 901 |
<height>30</height> |
| 902 |
<uuid>{ce7e0e95-bbda-4094-b86e-3b1ebbf0eb33}</uuid> |
| 903 |
<visible>true</visible> |
| 904 |
<midichan>0</midichan> |
| 905 |
<midicc>0</midicc> |
| 906 |
<label>Input</label> |
| 907 |
<alignment>right</alignment> |
| 908 |
<font>Arial</font> |
| 909 |
<fontsize>10</fontsize> |
| 910 |
<precision>3</precision> |
| 911 |
<color> |
| 912 |
<r>0</r> |
| 913 |
<g>0</g> |
| 914 |
<b>0</b> |
| 915 |
</color> |
| 916 |
<bgcolor mode="nobackground"> |
| 917 |
<r>255</r> |
| 918 |
<g>255</g> |
| 919 |
<b>255</b> |
| 920 |
</bgcolor> |
| 921 |
<bordermode>noborder</bordermode> |
| 922 |
<borderradius>1</borderradius> |
| 923 |
<borderwidth>1</borderwidth> |
| 924 |
</bsbObject> |
| 925 |
</bsbPanel> |
| 926 |
<bsbPresets> |
| 927 |
</bsbPresets> |
| 928 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel> |