| 1 |
;Written by Iain McCurdy, 2009 |
| 2 |
|
| 3 |
;Modified for QuteCsound by René, March 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 tables for exp slider |
| 8 |
; Use menu for exitation signal choice |
| 9 |
; INIT instrument added |
| 10 |
; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files |
| 11 |
|
| 12 |
|
| 13 |
;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 |
| 14 |
<CsoundSynthesizer> |
| 15 |
<CsOptions> |
| 16 |
|
| 17 |
</CsOptions> |
| 18 |
<CsInstruments> |
| 19 |
sr = 44100 ;SAMPLE RATE |
| 20 |
ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL |
| 21 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 22 |
0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH |
| 23 |
|
| 24 |
|
| 25 |
gisine ftgen 0,0,1024,10,1 ;A SINE WAVE |
| 26 |
giExp1 ftgen 0, 0, 129, -25, 0, 20.0, 128, 8000.0 ;TABLE FOR EXP SLIDER |
| 27 |
giExp2 ftgen 0, 0, 129, -25, 0, 5.0, 128, 7000.0 ;TABLE FOR EXP SLIDER |
| 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 10 ;GUI |
| 45 |
ktrig metro 10 |
| 46 |
if (ktrig == 1) then |
| 47 |
gkInput invalue "Input" |
| 48 |
gkNseDur invalue "NoiseDur" |
| 49 |
kSineTFrq invalue "SineTFreq" |
| 50 |
gkSineTFrq tablei kSineTFrq, giExp1, 1 |
| 51 |
outvalue "SineTFreq_Value", gkSineTFrq |
| 52 |
gkSineDur invalue "SineBDur" |
| 53 |
kSineFrq invalue "SineBFreq" |
| 54 |
gkSineFrq tablei kSineFrq, giExp1, 1 |
| 55 |
outvalue "SineBFreq_Value", gkSineFrq |
| 56 |
gkplk invalue "PluckPos" |
| 57 |
gkpick invalue "PickPos" |
| 58 |
gkdamp invalue "Damping" |
| 59 |
kcps invalue "Pitch" |
| 60 |
gkcps tablei kcps, giExp2, 1 |
| 61 |
outvalue "Pitch_Value", gkcps |
| 62 |
gkamp invalue "Amplitude" |
| 63 |
gkfilt invalue "Filter" |
| 64 |
|
| 65 |
gkImplsGain invalue "ImpGain" |
| 66 |
gkOutGain invalue "OutGain" |
| 67 |
|
| 68 |
Sfile_new strcpy "" ;INIT TO EMPTY STRING |
| 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 1 ;MIDI INPUT INSTRUMENT |
| 77 |
icps cpsmidi ;READ CYCLES PER SECOND VALUE FROM MIDI INPUT |
| 78 |
iamp ampmidi 1 ;AMPLITUDE IS READ FROM INCOMING MIDI NOTE |
| 79 |
|
| 80 |
iporttime = 0.1 ;PORTAMENTO TIME |
| 81 |
kporttime linseg 0,0.01,iporttime,1,iporttime ;PORTAMENTO TIME VARIABLE THAT RAMPS UP FROM ZERO |
| 82 |
kpick portk gkpick, kporttime ;APPLY PORTAMENTO TO 'PICK-UP POSITION' VARIABLE (PREVENTS 'ZIP' NOISE) |
| 83 |
kSineTFrq portk gkSineTFrq, kporttime ;APPLY PORTAMENTO TO 'SINE TONE FREQUENCY' VARIABLE (MAKES MODULATION SMOOTHER) |
| 84 |
|
| 85 |
if gkInput==0 then ;IF gkinput=1, I.E. IF 'NOISE BURST' IS SELECTED... |
| 86 |
kenv expseg 1,i(gkNseDur),.00001,1,.00001 ;CREATE AN AMPLITUDE ENVELOPE FOR THE NOISE BURST |
| 87 |
axcite pinkish kenv ;CREATE A PINK NOISE SIGNAL |
| 88 |
elseif gkInput==1 then ;IF gkinput=2, I.E. IF 'SOUND FILE' IS SELECTED... |
| 89 |
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) |
| 90 |
if kNew_file=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 91 |
reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'START' |
| 92 |
endif |
| 93 |
NEW_FILE: |
| 94 |
;OUTPUTS OPCODE FILE | SPEED | INSKIP | LOOPING (0=OFF 1=ON) |
| 95 |
axcite,aR FilePlay2 gSfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A STEREO SOUND FILE RIGHT CHANNEL WILL BE IGNORED |
| 96 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 97 |
|
| 98 |
elseif gkInput==2 then ;IF gkinput=3, I.E. IF 'SINE TONE' IS SELECTED... |
| 99 |
kenv expseg 1,i(gkSineDur),.00001,1,.00001 ;CREATE AN AMPLITUDE ENVELOPE FOR THE SINE BURST |
| 100 |
axcite oscili kenv, gkSineFrq, gisine ;CREATE A SINE TONE, FREQUENCY TAKEN FROM GUI SLIDER |
| 101 |
elseif gkInput==3 then ;IF gkinput=4, I.E. IF 'SINE BURST' IS SELECTED... |
| 102 |
axcite oscili 1, kSineTFrq, gisine ;CREATE A SINE TONE |
| 103 |
endif |
| 104 |
|
| 105 |
kSwitch changed gkplk, gkdamp, gkfilt ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 106 |
if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 107 |
reinit UPDATE |
| 108 |
endif |
| 109 |
|
| 110 |
UPDATE: |
| 111 |
ares wgpluck icps, iamp, kpick, i(gkplk), i(gkdamp), i(gkfilt), axcite * gkImplsGain |
| 112 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 113 |
outs ares * gkOutGain, ares * gkOutGain ;SEND AUDIO TO OUTPUTS, SCALE OUTPUT BY gkOutGain WHICH IS CREATED BY A SLIDER |
| 114 |
endin |
| 115 |
|
| 116 |
instr 2 ;GUI ACTIVATED INSTRUMENT |
| 117 |
iporttime = 0.1 ;PORTAMENTO TIME |
| 118 |
kporttime linseg 0,0.01,iporttime,1,iporttime ;PORTAMENTO TIME VARIABLE THAT RAMPS UP FROM ZERO |
| 119 |
kpick portk gkpick, kporttime ;APPLY PORTAMENTO TO 'PICK-UP POSITION' VARIABLE (PREVENTS 'ZIP' NOISE) |
| 120 |
kSineTFrq portk gkSineTFrq, kporttime ;APPLY PORTAMENTO TO 'SINE TONE FREQUENCY' VARIABLE (MAKES MODULATION SMOOTHER) |
| 121 |
|
| 122 |
if gkInput==0 then ;IF gkinput=1, I.E. IF 'NOISE BURST' IS SELECTED... |
| 123 |
kenv expseg 1,i(gkNseDur),.00001,1,.00001 ;CREATE AN AMPLITUDE ENVELOPE FOR THE NOISE BURST |
| 124 |
axcite pinkish kenv ;CREATE A PINK NOISE SIGNAL |
| 125 |
elseif gkInput==1 then ;IF gkinput=2, I.E. IF 'SOUND FILE' IS SELECTED... |
| 126 |
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) |
| 127 |
if kNew_file=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 128 |
reinit NEW_FILE ;BEGIN A REINITIALISATION PASS FROM LABEL 'START' |
| 129 |
endif |
| 130 |
NEW_FILE: |
| 131 |
;OUTPUTS OPCODE FILE | SPEED | INSKIP | LOOPING (0=OFF 1=ON) |
| 132 |
axcite,aR FilePlay2 gSfile, 1, 0, 1 ;GENERATE 2 AUDIO SIGNALS FROM A STEREO SOUND FILE RIGHT CHANNEL WILL BE IGNORED |
| 133 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 134 |
|
| 135 |
elseif gkInput==2 then ;IF gkinput=3, I.E. IF 'SINE TONE' IS SELECTED... |
| 136 |
kenv expseg 1,i(gkSineDur),.00001,1,.00001 ;CREATE AN AMPLITUDE ENVELOPE FOR THE SINE BURST |
| 137 |
axcite oscili kenv, gkSineFrq, gisine ;CREATE A SINE TONE, FREQUENCY TAKEN FROM GUI SLIDER |
| 138 |
elseif gkInput==3 then ;IF gkinput=4, I.E. IF 'SINE BURST' IS SELECTED... |
| 139 |
axcite oscili 1, kSineTFrq, gisine ;CREATE A SINE TONE |
| 140 |
endif |
| 141 |
|
| 142 |
kSwitch changed gkcps, gkamp, gkplk, gkdamp, gkfilt ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 143 |
if kSwitch=1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 144 |
reinit UPDATE |
| 145 |
endif |
| 146 |
|
| 147 |
UPDATE: |
| 148 |
ares wgpluck i(gkcps), i(gkamp), kpick, i(gkplk), i(gkdamp), i(gkfilt), axcite * gkImplsGain |
| 149 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 150 |
outs ares * gkOutGain, ares * gkOutGain ;SEND AUDIO TO OUTPUTS, SCALE OUTPUT BY gkOutGain WHICH IS CREATED BY A SLIDER |
| 151 |
endin |
| 152 |
|
| 153 |
instr 3 ;INIT |
| 154 |
outvalue "PluckPos" , .98 |
| 155 |
outvalue "PickPos" , .1 |
| 156 |
outvalue "Damping" , 20 |
| 157 |
outvalue "Pitch" , 0.5652 |
| 158 |
outvalue "Amplitude" , 0.5 |
| 159 |
outvalue "Filter" , 1000 |
| 160 |
outvalue "ImpGain" , 0.15 |
| 161 |
outvalue "OutGain" , 0.15 |
| 162 |
outvalue "NoiseDur" , 0.3 |
| 163 |
outvalue "SineBDur" , 0.3 |
| 164 |
outvalue "SineBFreq" , 0.45201 |
| 165 |
outvalue "SineTFreq" , 0.45201 |
| 166 |
endin |
| 167 |
</CsInstruments> |
| 168 |
<CsScore> |
| 169 |
;INSTR | START | DURATION |
| 170 |
i 10 0 3600 ;GUI |
| 171 |
|
| 172 |
i 3 0 0.1 ;INIT |
| 173 |
</CsScore> |
| 174 |
</CsoundSynthesizer> |
| 175 |
<bsbPanel> |
| 176 |
<label>Widgets</label> |
| 177 |
<objectName/> |
| 178 |
<x>835</x> |
| 179 |
<y>209</y> |
| 180 |
<width>844</width> |
| 181 |
<height>684</height> |
| 182 |
<visible>true</visible> |
| 183 |
<uuid/> |
| 184 |
<bgcolor mode="background"> |
| 185 |
<r>241</r> |
| 186 |
<g>226</g> |
| 187 |
<b>185</b> |
| 188 |
</bgcolor> |
| 189 |
<bsbObject version="2" type="BSBLabel"> |
| 190 |
<objectName/> |
| 191 |
<x>2</x> |
| 192 |
<y>2</y> |
| 193 |
<width>511</width> |
| 194 |
<height>680</height> |
| 195 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 196 |
<visible>true</visible> |
| 197 |
<midichan>0</midichan> |
| 198 |
<midicc>0</midicc> |
| 199 |
<label>wgpluck</label> |
| 200 |
<alignment>center</alignment> |
| 201 |
<font>Liberation Sans</font> |
| 202 |
<fontsize>18</fontsize> |
| 203 |
<precision>3</precision> |
| 204 |
<color> |
| 205 |
<r>0</r> |
| 206 |
<g>0</g> |
| 207 |
<b>0</b> |
| 208 |
</color> |
| 209 |
<bgcolor mode="background"> |
| 210 |
<r>147</r> |
| 211 |
<g>154</g> |
| 212 |
<b>255</b> |
| 213 |
</bgcolor> |
| 214 |
<bordermode>border</bordermode> |
| 215 |
<borderradius>5</borderradius> |
| 216 |
<borderwidth>2</borderwidth> |
| 217 |
</bsbObject> |
| 218 |
<bsbObject version="2" type="BSBLabel"> |
| 219 |
<objectName/> |
| 220 |
<x>8</x> |
| 221 |
<y>62</y> |
| 222 |
<width>220</width> |
| 223 |
<height>30</height> |
| 224 |
<uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid> |
| 225 |
<visible>true</visible> |
| 226 |
<midichan>0</midichan> |
| 227 |
<midicc>0</midicc> |
| 228 |
<label>Pluck Position (i-rate)</label> |
| 229 |
<alignment>left</alignment> |
| 230 |
<font>Liberation Sans</font> |
| 231 |
<fontsize>10</fontsize> |
| 232 |
<precision>3</precision> |
| 233 |
<color> |
| 234 |
<r>0</r> |
| 235 |
<g>0</g> |
| 236 |
<b>0</b> |
| 237 |
</color> |
| 238 |
<bgcolor mode="nobackground"> |
| 239 |
<r>255</r> |
| 240 |
<g>255</g> |
| 241 |
<b>255</b> |
| 242 |
</bgcolor> |
| 243 |
<bordermode>noborder</bordermode> |
| 244 |
<borderradius>1</borderradius> |
| 245 |
<borderwidth>1</borderwidth> |
| 246 |
</bsbObject> |
| 247 |
<bsbObject version="2" type="BSBHSlider"> |
| 248 |
<objectName>PluckPos</objectName> |
| 249 |
<x>8</x> |
| 250 |
<y>41</y> |
| 251 |
<width>500</width> |
| 252 |
<height>27</height> |
| 253 |
<uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid> |
| 254 |
<visible>true</visible> |
| 255 |
<midichan>0</midichan> |
| 256 |
<midicc>0</midicc> |
| 257 |
<minimum>0.00000000</minimum> |
| 258 |
<maximum>1.00000000</maximum> |
| 259 |
<value>0.98000002</value> |
| 260 |
<mode>lin</mode> |
| 261 |
<mouseControl act="jump">continuous</mouseControl> |
| 262 |
<resolution>-1.00000000</resolution> |
| 263 |
<randomizable group="0">false</randomizable> |
| 264 |
</bsbObject> |
| 265 |
<bsbObject version="2" type="BSBDisplay"> |
| 266 |
<objectName>PluckPos</objectName> |
| 267 |
<x>448</x> |
| 268 |
<y>62</y> |
| 269 |
<width>60</width> |
| 270 |
<height>30</height> |
| 271 |
<uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid> |
| 272 |
<visible>true</visible> |
| 273 |
<midichan>0</midichan> |
| 274 |
<midicc>0</midicc> |
| 275 |
<label>0.980</label> |
| 276 |
<alignment>right</alignment> |
| 277 |
<font>Liberation Sans</font> |
| 278 |
<fontsize>9</fontsize> |
| 279 |
<precision>3</precision> |
| 280 |
<color> |
| 281 |
<r>0</r> |
| 282 |
<g>0</g> |
| 283 |
<b>0</b> |
| 284 |
</color> |
| 285 |
<bgcolor mode="nobackground"> |
| 286 |
<r>255</r> |
| 287 |
<g>255</g> |
| 288 |
<b>255</b> |
| 289 |
</bgcolor> |
| 290 |
<bordermode>noborder</bordermode> |
| 291 |
<borderradius>1</borderradius> |
| 292 |
<borderwidth>1</borderwidth> |
| 293 |
</bsbObject> |
| 294 |
<bsbObject version="2" type="BSBButton"> |
| 295 |
<objectName/> |
| 296 |
<x>8</x> |
| 297 |
<y>8</y> |
| 298 |
<width>120</width> |
| 299 |
<height>30</height> |
| 300 |
<uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid> |
| 301 |
<visible>true</visible> |
| 302 |
<midichan>0</midichan> |
| 303 |
<midicc>0</midicc> |
| 304 |
<type>event</type> |
| 305 |
<pressedValue>1.00000000</pressedValue> |
| 306 |
<stringvalue/> |
| 307 |
<text> On / Off (MIDI)</text> |
| 308 |
<image>/</image> |
| 309 |
<eventLine>i 2 0 -1</eventLine> |
| 310 |
<latch>true</latch> |
| 311 |
<latched>false</latched> |
| 312 |
</bsbObject> |
| 313 |
<bsbObject version="2" type="BSBLabel"> |
| 314 |
<objectName/> |
| 315 |
<x>8</x> |
| 316 |
<y>108</y> |
| 317 |
<width>220</width> |
| 318 |
<height>30</height> |
| 319 |
<uuid>{1fee3c20-99d2-4c60-baa7-669d23492f06}</uuid> |
| 320 |
<visible>true</visible> |
| 321 |
<midichan>0</midichan> |
| 322 |
<midicc>0</midicc> |
| 323 |
<label>Pick-up Position (k-rate)</label> |
| 324 |
<alignment>left</alignment> |
| 325 |
<font>Liberation Sans</font> |
| 326 |
<fontsize>10</fontsize> |
| 327 |
<precision>3</precision> |
| 328 |
<color> |
| 329 |
<r>0</r> |
| 330 |
<g>0</g> |
| 331 |
<b>0</b> |
| 332 |
</color> |
| 333 |
<bgcolor mode="nobackground"> |
| 334 |
<r>255</r> |
| 335 |
<g>255</g> |
| 336 |
<b>255</b> |
| 337 |
</bgcolor> |
| 338 |
<bordermode>noborder</bordermode> |
| 339 |
<borderradius>1</borderradius> |
| 340 |
<borderwidth>1</borderwidth> |
| 341 |
</bsbObject> |
| 342 |
<bsbObject version="2" type="BSBHSlider"> |
| 343 |
<objectName>PickPos</objectName> |
| 344 |
<x>8</x> |
| 345 |
<y>87</y> |
| 346 |
<width>500</width> |
| 347 |
<height>27</height> |
| 348 |
<uuid>{f5ebacc2-9a31-48e3-adb0-3cb090aec444}</uuid> |
| 349 |
<visible>true</visible> |
| 350 |
<midichan>0</midichan> |
| 351 |
<midicc>0</midicc> |
| 352 |
<minimum>0.00000000</minimum> |
| 353 |
<maximum>0.99999000</maximum> |
| 354 |
<value>0.10000000</value> |
| 355 |
<mode>lin</mode> |
| 356 |
<mouseControl act="jump">continuous</mouseControl> |
| 357 |
<resolution>-1.00000000</resolution> |
| 358 |
<randomizable group="0">false</randomizable> |
| 359 |
</bsbObject> |
| 360 |
<bsbObject version="2" type="BSBDisplay"> |
| 361 |
<objectName>PickPos</objectName> |
| 362 |
<x>448</x> |
| 363 |
<y>108</y> |
| 364 |
<width>60</width> |
| 365 |
<height>30</height> |
| 366 |
<uuid>{221d17eb-f6ee-4286-a97f-e6bc5c0a1749}</uuid> |
| 367 |
<visible>true</visible> |
| 368 |
<midichan>0</midichan> |
| 369 |
<midicc>0</midicc> |
| 370 |
<label>0.100</label> |
| 371 |
<alignment>right</alignment> |
| 372 |
<font>Liberation Sans</font> |
| 373 |
<fontsize>9</fontsize> |
| 374 |
<precision>3</precision> |
| 375 |
<color> |
| 376 |
<r>0</r> |
| 377 |
<g>0</g> |
| 378 |
<b>0</b> |
| 379 |
</color> |
| 380 |
<bgcolor mode="nobackground"> |
| 381 |
<r>255</r> |
| 382 |
<g>255</g> |
| 383 |
<b>255</b> |
| 384 |
</bgcolor> |
| 385 |
<bordermode>noborder</bordermode> |
| 386 |
<borderradius>1</borderradius> |
| 387 |
<borderwidth>1</borderwidth> |
| 388 |
</bsbObject> |
| 389 |
<bsbObject version="2" type="BSBLabel"> |
| 390 |
<objectName/> |
| 391 |
<x>8</x> |
| 392 |
<y>154</y> |
| 393 |
<width>220</width> |
| 394 |
<height>30</height> |
| 395 |
<uuid>{bce7cccd-a303-4a57-af94-fd50cf914991}</uuid> |
| 396 |
<visible>true</visible> |
| 397 |
<midichan>0</midichan> |
| 398 |
<midicc>0</midicc> |
| 399 |
<label>Damping</label> |
| 400 |
<alignment>left</alignment> |
| 401 |
<font>Liberation Sans</font> |
| 402 |
<fontsize>10</fontsize> |
| 403 |
<precision>3</precision> |
| 404 |
<color> |
| 405 |
<r>0</r> |
| 406 |
<g>0</g> |
| 407 |
<b>0</b> |
| 408 |
</color> |
| 409 |
<bgcolor mode="nobackground"> |
| 410 |
<r>255</r> |
| 411 |
<g>255</g> |
| 412 |
<b>255</b> |
| 413 |
</bgcolor> |
| 414 |
<bordermode>noborder</bordermode> |
| 415 |
<borderradius>1</borderradius> |
| 416 |
<borderwidth>1</borderwidth> |
| 417 |
</bsbObject> |
| 418 |
<bsbObject version="2" type="BSBHSlider"> |
| 419 |
<objectName>Damping</objectName> |
| 420 |
<x>8</x> |
| 421 |
<y>133</y> |
| 422 |
<width>500</width> |
| 423 |
<height>27</height> |
| 424 |
<uuid>{aaf82558-9229-4d61-8190-0286f3764e87}</uuid> |
| 425 |
<visible>true</visible> |
| 426 |
<midichan>0</midichan> |
| 427 |
<midicc>0</midicc> |
| 428 |
<minimum>0.00000000</minimum> |
| 429 |
<maximum>1000.00000000</maximum> |
| 430 |
<value>20.00000000</value> |
| 431 |
<mode>lin</mode> |
| 432 |
<mouseControl act="jump">continuous</mouseControl> |
| 433 |
<resolution>-1.00000000</resolution> |
| 434 |
<randomizable group="0">false</randomizable> |
| 435 |
</bsbObject> |
| 436 |
<bsbObject version="2" type="BSBDisplay"> |
| 437 |
<objectName>Damping</objectName> |
| 438 |
<x>448</x> |
| 439 |
<y>154</y> |
| 440 |
<width>60</width> |
| 441 |
<height>30</height> |
| 442 |
<uuid>{1cd1723d-bcd9-44df-9f08-9d8191f03601}</uuid> |
| 443 |
<visible>true</visible> |
| 444 |
<midichan>0</midichan> |
| 445 |
<midicc>0</midicc> |
| 446 |
<label>20.000</label> |
| 447 |
<alignment>right</alignment> |
| 448 |
<font>Liberation Sans</font> |
| 449 |
<fontsize>9</fontsize> |
| 450 |
<precision>3</precision> |
| 451 |
<color> |
| 452 |
<r>0</r> |
| 453 |
<g>0</g> |
| 454 |
<b>0</b> |
| 455 |
</color> |
| 456 |
<bgcolor mode="nobackground"> |
| 457 |
<r>255</r> |
| 458 |
<g>255</g> |
| 459 |
<b>255</b> |
| 460 |
</bgcolor> |
| 461 |
<bordermode>noborder</bordermode> |
| 462 |
<borderradius>1</borderradius> |
| 463 |
<borderwidth>1</borderwidth> |
| 464 |
</bsbObject> |
| 465 |
<bsbObject version="2" type="BSBLabel"> |
| 466 |
<objectName/> |
| 467 |
<x>8</x> |
| 468 |
<y>200</y> |
| 469 |
<width>220</width> |
| 470 |
<height>30</height> |
| 471 |
<uuid>{0f0e06ef-104c-459c-8a8b-3bf531321341}</uuid> |
| 472 |
<visible>true</visible> |
| 473 |
<midichan>0</midichan> |
| 474 |
<midicc>0</midicc> |
| 475 |
<label>Pitch in CPS</label> |
| 476 |
<alignment>left</alignment> |
| 477 |
<font>Liberation Sans</font> |
| 478 |
<fontsize>10</fontsize> |
| 479 |
<precision>3</precision> |
| 480 |
<color> |
| 481 |
<r>0</r> |
| 482 |
<g>0</g> |
| 483 |
<b>0</b> |
| 484 |
</color> |
| 485 |
<bgcolor mode="nobackground"> |
| 486 |
<r>255</r> |
| 487 |
<g>255</g> |
| 488 |
<b>255</b> |
| 489 |
</bgcolor> |
| 490 |
<bordermode>noborder</bordermode> |
| 491 |
<borderradius>1</borderradius> |
| 492 |
<borderwidth>1</borderwidth> |
| 493 |
</bsbObject> |
| 494 |
<bsbObject version="2" type="BSBHSlider"> |
| 495 |
<objectName>Pitch</objectName> |
| 496 |
<x>8</x> |
| 497 |
<y>179</y> |
| 498 |
<width>500</width> |
| 499 |
<height>27</height> |
| 500 |
<uuid>{4a2f399c-8a7b-40cf-84ab-839e1d7012f5}</uuid> |
| 501 |
<visible>true</visible> |
| 502 |
<midichan>0</midichan> |
| 503 |
<midicc>0</midicc> |
| 504 |
<minimum>0.00000000</minimum> |
| 505 |
<maximum>1.00000000</maximum> |
| 506 |
<value>0.56519997</value> |
| 507 |
<mode>lin</mode> |
| 508 |
<mouseControl act="jump">continuous</mouseControl> |
| 509 |
<resolution>-1.00000000</resolution> |
| 510 |
<randomizable group="0">false</randomizable> |
| 511 |
</bsbObject> |
| 512 |
<bsbObject version="2" type="BSBDisplay"> |
| 513 |
<objectName>Pitch_Value</objectName> |
| 514 |
<x>448</x> |
| 515 |
<y>200</y> |
| 516 |
<width>60</width> |
| 517 |
<height>30</height> |
| 518 |
<uuid>{62bd5b38-121f-4382-8c01-02c75edf2237}</uuid> |
| 519 |
<visible>true</visible> |
| 520 |
<midichan>0</midichan> |
| 521 |
<midicc>0</midicc> |
| 522 |
<label>300.136</label> |
| 523 |
<alignment>right</alignment> |
| 524 |
<font>Liberation Sans</font> |
| 525 |
<fontsize>9</fontsize> |
| 526 |
<precision>3</precision> |
| 527 |
<color> |
| 528 |
<r>0</r> |
| 529 |
<g>0</g> |
| 530 |
<b>0</b> |
| 531 |
</color> |
| 532 |
<bgcolor mode="nobackground"> |
| 533 |
<r>255</r> |
| 534 |
<g>255</g> |
| 535 |
<b>255</b> |
| 536 |
</bgcolor> |
| 537 |
<bordermode>noborder</bordermode> |
| 538 |
<borderradius>1</borderradius> |
| 539 |
<borderwidth>1</borderwidth> |
| 540 |
</bsbObject> |
| 541 |
<bsbObject version="2" type="BSBLabel"> |
| 542 |
<objectName/> |
| 543 |
<x>8</x> |
| 544 |
<y>246</y> |
| 545 |
<width>220</width> |
| 546 |
<height>30</height> |
| 547 |
<uuid>{3967c371-a6b0-46ca-a51c-5a44bcad618d}</uuid> |
| 548 |
<visible>true</visible> |
| 549 |
<midichan>0</midichan> |
| 550 |
<midicc>0</midicc> |
| 551 |
<label>Amplitude</label> |
| 552 |
<alignment>left</alignment> |
| 553 |
<font>Liberation Sans</font> |
| 554 |
<fontsize>10</fontsize> |
| 555 |
<precision>3</precision> |
| 556 |
<color> |
| 557 |
<r>0</r> |
| 558 |
<g>0</g> |
| 559 |
<b>0</b> |
| 560 |
</color> |
| 561 |
<bgcolor mode="nobackground"> |
| 562 |
<r>255</r> |
| 563 |
<g>255</g> |
| 564 |
<b>255</b> |
| 565 |
</bgcolor> |
| 566 |
<bordermode>noborder</bordermode> |
| 567 |
<borderradius>1</borderradius> |
| 568 |
<borderwidth>1</borderwidth> |
| 569 |
</bsbObject> |
| 570 |
<bsbObject version="2" type="BSBHSlider"> |
| 571 |
<objectName>Amplitude</objectName> |
| 572 |
<x>8</x> |
| 573 |
<y>225</y> |
| 574 |
<width>500</width> |
| 575 |
<height>27</height> |
| 576 |
<uuid>{fa94c4bb-3469-4fbf-9096-f6f7c115eb69}</uuid> |
| 577 |
<visible>true</visible> |
| 578 |
<midichan>0</midichan> |
| 579 |
<midicc>0</midicc> |
| 580 |
<minimum>0.00000000</minimum> |
| 581 |
<maximum>1.00000000</maximum> |
| 582 |
<value>0.50000000</value> |
| 583 |
<mode>lin</mode> |
| 584 |
<mouseControl act="jump">continuous</mouseControl> |
| 585 |
<resolution>-1.00000000</resolution> |
| 586 |
<randomizable group="0">false</randomizable> |
| 587 |
</bsbObject> |
| 588 |
<bsbObject version="2" type="BSBDisplay"> |
| 589 |
<objectName>Amplitude</objectName> |
| 590 |
<x>448</x> |
| 591 |
<y>246</y> |
| 592 |
<width>60</width> |
| 593 |
<height>30</height> |
| 594 |
<uuid>{1f01b045-b441-4f44-8dfe-884fb64aba2a}</uuid> |
| 595 |
<visible>true</visible> |
| 596 |
<midichan>0</midichan> |
| 597 |
<midicc>0</midicc> |
| 598 |
<label>0.500</label> |
| 599 |
<alignment>right</alignment> |
| 600 |
<font>Liberation Sans</font> |
| 601 |
<fontsize>9</fontsize> |
| 602 |
<precision>3</precision> |
| 603 |
<color> |
| 604 |
<r>0</r> |
| 605 |
<g>0</g> |
| 606 |
<b>0</b> |
| 607 |
</color> |
| 608 |
<bgcolor mode="nobackground"> |
| 609 |
<r>255</r> |
| 610 |
<g>255</g> |
| 611 |
<b>255</b> |
| 612 |
</bgcolor> |
| 613 |
<bordermode>noborder</bordermode> |
| 614 |
<borderradius>1</borderradius> |
| 615 |
<borderwidth>1</borderwidth> |
| 616 |
</bsbObject> |
| 617 |
<bsbObject version="2" type="BSBLabel"> |
| 618 |
<objectName/> |
| 619 |
<x>8</x> |
| 620 |
<y>336</y> |
| 621 |
<width>220</width> |
| 622 |
<height>30</height> |
| 623 |
<uuid>{ca70090e-4ea1-4812-92c7-b0185789dd74}</uuid> |
| 624 |
<visible>true</visible> |
| 625 |
<midichan>0</midichan> |
| 626 |
<midicc>0</midicc> |
| 627 |
<label>Impulse Gain</label> |
| 628 |
<alignment>left</alignment> |
| 629 |
<font>Liberation Sans</font> |
| 630 |
<fontsize>10</fontsize> |
| 631 |
<precision>3</precision> |
| 632 |
<color> |
| 633 |
<r>0</r> |
| 634 |
<g>0</g> |
| 635 |
<b>0</b> |
| 636 |
</color> |
| 637 |
<bgcolor mode="nobackground"> |
| 638 |
<r>255</r> |
| 639 |
<g>255</g> |
| 640 |
<b>255</b> |
| 641 |
</bgcolor> |
| 642 |
<bordermode>noborder</bordermode> |
| 643 |
<borderradius>1</borderradius> |
| 644 |
<borderwidth>1</borderwidth> |
| 645 |
</bsbObject> |
| 646 |
<bsbObject version="2" type="BSBHSlider"> |
| 647 |
<objectName>ImpGain</objectName> |
| 648 |
<x>8</x> |
| 649 |
<y>315</y> |
| 650 |
<width>500</width> |
| 651 |
<height>27</height> |
| 652 |
<uuid>{5c956305-dd8a-41c4-a8c8-f6810de98456}</uuid> |
| 653 |
<visible>true</visible> |
| 654 |
<midichan>0</midichan> |
| 655 |
<midicc>0</midicc> |
| 656 |
<minimum>0.00000000</minimum> |
| 657 |
<maximum>1.00000000</maximum> |
| 658 |
<value>0.15000001</value> |
| 659 |
<mode>lin</mode> |
| 660 |
<mouseControl act="jump">continuous</mouseControl> |
| 661 |
<resolution>-1.00000000</resolution> |
| 662 |
<randomizable group="0">false</randomizable> |
| 663 |
</bsbObject> |
| 664 |
<bsbObject version="2" type="BSBDisplay"> |
| 665 |
<objectName>ImpGain</objectName> |
| 666 |
<x>448</x> |
| 667 |
<y>336</y> |
| 668 |
<width>60</width> |
| 669 |
<height>30</height> |
| 670 |
<uuid>{5c7fff71-06fa-4537-b05e-42f313464f5e}</uuid> |
| 671 |
<visible>true</visible> |
| 672 |
<midichan>0</midichan> |
| 673 |
<midicc>0</midicc> |
| 674 |
<label>0.150</label> |
| 675 |
<alignment>right</alignment> |
| 676 |
<font>Liberation Sans</font> |
| 677 |
<fontsize>9</fontsize> |
| 678 |
<precision>3</precision> |
| 679 |
<color> |
| 680 |
<r>0</r> |
| 681 |
<g>0</g> |
| 682 |
<b>0</b> |
| 683 |
</color> |
| 684 |
<bgcolor mode="nobackground"> |
| 685 |
<r>255</r> |
| 686 |
<g>255</g> |
| 687 |
<b>255</b> |
| 688 |
</bgcolor> |
| 689 |
<bordermode>noborder</bordermode> |
| 690 |
<borderradius>1</borderradius> |
| 691 |
<borderwidth>1</borderwidth> |
| 692 |
</bsbObject> |
| 693 |
<bsbObject version="2" type="BSBLabel"> |
| 694 |
<objectName/> |
| 695 |
<x>8</x> |
| 696 |
<y>382</y> |
| 697 |
<width>220</width> |
| 698 |
<height>30</height> |
| 699 |
<uuid>{5c040edc-9c01-48f3-82f1-b1ab4ab783a7}</uuid> |
| 700 |
<visible>true</visible> |
| 701 |
<midichan>0</midichan> |
| 702 |
<midicc>0</midicc> |
| 703 |
<label>Output Gain</label> |
| 704 |
<alignment>left</alignment> |
| 705 |
<font>Liberation Sans</font> |
| 706 |
<fontsize>10</fontsize> |
| 707 |
<precision>3</precision> |
| 708 |
<color> |
| 709 |
<r>0</r> |
| 710 |
<g>0</g> |
| 711 |
<b>0</b> |
| 712 |
</color> |
| 713 |
<bgcolor mode="nobackground"> |
| 714 |
<r>255</r> |
| 715 |
<g>255</g> |
| 716 |
<b>255</b> |
| 717 |
</bgcolor> |
| 718 |
<bordermode>noborder</bordermode> |
| 719 |
<borderradius>1</borderradius> |
| 720 |
<borderwidth>1</borderwidth> |
| 721 |
</bsbObject> |
| 722 |
<bsbObject version="2" type="BSBHSlider"> |
| 723 |
<objectName>OutGain</objectName> |
| 724 |
<x>8</x> |
| 725 |
<y>361</y> |
| 726 |
<width>500</width> |
| 727 |
<height>27</height> |
| 728 |
<uuid>{5964ce8f-786f-4f9c-b7fd-4296524ae0d9}</uuid> |
| 729 |
<visible>true</visible> |
| 730 |
<midichan>0</midichan> |
| 731 |
<midicc>0</midicc> |
| 732 |
<minimum>0.00000000</minimum> |
| 733 |
<maximum>1.00000000</maximum> |
| 734 |
<value>0.50800000</value> |
| 735 |
<mode>lin</mode> |
| 736 |
<mouseControl act="jump">continuous</mouseControl> |
| 737 |
<resolution>-1.00000000</resolution> |
| 738 |
<randomizable group="0">false</randomizable> |
| 739 |
</bsbObject> |
| 740 |
<bsbObject version="2" type="BSBDisplay"> |
| 741 |
<objectName>OutGain</objectName> |
| 742 |
<x>448</x> |
| 743 |
<y>382</y> |
| 744 |
<width>60</width> |
| 745 |
<height>30</height> |
| 746 |
<uuid>{3e946893-6ed7-47aa-a9f4-01ca8e1b0aa9}</uuid> |
| 747 |
<visible>true</visible> |
| 748 |
<midichan>0</midichan> |
| 749 |
<midicc>0</midicc> |
| 750 |
<label>0.508</label> |
| 751 |
<alignment>right</alignment> |
| 752 |
<font>Liberation Sans</font> |
| 753 |
<fontsize>9</fontsize> |
| 754 |
<precision>3</precision> |
| 755 |
<color> |
| 756 |
<r>0</r> |
| 757 |
<g>0</g> |
| 758 |
<b>0</b> |
| 759 |
</color> |
| 760 |
<bgcolor mode="nobackground"> |
| 761 |
<r>255</r> |
| 762 |
<g>255</g> |
| 763 |
<b>255</b> |
| 764 |
</bgcolor> |
| 765 |
<bordermode>noborder</bordermode> |
| 766 |
<borderradius>1</borderradius> |
| 767 |
<borderwidth>1</borderwidth> |
| 768 |
</bsbObject> |
| 769 |
<bsbObject version="2" type="BSBLabel"> |
| 770 |
<objectName/> |
| 771 |
<x>516</x> |
| 772 |
<y>2</y> |
| 773 |
<width>323</width> |
| 774 |
<height>680</height> |
| 775 |
<uuid>{d4197d59-95e7-4fb4-8c29-56aaf8759c16}</uuid> |
| 776 |
<visible>true</visible> |
| 777 |
<midichan>0</midichan> |
| 778 |
<midicc>0</midicc> |
| 779 |
<label>wgpluck</label> |
| 780 |
<alignment>center</alignment> |
| 781 |
<font>Liberation Sans</font> |
| 782 |
<fontsize>18</fontsize> |
| 783 |
<precision>3</precision> |
| 784 |
<color> |
| 785 |
<r>0</r> |
| 786 |
<g>0</g> |
| 787 |
<b>0</b> |
| 788 |
</color> |
| 789 |
<bgcolor mode="background"> |
| 790 |
<r>147</r> |
| 791 |
<g>154</g> |
| 792 |
<b>255</b> |
| 793 |
</bgcolor> |
| 794 |
<bordermode>border</bordermode> |
| 795 |
<borderradius>5</borderradius> |
| 796 |
<borderwidth>2</borderwidth> |
| 797 |
</bsbObject> |
| 798 |
<bsbObject version="2" type="BSBLabel"> |
| 799 |
<objectName/> |
| 800 |
<x>8</x> |
| 801 |
<y>511</y> |
| 802 |
<width>220</width> |
| 803 |
<height>30</height> |
| 804 |
<uuid>{46af5ce6-bccf-4dde-8bf1-3b1813564763}</uuid> |
| 805 |
<visible>true</visible> |
| 806 |
<midichan>0</midichan> |
| 807 |
<midicc>0</midicc> |
| 808 |
<label>Noise Burst Duration</label> |
| 809 |
<alignment>left</alignment> |
| 810 |
<font>Liberation Sans</font> |
| 811 |
<fontsize>10</fontsize> |
| 812 |
<precision>3</precision> |
| 813 |
<color> |
| 814 |
<r>0</r> |
| 815 |
<g>0</g> |
| 816 |
<b>0</b> |
| 817 |
</color> |
| 818 |
<bgcolor mode="nobackground"> |
| 819 |
<r>255</r> |
| 820 |
<g>255</g> |
| 821 |
<b>255</b> |
| 822 |
</bgcolor> |
| 823 |
<bordermode>noborder</bordermode> |
| 824 |
<borderradius>1</borderradius> |
| 825 |
<borderwidth>1</borderwidth> |
| 826 |
</bsbObject> |
| 827 |
<bsbObject version="2" type="BSBHSlider"> |
| 828 |
<objectName>NoiseDur</objectName> |
| 829 |
<x>8</x> |
| 830 |
<y>490</y> |
| 831 |
<width>500</width> |
| 832 |
<height>27</height> |
| 833 |
<uuid>{6b9dfa56-4f64-43e4-917b-e67a1651cfa0}</uuid> |
| 834 |
<visible>true</visible> |
| 835 |
<midichan>0</midichan> |
| 836 |
<midicc>0</midicc> |
| 837 |
<minimum>0.10000000</minimum> |
| 838 |
<maximum>2.00000000</maximum> |
| 839 |
<value>0.30000001</value> |
| 840 |
<mode>lin</mode> |
| 841 |
<mouseControl act="jump">continuous</mouseControl> |
| 842 |
<resolution>-1.00000000</resolution> |
| 843 |
<randomizable group="0">false</randomizable> |
| 844 |
</bsbObject> |
| 845 |
<bsbObject version="2" type="BSBDisplay"> |
| 846 |
<objectName>NoiseDur</objectName> |
| 847 |
<x>448</x> |
| 848 |
<y>511</y> |
| 849 |
<width>60</width> |
| 850 |
<height>30</height> |
| 851 |
<uuid>{f6d137ad-4713-4831-b3df-5a9ffeac43d6}</uuid> |
| 852 |
<visible>true</visible> |
| 853 |
<midichan>0</midichan> |
| 854 |
<midicc>0</midicc> |
| 855 |
<label>0.300</label> |
| 856 |
<alignment>right</alignment> |
| 857 |
<font>Liberation Sans</font> |
| 858 |
<fontsize>9</fontsize> |
| 859 |
<precision>3</precision> |
| 860 |
<color> |
| 861 |
<r>0</r> |
| 862 |
<g>0</g> |
| 863 |
<b>0</b> |
| 864 |
</color> |
| 865 |
<bgcolor mode="nobackground"> |
| 866 |
<r>255</r> |
| 867 |
<g>255</g> |
| 868 |
<b>255</b> |
| 869 |
</bgcolor> |
| 870 |
<bordermode>noborder</bordermode> |
| 871 |
<borderradius>1</borderradius> |
| 872 |
<borderwidth>1</borderwidth> |
| 873 |
</bsbObject> |
| 874 |
<bsbObject version="2" type="BSBLabel"> |
| 875 |
<objectName/> |
| 876 |
<x>8</x> |
| 877 |
<y>557</y> |
| 878 |
<width>220</width> |
| 879 |
<height>30</height> |
| 880 |
<uuid>{5827f4b1-ad0a-4d1c-8747-414e88af2ee7}</uuid> |
| 881 |
<visible>true</visible> |
| 882 |
<midichan>0</midichan> |
| 883 |
<midicc>0</midicc> |
| 884 |
<label>Sine Tone Frequency</label> |
| 885 |
<alignment>left</alignment> |
| 886 |
<font>Liberation Sans</font> |
| 887 |
<fontsize>10</fontsize> |
| 888 |
<precision>3</precision> |
| 889 |
<color> |
| 890 |
<r>0</r> |
| 891 |
<g>0</g> |
| 892 |
<b>0</b> |
| 893 |
</color> |
| 894 |
<bgcolor mode="nobackground"> |
| 895 |
<r>255</r> |
| 896 |
<g>255</g> |
| 897 |
<b>255</b> |
| 898 |
</bgcolor> |
| 899 |
<bordermode>noborder</bordermode> |
| 900 |
<borderradius>1</borderradius> |
| 901 |
<borderwidth>1</borderwidth> |
| 902 |
</bsbObject> |
| 903 |
<bsbObject version="2" type="BSBHSlider"> |
| 904 |
<objectName>SineTFreq</objectName> |
| 905 |
<x>8</x> |
| 906 |
<y>536</y> |
| 907 |
<width>500</width> |
| 908 |
<height>27</height> |
| 909 |
<uuid>{bb541ae6-8236-40d8-a0d0-744c3296a512}</uuid> |
| 910 |
<visible>true</visible> |
| 911 |
<midichan>0</midichan> |
| 912 |
<midicc>0</midicc> |
| 913 |
<minimum>0.00000000</minimum> |
| 914 |
<maximum>1.00000000</maximum> |
| 915 |
<value>0.45201001</value> |
| 916 |
<mode>lin</mode> |
| 917 |
<mouseControl act="jump">continuous</mouseControl> |
| 918 |
<resolution>-1.00000000</resolution> |
| 919 |
<randomizable group="0">false</randomizable> |
| 920 |
</bsbObject> |
| 921 |
<bsbObject version="2" type="BSBDisplay"> |
| 922 |
<objectName>SineTFreq_Value</objectName> |
| 923 |
<x>448</x> |
| 924 |
<y>557</y> |
| 925 |
<width>60</width> |
| 926 |
<height>30</height> |
| 927 |
<uuid>{084a8d91-cf42-4dc1-95a8-c3da37aa3874}</uuid> |
| 928 |
<visible>true</visible> |
| 929 |
<midichan>0</midichan> |
| 930 |
<midicc>0</midicc> |
| 931 |
<label>300.084</label> |
| 932 |
<alignment>right</alignment> |
| 933 |
<font>Liberation Sans</font> |
| 934 |
<fontsize>9</fontsize> |
| 935 |
<precision>3</precision> |
| 936 |
<color> |
| 937 |
<r>0</r> |
| 938 |
<g>0</g> |
| 939 |
<b>0</b> |
| 940 |
</color> |
| 941 |
<bgcolor mode="nobackground"> |
| 942 |
<r>255</r> |
| 943 |
<g>255</g> |
| 944 |
<b>255</b> |
| 945 |
</bgcolor> |
| 946 |
<bordermode>noborder</bordermode> |
| 947 |
<borderradius>1</borderradius> |
| 948 |
<borderwidth>1</borderwidth> |
| 949 |
</bsbObject> |
| 950 |
<bsbObject version="2" type="BSBLabel"> |
| 951 |
<objectName/> |
| 952 |
<x>8</x> |
| 953 |
<y>603</y> |
| 954 |
<width>220</width> |
| 955 |
<height>30</height> |
| 956 |
<uuid>{62a32db8-949d-4a30-baf2-0eb6962c0383}</uuid> |
| 957 |
<visible>true</visible> |
| 958 |
<midichan>0</midichan> |
| 959 |
<midicc>0</midicc> |
| 960 |
<label>Sine Burst Duration</label> |
| 961 |
<alignment>left</alignment> |
| 962 |
<font>Liberation Sans</font> |
| 963 |
<fontsize>10</fontsize> |
| 964 |
<precision>3</precision> |
| 965 |
<color> |
| 966 |
<r>0</r> |
| 967 |
<g>0</g> |
| 968 |
<b>0</b> |
| 969 |
</color> |
| 970 |
<bgcolor mode="nobackground"> |
| 971 |
<r>255</r> |
| 972 |
<g>255</g> |
| 973 |
<b>255</b> |
| 974 |
</bgcolor> |
| 975 |
<bordermode>noborder</bordermode> |
| 976 |
<borderradius>1</borderradius> |
| 977 |
<borderwidth>1</borderwidth> |
| 978 |
</bsbObject> |
| 979 |
<bsbObject version="2" type="BSBHSlider"> |
| 980 |
<objectName>SineBDur</objectName> |
| 981 |
<x>8</x> |
| 982 |
<y>582</y> |
| 983 |
<width>500</width> |
| 984 |
<height>27</height> |
| 985 |
<uuid>{aa58e620-d673-4877-a5c8-0a970b666b12}</uuid> |
| 986 |
<visible>true</visible> |
| 987 |
<midichan>0</midichan> |
| 988 |
<midicc>0</midicc> |
| 989 |
<minimum>0.10000000</minimum> |
| 990 |
<maximum>2.00000000</maximum> |
| 991 |
<value>0.30000001</value> |
| 992 |
<mode>lin</mode> |
| 993 |
<mouseControl act="jump">continuous</mouseControl> |
| 994 |
<resolution>-1.00000000</resolution> |
| 995 |
<randomizable group="0">false</randomizable> |
| 996 |
</bsbObject> |
| 997 |
<bsbObject version="2" type="BSBDisplay"> |
| 998 |
<objectName>SineBDur</objectName> |
| 999 |
<x>448</x> |
| 1000 |
<y>603</y> |
| 1001 |
<width>60</width> |
| 1002 |
<height>30</height> |
| 1003 |
<uuid>{fb39934d-98b2-46d5-aa5b-9e321297c251}</uuid> |
| 1004 |
<visible>true</visible> |
| 1005 |
<midichan>0</midichan> |
| 1006 |
<midicc>0</midicc> |
| 1007 |
<label>0.300</label> |
| 1008 |
<alignment>right</alignment> |
| 1009 |
<font>Liberation Sans</font> |
| 1010 |
<fontsize>9</fontsize> |
| 1011 |
<precision>3</precision> |
| 1012 |
<color> |
| 1013 |
<r>0</r> |
| 1014 |
<g>0</g> |
| 1015 |
<b>0</b> |
| 1016 |
</color> |
| 1017 |
<bgcolor mode="nobackground"> |
| 1018 |
<r>255</r> |
| 1019 |
<g>255</g> |
| 1020 |
<b>255</b> |
| 1021 |
</bgcolor> |
| 1022 |
<bordermode>noborder</bordermode> |
| 1023 |
<borderradius>1</borderradius> |
| 1024 |
<borderwidth>1</borderwidth> |
| 1025 |
</bsbObject> |
| 1026 |
<bsbObject version="2" type="BSBLabel"> |
| 1027 |
<objectName/> |
| 1028 |
<x>8</x> |
| 1029 |
<y>649</y> |
| 1030 |
<width>220</width> |
| 1031 |
<height>30</height> |
| 1032 |
<uuid>{acf61f85-e306-4fa2-9ec4-7339ea03554c}</uuid> |
| 1033 |
<visible>true</visible> |
| 1034 |
<midichan>0</midichan> |
| 1035 |
<midicc>0</midicc> |
| 1036 |
<label>Sine Burst Frequency</label> |
| 1037 |
<alignment>left</alignment> |
| 1038 |
<font>Liberation Sans</font> |
| 1039 |
<fontsize>10</fontsize> |
| 1040 |
<precision>3</precision> |
| 1041 |
<color> |
| 1042 |
<r>0</r> |
| 1043 |
<g>0</g> |
| 1044 |
<b>0</b> |
| 1045 |
</color> |
| 1046 |
<bgcolor mode="nobackground"> |
| 1047 |
<r>255</r> |
| 1048 |
<g>255</g> |
| 1049 |
<b>255</b> |
| 1050 |
</bgcolor> |
| 1051 |
<bordermode>noborder</bordermode> |
| 1052 |
<borderradius>1</borderradius> |
| 1053 |
<borderwidth>1</borderwidth> |
| 1054 |
</bsbObject> |
| 1055 |
<bsbObject version="2" type="BSBHSlider"> |
| 1056 |
<objectName>SineBFreq</objectName> |
| 1057 |
<x>8</x> |
| 1058 |
<y>628</y> |
| 1059 |
<width>500</width> |
| 1060 |
<height>27</height> |
| 1061 |
<uuid>{d38266cc-b4dc-4933-9631-98588ff07969}</uuid> |
| 1062 |
<visible>true</visible> |
| 1063 |
<midichan>0</midichan> |
| 1064 |
<midicc>0</midicc> |
| 1065 |
<minimum>0.00000000</minimum> |
| 1066 |
<maximum>1.00000000</maximum> |
| 1067 |
<value>0.45201001</value> |
| 1068 |
<mode>lin</mode> |
| 1069 |
<mouseControl act="jump">continuous</mouseControl> |
| 1070 |
<resolution>-1.00000000</resolution> |
| 1071 |
<randomizable group="0">false</randomizable> |
| 1072 |
</bsbObject> |
| 1073 |
<bsbObject version="2" type="BSBDisplay"> |
| 1074 |
<objectName>SineBFreq_Value</objectName> |
| 1075 |
<x>448</x> |
| 1076 |
<y>649</y> |
| 1077 |
<width>60</width> |
| 1078 |
<height>30</height> |
| 1079 |
<uuid>{bea552e7-1162-45d7-a7be-ab38bfa073ec}</uuid> |
| 1080 |
<visible>true</visible> |
| 1081 |
<midichan>0</midichan> |
| 1082 |
<midicc>0</midicc> |
| 1083 |
<label>300.084</label> |
| 1084 |
<alignment>right</alignment> |
| 1085 |
<font>Liberation Sans</font> |
| 1086 |
<fontsize>9</fontsize> |
| 1087 |
<precision>3</precision> |
| 1088 |
<color> |
| 1089 |
<r>0</r> |
| 1090 |
<g>0</g> |
| 1091 |
<b>0</b> |
| 1092 |
</color> |
| 1093 |
<bgcolor mode="nobackground"> |
| 1094 |
<r>255</r> |
| 1095 |
<g>255</g> |
| 1096 |
<b>255</b> |
| 1097 |
</bgcolor> |
| 1098 |
<bordermode>noborder</bordermode> |
| 1099 |
<borderradius>1</borderradius> |
| 1100 |
<borderwidth>1</borderwidth> |
| 1101 |
</bsbObject> |
| 1102 |
<bsbObject version="2" type="BSBDropdown"> |
| 1103 |
<objectName>Input</objectName> |
| 1104 |
<x>178</x> |
| 1105 |
<y>406</y> |
| 1106 |
<width>137</width> |
| 1107 |
<height>30</height> |
| 1108 |
<uuid>{7a28c75c-0384-43d7-a78c-917ef55f9f74}</uuid> |
| 1109 |
<visible>true</visible> |
| 1110 |
<midichan>0</midichan> |
| 1111 |
<midicc>0</midicc> |
| 1112 |
<bsbDropdownItemList> |
| 1113 |
<bsbDropdownItem> |
| 1114 |
<name>Noise Burst</name> |
| 1115 |
<value>0</value> |
| 1116 |
<stringvalue/> |
| 1117 |
</bsbDropdownItem> |
| 1118 |
<bsbDropdownItem> |
| 1119 |
<name>Sound File</name> |
| 1120 |
<value>1</value> |
| 1121 |
<stringvalue/> |
| 1122 |
</bsbDropdownItem> |
| 1123 |
<bsbDropdownItem> |
| 1124 |
<name>Sine Burst</name> |
| 1125 |
<value>2</value> |
| 1126 |
<stringvalue/> |
| 1127 |
</bsbDropdownItem> |
| 1128 |
<bsbDropdownItem> |
| 1129 |
<name>Sine Tone</name> |
| 1130 |
<value>3</value> |
| 1131 |
<stringvalue/> |
| 1132 |
</bsbDropdownItem> |
| 1133 |
</bsbDropdownItemList> |
| 1134 |
<selectedIndex>1</selectedIndex> |
| 1135 |
<randomizable group="0">false</randomizable> |
| 1136 |
</bsbObject> |
| 1137 |
<bsbObject version="2" type="BSBLabel"> |
| 1138 |
<objectName/> |
| 1139 |
<x>520</x> |
| 1140 |
<y>45</y> |
| 1141 |
<width>316</width> |
| 1142 |
<height>578</height> |
| 1143 |
<uuid>{4dd9a56f-89f0-4d88-aacf-1fcb6f6145fd}</uuid> |
| 1144 |
<visible>true</visible> |
| 1145 |
<midichan>0</midichan> |
| 1146 |
<midicc>0</midicc> |
| 1147 |
<label>----------------------------------------------------------------------------------- |
| 1148 |
wgpluck produces a simulation of a plucked string using interpolating delay lines and is based on the Karpluss-Strong plucked string model. |
| 1149 |
It takes an audio signal as an input with which to excite the string although even if this exitation signal is silence a plucked string sound is still produced. Nonetheless, the exitation signal does still influence the sound produced. |
| 1150 |
'Damping' and 'Filter' both have an impact on the tone produced. 'Damping' has a more marked influence on the sound produced and also has the effect of shorting the duration of the note. 'Pick-up Position' is the only parameter that can be modulated at k-rate. |
| 1151 |
I have included gain controls on the exitation signal and on the output signal of the opcode. A variety of short burst and sustained signals are offered. A short burst of pink noise, a short sine tone burst whose frequency can be modulated, a sound file and a sustained sine tone. |
| 1152 |
'Amplitude' controls the amplitude of the sound of the plucked string. Low values will not result in silence at the output but instead a greater predominance of the exitation signal. |
| 1153 |
'Pick-up Position' allows the user to vary the location of the pick-up along the length of the string. A value of 0.5 here represents the half-way point along the string, zero and 1 represent either end of the string. Zero and 1 will accentuate the higher harmonics (as the output is a harmonic sound) and 0.5 will favour the odd numbered harmonics, producing a clarinet-like tone.</label> |
| 1154 |
<alignment>left</alignment> |
| 1155 |
<font>Liberation Sans</font> |
| 1156 |
<fontsize>14</fontsize> |
| 1157 |
<precision>3</precision> |
| 1158 |
<color> |
| 1159 |
<r>0</r> |
| 1160 |
<g>0</g> |
| 1161 |
<b>0</b> |
| 1162 |
</color> |
| 1163 |
<bgcolor mode="nobackground"> |
| 1164 |
<r>255</r> |
| 1165 |
<g>255</g> |
| 1166 |
<b>255</b> |
| 1167 |
</bgcolor> |
| 1168 |
<bordermode>noborder</bordermode> |
| 1169 |
<borderradius>1</borderradius> |
| 1170 |
<borderwidth>1</borderwidth> |
| 1171 |
</bsbObject> |
| 1172 |
<bsbObject version="2" type="BSBButton"> |
| 1173 |
<objectName>_Browse</objectName> |
| 1174 |
<x>8</x> |
| 1175 |
<y>442</y> |
| 1176 |
<width>170</width> |
| 1177 |
<height>30</height> |
| 1178 |
<uuid>{43341095-bc3a-4607-bd0e-01254da7bc67}</uuid> |
| 1179 |
<visible>true</visible> |
| 1180 |
<midichan>0</midichan> |
| 1181 |
<midicc>0</midicc> |
| 1182 |
<type>value</type> |
| 1183 |
<pressedValue>1.00000000</pressedValue> |
| 1184 |
<stringvalue>Songpan.wav</stringvalue> |
| 1185 |
<text>Browse Audio File</text> |
| 1186 |
<image>/</image> |
| 1187 |
<eventLine/> |
| 1188 |
<latch>false</latch> |
| 1189 |
<latched>false</latched> |
| 1190 |
</bsbObject> |
| 1191 |
<bsbObject version="2" type="BSBLineEdit"> |
| 1192 |
<objectName>_Browse</objectName> |
| 1193 |
<x>177</x> |
| 1194 |
<y>443</y> |
| 1195 |
<width>330</width> |
| 1196 |
<height>28</height> |
| 1197 |
<uuid>{b66f3878-dfd0-4290-9b9d-73be88197222}</uuid> |
| 1198 |
<visible>true</visible> |
| 1199 |
<midichan>0</midichan> |
| 1200 |
<midicc>0</midicc> |
| 1201 |
<label>Songpan.wav</label> |
| 1202 |
<alignment>left</alignment> |
| 1203 |
<font>Arial</font> |
| 1204 |
<fontsize>10</fontsize> |
| 1205 |
<precision>3</precision> |
| 1206 |
<color> |
| 1207 |
<r>0</r> |
| 1208 |
<g>0</g> |
| 1209 |
<b>0</b> |
| 1210 |
</color> |
| 1211 |
<bgcolor mode="nobackground"> |
| 1212 |
<r>240</r> |
| 1213 |
<g>235</g> |
| 1214 |
<b>226</b> |
| 1215 |
</bgcolor> |
| 1216 |
<background>nobackground</background> |
| 1217 |
</bsbObject> |
| 1218 |
<bsbObject version="2" type="BSBLabel"> |
| 1219 |
<objectName/> |
| 1220 |
<x>8</x> |
| 1221 |
<y>291</y> |
| 1222 |
<width>220</width> |
| 1223 |
<height>30</height> |
| 1224 |
<uuid>{9a2e6222-da30-40a0-a0bb-4c203f351200}</uuid> |
| 1225 |
<visible>true</visible> |
| 1226 |
<midichan>0</midichan> |
| 1227 |
<midicc>0</midicc> |
| 1228 |
<label>Filter</label> |
| 1229 |
<alignment>left</alignment> |
| 1230 |
<font>Liberation Sans</font> |
| 1231 |
<fontsize>10</fontsize> |
| 1232 |
<precision>3</precision> |
| 1233 |
<color> |
| 1234 |
<r>0</r> |
| 1235 |
<g>0</g> |
| 1236 |
<b>0</b> |
| 1237 |
</color> |
| 1238 |
<bgcolor mode="nobackground"> |
| 1239 |
<r>255</r> |
| 1240 |
<g>255</g> |
| 1241 |
<b>255</b> |
| 1242 |
</bgcolor> |
| 1243 |
<bordermode>noborder</bordermode> |
| 1244 |
<borderradius>1</borderradius> |
| 1245 |
<borderwidth>1</borderwidth> |
| 1246 |
</bsbObject> |
| 1247 |
<bsbObject version="2" type="BSBHSlider"> |
| 1248 |
<objectName>Filter</objectName> |
| 1249 |
<x>8</x> |
| 1250 |
<y>270</y> |
| 1251 |
<width>500</width> |
| 1252 |
<height>27</height> |
| 1253 |
<uuid>{f524826c-f8e9-42ef-bbbc-91b65da0382f}</uuid> |
| 1254 |
<visible>true</visible> |
| 1255 |
<midichan>0</midichan> |
| 1256 |
<midicc>0</midicc> |
| 1257 |
<minimum>0.00000000</minimum> |
| 1258 |
<maximum>2000.00000000</maximum> |
| 1259 |
<value>1000.00000000</value> |
| 1260 |
<mode>lin</mode> |
| 1261 |
<mouseControl act="jump">continuous</mouseControl> |
| 1262 |
<resolution>-1.00000000</resolution> |
| 1263 |
<randomizable group="0">false</randomizable> |
| 1264 |
</bsbObject> |
| 1265 |
<bsbObject version="2" type="BSBDisplay"> |
| 1266 |
<objectName>Filter</objectName> |
| 1267 |
<x>448</x> |
| 1268 |
<y>291</y> |
| 1269 |
<width>60</width> |
| 1270 |
<height>30</height> |
| 1271 |
<uuid>{b05c66ec-15b1-4b14-b4b2-a22617214f75}</uuid> |
| 1272 |
<visible>true</visible> |
| 1273 |
<midichan>0</midichan> |
| 1274 |
<midicc>0</midicc> |
| 1275 |
<label>1000.000</label> |
| 1276 |
<alignment>right</alignment> |
| 1277 |
<font>Liberation Sans</font> |
| 1278 |
<fontsize>9</fontsize> |
| 1279 |
<precision>3</precision> |
| 1280 |
<color> |
| 1281 |
<r>0</r> |
| 1282 |
<g>0</g> |
| 1283 |
<b>0</b> |
| 1284 |
</color> |
| 1285 |
<bgcolor mode="nobackground"> |
| 1286 |
<r>255</r> |
| 1287 |
<g>255</g> |
| 1288 |
<b>255</b> |
| 1289 |
</bgcolor> |
| 1290 |
<bordermode>noborder</bordermode> |
| 1291 |
<borderradius>1</borderradius> |
| 1292 |
<borderwidth>1</borderwidth> |
| 1293 |
</bsbObject> |
| 1294 |
<bsbObject version="2" type="BSBLabel"> |
| 1295 |
<objectName/> |
| 1296 |
<x>75</x> |
| 1297 |
<y>410</y> |
| 1298 |
<width>100</width> |
| 1299 |
<height>30</height> |
| 1300 |
<uuid>{32c52184-d40a-4c61-82dd-1900bf7bbd9e}</uuid> |
| 1301 |
<visible>true</visible> |
| 1302 |
<midichan>0</midichan> |
| 1303 |
<midicc>0</midicc> |
| 1304 |
<label>Exitation signal</label> |
| 1305 |
<alignment>right</alignment> |
| 1306 |
<font>Liberation Sans</font> |
| 1307 |
<fontsize>10</fontsize> |
| 1308 |
<precision>3</precision> |
| 1309 |
<color> |
| 1310 |
<r>0</r> |
| 1311 |
<g>0</g> |
| 1312 |
<b>0</b> |
| 1313 |
</color> |
| 1314 |
<bgcolor mode="nobackground"> |
| 1315 |
<r>255</r> |
| 1316 |
<g>255</g> |
| 1317 |
<b>255</b> |
| 1318 |
</bgcolor> |
| 1319 |
<bordermode>noborder</bordermode> |
| 1320 |
<borderradius>1</borderradius> |
| 1321 |
<borderwidth>1</borderwidth> |
| 1322 |
</bsbObject> |
| 1323 |
</bsbPanel> |
| 1324 |
<bsbPresets> |
| 1325 |
</bsbPresets> |
| 1326 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel> |