| 1 |
;Written by Iain McCurdy, 2006 |
| 2 |
|
| 3 |
;DEMONSTRATION OF THE wgpluck2 OPCODE WHICH IS AN IMPLEMENTATION OF THE KARPLUS-STRONG PHYSICAL MODEL OF A PLUCKED STRING. |
| 4 |
;IT USES SIMPLE MATHEMATICAL PRINCIPLES AND AN IN-BUILT DELAY LINE TO IMITATE THE SOUND OF A STRING BEING PLUCKED. |
| 5 |
;THE 'VIRTUAL BASS' VST INSTRUMENT THAT COMES WITH CUBASE IS BASED ON THIS ALGORITHM |
| 6 |
|
| 7 |
;TAKING AN ELECTRIC GUITAR OR BASS GUITAR AS ITS CUE THIS OPCODE OFFERS INPUT PARAMETERS FOR: |
| 8 |
|
| 9 |
;iplk - THE POSITION ALONG THE STRING'S LENGTH AT WHICH IT IS PLUCKED |
| 10 |
; VALUES FOR iplk SHOULD BE GREATER THAT 0 AND LESS THAN 1 |
| 11 |
; 0 = THE STRING BEING PLUCKED AT THE NUT (NECK), 1 = THE STRING BEING PLUCKED AT THE BRIDGE |
| 12 |
; IN ACTUALITY VALUES OF 0 AND 1 WILL PRODUCE SILENCE |
| 13 |
; VALUES CLOSE TO ZERO OR CLOSE TO 1 WILL PRODUCE A THIN, HARD SOUND (PLUCKED NEAR THE NECK END OR NEAR THE BRIDGE) |
| 14 |
; A VALUE OF .5 WILL PRODUCE A SOFT FLUTEY SOUND (STRING PLUCKED HALFWAY ALONG ITS LENGTH, I.E. 12TH FRET) |
| 15 |
; IF YOU'VE A GUITAR OR ANY STRINGED INSTRUMENT HANDY, TRY IT OUT. |
| 16 |
|
| 17 |
;kpick - LOCATION OF THE PICK-UP UNDERNEATH THE VIBRATING STRING |
| 18 |
; AGAIN VALUES GREATER THAN 0 AND LESS THAN 1 ARE EXPECTED HERE, |
| 19 |
; 0 MEANING THE PICK-UP IS UNDER THE NUT (NECK END), 1 MEANING IT IS UNDER THE BRIDGE, .5 MEANING UNDER THE 12TH FRET FOR AN OPEN STRING |
| 20 |
; SIMILAR SPECTRAL RESULTS APPLY REGARDING WHETHER THE PICK-UP IS CLOSE TO THE BRIDGE OR HALFWAY ALON THE STRING AND SO ON... |
| 21 |
; THIS PARAMETER CAN BE VARIED AT K-RATE - I.E. THE PICK-UP CAN MOVE DURING A NOTE! |
| 22 |
; MOVING THE PICK-UP DURING A NOTE CAUSES A 'FLANGING' EFFECT |
| 23 |
|
| 24 |
;krefl - COEFFICIENT OF REFLECTION, I.E. AMOUNT OF DAMPING OF THE STRING AT THE BRIDGE |
| 25 |
; IMAGINE DAMPING THE STRING WITH THE HEEL OF YOUR HAND WHILE PLUCKING A STRING. |
| 26 |
; ONCE AGAIN VALUES SHOULD BE GREATER THAN 0 AND LESS THAN 1, DON'T ACTUALLY USE 0 OR 1 |
| 27 |
; A VALUE CLOSE TO ZERO REPRESENTS VERY LITTLE DAMPING |
| 28 |
; A VALUE CLOSE TO 1 REPRESENTS A LOT OF DAMPING |
| 29 |
; WHEN USING LARGE AMOUNTS OF DAMPING THE SOUNDING PITCH OF THE PLUCKED STRING CAN DROP SLIGHTLY |
| 30 |
|
| 31 |
;OTHER OPCODES THAT ARE ALSO BASED ON THE SAME KARPLUS-STRONG PLUCKED STRING ALGORITHM ARE pluck AND wgpluck |
| 32 |
|
| 33 |
;THE pluck OPCODE ALSO INCLUDES SOME PHYSICALLY MODELLED DRUM SOUNDS THAT WERE USED BY SOME ANTIQUE DRUM MACHINES |
| 34 |
|
| 35 |
|
| 36 |
;Modified for QuteCsound by René, March 2011 |
| 37 |
;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 38 |
|
| 39 |
|
| 40 |
;Notes on modifications from original csd: |
| 41 |
; Add tables for exp slider |
| 42 |
; INIT instrument added |
| 43 |
; Removed subinstr opcode in midi instrument 1 |
| 44 |
|
| 45 |
|
| 46 |
;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 |
| 47 |
<CsoundSynthesizer> |
| 48 |
<CsOptions> |
| 49 |
|
| 50 |
</CsOptions> |
| 51 |
<CsInstruments> |
| 52 |
sr = 44100 ;SAMPLE RATE |
| 53 |
ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 54 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 55 |
0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH |
| 56 |
|
| 57 |
|
| 58 |
gisine ftgen 0, 0, 131072, 10, 1 ;SINE WAVE (USED FOR VIBRATO) |
| 59 |
giExp1 ftgen 0, 0, 129, -25, 0, 20.0, 128, 3000.0 ;TABLE FOR EXP SLIDER |
| 60 |
giExp2 ftgen 0, 0, 129, -25, 0, 0.01, 128, 100.0 ;TABLE FOR EXP SLIDER |
| 61 |
|
| 62 |
|
| 63 |
instr 2 ;GUI |
| 64 |
ktrig metro 10 |
| 65 |
if (ktrig == 1) then |
| 66 |
gkplk invalue "Pluck" |
| 67 |
gkpick invalue "Pick" |
| 68 |
gkrefl invalue "Refl" |
| 69 |
kcps invalue "Pitch" |
| 70 |
gkcps tablei kcps, giExp1, 1 |
| 71 |
outvalue "Pitch_Value", gkcps |
| 72 |
koutgain invalue "Gain" |
| 73 |
gkoutgain tablei koutgain, giExp2, 1 |
| 74 |
outvalue "Gain_Value", gkoutgain |
| 75 |
endif |
| 76 |
endin |
| 77 |
|
| 78 |
instr 1 ;MIDI ACTIVATED INSTRUMENT |
| 79 |
icps cpsmidi ;FREQUENCY IS READ FROM INCOMING MIDI NOTE |
| 80 |
iamp ampmidi 1 ;AMPLITUDE IS READ FROM INCOMING MIDI NOTE |
| 81 |
|
| 82 |
apluck wgpluck2 i(gkplk), iamp, icps, gkpick, gkrefl |
| 83 |
aenv linsegr 1, 3600, 1, 0.1, 0 ;CREATE AN AMPLITUDE ENVELOPE. THIS WILL BE USED TO PREVENT CLICKS. |
| 84 |
outs apluck * aenv * gkoutgain, apluck * aenv * gkoutgain |
| 85 |
endin |
| 86 |
|
| 87 |
instr 3 |
| 88 |
iamp = 1 |
| 89 |
apluck wgpluck2 i(gkplk), iamp, i(gkcps), gkpick, gkrefl |
| 90 |
aenv linsegr 1, 3600, 1, 0.1, 0 ;CREATE AN AMPLITUDE ENVELOPE. THIS WILL BE USED TO PREVENT CLICKS. |
| 91 |
outs apluck * aenv * gkoutgain, apluck * aenv * gkoutgain |
| 92 |
endin |
| 93 |
|
| 94 |
instr 4 ;INIT |
| 95 |
outvalue "Pluck" , .98 |
| 96 |
outvalue "Pick" , .1 |
| 97 |
outvalue "Refl" , .6 |
| 98 |
outvalue "Pitch" , 0.3213 |
| 99 |
outvalue "Gain" , 0.4 |
| 100 |
endin |
| 101 |
</CsInstruments> |
| 102 |
<CsScore> |
| 103 |
;INSTR | START | DURATION |
| 104 |
i 2 0 3600 ;GUI |
| 105 |
i 4 0 0.1 ;INIT |
| 106 |
</CsScore> |
| 107 |
</CsoundSynthesizer> |
| 108 |
<bsbPanel> |
| 109 |
<label>Widgets</label> |
| 110 |
<objectName/> |
| 111 |
<x>545</x> |
| 112 |
<y>349</y> |
| 113 |
<width>1011</width> |
| 114 |
<height>291</height> |
| 115 |
<visible>true</visible> |
| 116 |
<uuid/> |
| 117 |
<bgcolor mode="background"> |
| 118 |
<r>241</r> |
| 119 |
<g>226</g> |
| 120 |
<b>185</b> |
| 121 |
</bgcolor> |
| 122 |
<bsbObject version="2" type="BSBLabel"> |
| 123 |
<objectName/> |
| 124 |
<x>1</x> |
| 125 |
<y>2</y> |
| 126 |
<width>511</width> |
| 127 |
<height>286</height> |
| 128 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 129 |
<visible>true</visible> |
| 130 |
<midichan>0</midichan> |
| 131 |
<midicc>0</midicc> |
| 132 |
<label>wgpluck2</label> |
| 133 |
<alignment>center</alignment> |
| 134 |
<font>Liberation Sans</font> |
| 135 |
<fontsize>18</fontsize> |
| 136 |
<precision>3</precision> |
| 137 |
<color> |
| 138 |
<r>0</r> |
| 139 |
<g>0</g> |
| 140 |
<b>0</b> |
| 141 |
</color> |
| 142 |
<bgcolor mode="background"> |
| 143 |
<r>147</r> |
| 144 |
<g>154</g> |
| 145 |
<b>255</b> |
| 146 |
</bgcolor> |
| 147 |
<bordermode>border</bordermode> |
| 148 |
<borderradius>5</borderradius> |
| 149 |
<borderwidth>2</borderwidth> |
| 150 |
</bsbObject> |
| 151 |
<bsbObject version="2" type="BSBLabel"> |
| 152 |
<objectName/> |
| 153 |
<x>8</x> |
| 154 |
<y>76</y> |
| 155 |
<width>220</width> |
| 156 |
<height>30</height> |
| 157 |
<uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid> |
| 158 |
<visible>true</visible> |
| 159 |
<midichan>0</midichan> |
| 160 |
<midicc>0</midicc> |
| 161 |
<label>Pluck Position (i-rate)</label> |
| 162 |
<alignment>left</alignment> |
| 163 |
<font>Liberation Sans</font> |
| 164 |
<fontsize>10</fontsize> |
| 165 |
<precision>3</precision> |
| 166 |
<color> |
| 167 |
<r>0</r> |
| 168 |
<g>0</g> |
| 169 |
<b>0</b> |
| 170 |
</color> |
| 171 |
<bgcolor mode="nobackground"> |
| 172 |
<r>255</r> |
| 173 |
<g>255</g> |
| 174 |
<b>255</b> |
| 175 |
</bgcolor> |
| 176 |
<bordermode>noborder</bordermode> |
| 177 |
<borderradius>1</borderradius> |
| 178 |
<borderwidth>1</borderwidth> |
| 179 |
</bsbObject> |
| 180 |
<bsbObject version="2" type="BSBHSlider"> |
| 181 |
<objectName>Pluck</objectName> |
| 182 |
<x>8</x> |
| 183 |
<y>54</y> |
| 184 |
<width>500</width> |
| 185 |
<height>27</height> |
| 186 |
<uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid> |
| 187 |
<visible>true</visible> |
| 188 |
<midichan>0</midichan> |
| 189 |
<midicc>0</midicc> |
| 190 |
<minimum>0.00000000</minimum> |
| 191 |
<maximum>1.00000000</maximum> |
| 192 |
<value>0.98000002</value> |
| 193 |
<mode>lin</mode> |
| 194 |
<mouseControl act="jump">continuous</mouseControl> |
| 195 |
<resolution>-1.00000000</resolution> |
| 196 |
<randomizable group="0">false</randomizable> |
| 197 |
</bsbObject> |
| 198 |
<bsbObject version="2" type="BSBDisplay"> |
| 199 |
<objectName>Pluck</objectName> |
| 200 |
<x>448</x> |
| 201 |
<y>76</y> |
| 202 |
<width>60</width> |
| 203 |
<height>30</height> |
| 204 |
<uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid> |
| 205 |
<visible>true</visible> |
| 206 |
<midichan>0</midichan> |
| 207 |
<midicc>0</midicc> |
| 208 |
<label>0.980</label> |
| 209 |
<alignment>right</alignment> |
| 210 |
<font>Liberation Sans</font> |
| 211 |
<fontsize>9</fontsize> |
| 212 |
<precision>3</precision> |
| 213 |
<color> |
| 214 |
<r>0</r> |
| 215 |
<g>0</g> |
| 216 |
<b>0</b> |
| 217 |
</color> |
| 218 |
<bgcolor mode="nobackground"> |
| 219 |
<r>255</r> |
| 220 |
<g>255</g> |
| 221 |
<b>255</b> |
| 222 |
</bgcolor> |
| 223 |
<bordermode>noborder</bordermode> |
| 224 |
<borderradius>1</borderradius> |
| 225 |
<borderwidth>1</borderwidth> |
| 226 |
</bsbObject> |
| 227 |
<bsbObject version="2" type="BSBLabel"> |
| 228 |
<objectName/> |
| 229 |
<x>515</x> |
| 230 |
<y>2</y> |
| 231 |
<width>488</width> |
| 232 |
<height>286</height> |
| 233 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 234 |
<visible>true</visible> |
| 235 |
<midichan>0</midichan> |
| 236 |
<midicc>0</midicc> |
| 237 |
<label>wgpluck2</label> |
| 238 |
<alignment>center</alignment> |
| 239 |
<font>Liberation Sans</font> |
| 240 |
<fontsize>18</fontsize> |
| 241 |
<precision>3</precision> |
| 242 |
<color> |
| 243 |
<r>0</r> |
| 244 |
<g>0</g> |
| 245 |
<b>0</b> |
| 246 |
</color> |
| 247 |
<bgcolor mode="background"> |
| 248 |
<r>147</r> |
| 249 |
<g>154</g> |
| 250 |
<b>255</b> |
| 251 |
</bgcolor> |
| 252 |
<bordermode>border</bordermode> |
| 253 |
<borderradius>5</borderradius> |
| 254 |
<borderwidth>2</borderwidth> |
| 255 |
</bsbObject> |
| 256 |
<bsbObject version="2" type="BSBLabel"> |
| 257 |
<objectName/> |
| 258 |
<x>517</x> |
| 259 |
<y>22</y> |
| 260 |
<width>488</width> |
| 261 |
<height>263</height> |
| 262 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 263 |
<visible>true</visible> |
| 264 |
<midichan>0</midichan> |
| 265 |
<midicc>0</midicc> |
| 266 |
<label>---------------------------------------------------------------------------------------------------------------------- |
| 267 |
wgpluck2 is another physical model implementation of a plucked string based the Karplus-Strong algorithm. wgpluck takes as its model an electric guitar or electric bass guitar. Pluck position is a value in the range 0 to 1 representing the fractional position along the string's length at which the string is plucked. (0 and 1 represent the string being plucked at the bridge or the nut, .5 represents the string being pluck exactly halfway along its length. Pick-up position is a value in the range 0 to 1 representing the fractional location of the pick-up along the strings length. Pick-up position is variable at k-rate. Coefficient of reflection should be a value between 0 and 1 (but not actually 0 or 1) and represents the amount of damping that is applied to the string as it resonates. Pitch in CPS (cycles per second) controls the intended pitch. Use of damping causes a slight drop in pitch so retuning may be necessary. This example can also be triggered via MIDI. MIDI note number and velocity are interpreted appropriately.</label> |
| 268 |
<alignment>left</alignment> |
| 269 |
<font>Liberation Sans</font> |
| 270 |
<fontsize>14</fontsize> |
| 271 |
<precision>3</precision> |
| 272 |
<color> |
| 273 |
<r>0</r> |
| 274 |
<g>0</g> |
| 275 |
<b>0</b> |
| 276 |
</color> |
| 277 |
<bgcolor mode="nobackground"> |
| 278 |
<r>255</r> |
| 279 |
<g>255</g> |
| 280 |
<b>255</b> |
| 281 |
</bgcolor> |
| 282 |
<bordermode>noborder</bordermode> |
| 283 |
<borderradius>1</borderradius> |
| 284 |
<borderwidth>1</borderwidth> |
| 285 |
</bsbObject> |
| 286 |
<bsbObject version="2" type="BSBButton"> |
| 287 |
<objectName/> |
| 288 |
<x>8</x> |
| 289 |
<y>16</y> |
| 290 |
<width>120</width> |
| 291 |
<height>30</height> |
| 292 |
<uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid> |
| 293 |
<visible>true</visible> |
| 294 |
<midichan>0</midichan> |
| 295 |
<midicc>0</midicc> |
| 296 |
<type>event</type> |
| 297 |
<pressedValue>1.00000000</pressedValue> |
| 298 |
<stringvalue/> |
| 299 |
<text> On / Off (MIDI)</text> |
| 300 |
<image>/</image> |
| 301 |
<eventLine>i 3 0 -1</eventLine> |
| 302 |
<latch>true</latch> |
| 303 |
<latched>false</latched> |
| 304 |
</bsbObject> |
| 305 |
<bsbObject version="2" type="BSBLabel"> |
| 306 |
<objectName/> |
| 307 |
<x>8</x> |
| 308 |
<y>121</y> |
| 309 |
<width>220</width> |
| 310 |
<height>30</height> |
| 311 |
<uuid>{6e0c35ca-d489-456c-a3c8-7b02cf334c36}</uuid> |
| 312 |
<visible>true</visible> |
| 313 |
<midichan>0</midichan> |
| 314 |
<midicc>0</midicc> |
| 315 |
<label>Pick-up Position (k-rate)</label> |
| 316 |
<alignment>left</alignment> |
| 317 |
<font>Liberation Sans</font> |
| 318 |
<fontsize>10</fontsize> |
| 319 |
<precision>3</precision> |
| 320 |
<color> |
| 321 |
<r>0</r> |
| 322 |
<g>0</g> |
| 323 |
<b>0</b> |
| 324 |
</color> |
| 325 |
<bgcolor mode="nobackground"> |
| 326 |
<r>255</r> |
| 327 |
<g>255</g> |
| 328 |
<b>255</b> |
| 329 |
</bgcolor> |
| 330 |
<bordermode>noborder</bordermode> |
| 331 |
<borderradius>1</borderradius> |
| 332 |
<borderwidth>1</borderwidth> |
| 333 |
</bsbObject> |
| 334 |
<bsbObject version="2" type="BSBHSlider"> |
| 335 |
<objectName>Pick</objectName> |
| 336 |
<x>8</x> |
| 337 |
<y>99</y> |
| 338 |
<width>500</width> |
| 339 |
<height>27</height> |
| 340 |
<uuid>{28514f48-2718-4dab-b43c-78c3cc4fba09}</uuid> |
| 341 |
<visible>true</visible> |
| 342 |
<midichan>0</midichan> |
| 343 |
<midicc>0</midicc> |
| 344 |
<minimum>0.00000000</minimum> |
| 345 |
<maximum>1.00000000</maximum> |
| 346 |
<value>0.10000000</value> |
| 347 |
<mode>lin</mode> |
| 348 |
<mouseControl act="jump">continuous</mouseControl> |
| 349 |
<resolution>-1.00000000</resolution> |
| 350 |
<randomizable group="0">false</randomizable> |
| 351 |
</bsbObject> |
| 352 |
<bsbObject version="2" type="BSBDisplay"> |
| 353 |
<objectName>Pick</objectName> |
| 354 |
<x>448</x> |
| 355 |
<y>121</y> |
| 356 |
<width>60</width> |
| 357 |
<height>30</height> |
| 358 |
<uuid>{1ad30bb1-9a2f-461a-bf9e-cc7cc6c9d678}</uuid> |
| 359 |
<visible>true</visible> |
| 360 |
<midichan>0</midichan> |
| 361 |
<midicc>0</midicc> |
| 362 |
<label>0.100</label> |
| 363 |
<alignment>right</alignment> |
| 364 |
<font>Liberation Sans</font> |
| 365 |
<fontsize>9</fontsize> |
| 366 |
<precision>3</precision> |
| 367 |
<color> |
| 368 |
<r>0</r> |
| 369 |
<g>0</g> |
| 370 |
<b>0</b> |
| 371 |
</color> |
| 372 |
<bgcolor mode="nobackground"> |
| 373 |
<r>255</r> |
| 374 |
<g>255</g> |
| 375 |
<b>255</b> |
| 376 |
</bgcolor> |
| 377 |
<bordermode>noborder</bordermode> |
| 378 |
<borderradius>1</borderradius> |
| 379 |
<borderwidth>1</borderwidth> |
| 380 |
</bsbObject> |
| 381 |
<bsbObject version="2" type="BSBLabel"> |
| 382 |
<objectName/> |
| 383 |
<x>8</x> |
| 384 |
<y>166</y> |
| 385 |
<width>220</width> |
| 386 |
<height>30</height> |
| 387 |
<uuid>{b6d928a2-0d92-4eaa-b1e8-9f3091c5794c}</uuid> |
| 388 |
<visible>true</visible> |
| 389 |
<midichan>0</midichan> |
| 390 |
<midicc>0</midicc> |
| 391 |
<label>Coefficient of Reflection</label> |
| 392 |
<alignment>left</alignment> |
| 393 |
<font>Liberation Sans</font> |
| 394 |
<fontsize>10</fontsize> |
| 395 |
<precision>3</precision> |
| 396 |
<color> |
| 397 |
<r>0</r> |
| 398 |
<g>0</g> |
| 399 |
<b>0</b> |
| 400 |
</color> |
| 401 |
<bgcolor mode="nobackground"> |
| 402 |
<r>255</r> |
| 403 |
<g>255</g> |
| 404 |
<b>255</b> |
| 405 |
</bgcolor> |
| 406 |
<bordermode>noborder</bordermode> |
| 407 |
<borderradius>1</borderradius> |
| 408 |
<borderwidth>1</borderwidth> |
| 409 |
</bsbObject> |
| 410 |
<bsbObject version="2" type="BSBHSlider"> |
| 411 |
<objectName>Refl</objectName> |
| 412 |
<x>8</x> |
| 413 |
<y>144</y> |
| 414 |
<width>500</width> |
| 415 |
<height>27</height> |
| 416 |
<uuid>{49a6777a-6ac7-430b-b827-547dc2686e49}</uuid> |
| 417 |
<visible>true</visible> |
| 418 |
<midichan>0</midichan> |
| 419 |
<midicc>0</midicc> |
| 420 |
<minimum>0.00100000</minimum> |
| 421 |
<maximum>0.99900000</maximum> |
| 422 |
<value>0.60000002</value> |
| 423 |
<mode>lin</mode> |
| 424 |
<mouseControl act="jump">continuous</mouseControl> |
| 425 |
<resolution>-1.00000000</resolution> |
| 426 |
<randomizable group="0">false</randomizable> |
| 427 |
</bsbObject> |
| 428 |
<bsbObject version="2" type="BSBDisplay"> |
| 429 |
<objectName>Refl</objectName> |
| 430 |
<x>448</x> |
| 431 |
<y>166</y> |
| 432 |
<width>60</width> |
| 433 |
<height>30</height> |
| 434 |
<uuid>{fca8b154-9112-4b23-8054-469dafd66230}</uuid> |
| 435 |
<visible>true</visible> |
| 436 |
<midichan>0</midichan> |
| 437 |
<midicc>0</midicc> |
| 438 |
<label>0.600</label> |
| 439 |
<alignment>right</alignment> |
| 440 |
<font>Liberation Sans</font> |
| 441 |
<fontsize>9</fontsize> |
| 442 |
<precision>3</precision> |
| 443 |
<color> |
| 444 |
<r>0</r> |
| 445 |
<g>0</g> |
| 446 |
<b>0</b> |
| 447 |
</color> |
| 448 |
<bgcolor mode="nobackground"> |
| 449 |
<r>255</r> |
| 450 |
<g>255</g> |
| 451 |
<b>255</b> |
| 452 |
</bgcolor> |
| 453 |
<bordermode>noborder</bordermode> |
| 454 |
<borderradius>1</borderradius> |
| 455 |
<borderwidth>1</borderwidth> |
| 456 |
</bsbObject> |
| 457 |
<bsbObject version="2" type="BSBLabel"> |
| 458 |
<objectName/> |
| 459 |
<x>8</x> |
| 460 |
<y>211</y> |
| 461 |
<width>220</width> |
| 462 |
<height>30</height> |
| 463 |
<uuid>{55089f0d-6978-4aca-b682-ae666b30683e}</uuid> |
| 464 |
<visible>true</visible> |
| 465 |
<midichan>0</midichan> |
| 466 |
<midicc>0</midicc> |
| 467 |
<label>Pitch in CPS</label> |
| 468 |
<alignment>left</alignment> |
| 469 |
<font>Liberation Sans</font> |
| 470 |
<fontsize>10</fontsize> |
| 471 |
<precision>3</precision> |
| 472 |
<color> |
| 473 |
<r>0</r> |
| 474 |
<g>0</g> |
| 475 |
<b>0</b> |
| 476 |
</color> |
| 477 |
<bgcolor mode="nobackground"> |
| 478 |
<r>255</r> |
| 479 |
<g>255</g> |
| 480 |
<b>255</b> |
| 481 |
</bgcolor> |
| 482 |
<bordermode>noborder</bordermode> |
| 483 |
<borderradius>1</borderradius> |
| 484 |
<borderwidth>1</borderwidth> |
| 485 |
</bsbObject> |
| 486 |
<bsbObject version="2" type="BSBHSlider"> |
| 487 |
<objectName>Pitch</objectName> |
| 488 |
<x>8</x> |
| 489 |
<y>189</y> |
| 490 |
<width>500</width> |
| 491 |
<height>27</height> |
| 492 |
<uuid>{3439fd43-d6bf-41ba-88ab-efcbcda0122c}</uuid> |
| 493 |
<visible>true</visible> |
| 494 |
<midichan>0</midichan> |
| 495 |
<midicc>0</midicc> |
| 496 |
<minimum>0.00000000</minimum> |
| 497 |
<maximum>1.00000000</maximum> |
| 498 |
<value>0.32130000</value> |
| 499 |
<mode>lin</mode> |
| 500 |
<mouseControl act="jump">continuous</mouseControl> |
| 501 |
<resolution>-1.00000000</resolution> |
| 502 |
<randomizable group="0">false</randomizable> |
| 503 |
</bsbObject> |
| 504 |
<bsbObject version="2" type="BSBDisplay"> |
| 505 |
<objectName>Pitch_Value</objectName> |
| 506 |
<x>448</x> |
| 507 |
<y>211</y> |
| 508 |
<width>60</width> |
| 509 |
<height>30</height> |
| 510 |
<uuid>{d78b9853-b96c-4bc2-a2d5-375b6a4869ae}</uuid> |
| 511 |
<visible>true</visible> |
| 512 |
<midichan>0</midichan> |
| 513 |
<midicc>0</midicc> |
| 514 |
<label>100.057</label> |
| 515 |
<alignment>right</alignment> |
| 516 |
<font>Liberation Sans</font> |
| 517 |
<fontsize>9</fontsize> |
| 518 |
<precision>3</precision> |
| 519 |
<color> |
| 520 |
<r>0</r> |
| 521 |
<g>0</g> |
| 522 |
<b>0</b> |
| 523 |
</color> |
| 524 |
<bgcolor mode="nobackground"> |
| 525 |
<r>255</r> |
| 526 |
<g>255</g> |
| 527 |
<b>255</b> |
| 528 |
</bgcolor> |
| 529 |
<bordermode>noborder</bordermode> |
| 530 |
<borderradius>1</borderradius> |
| 531 |
<borderwidth>1</borderwidth> |
| 532 |
</bsbObject> |
| 533 |
<bsbObject version="2" type="BSBLabel"> |
| 534 |
<objectName/> |
| 535 |
<x>8</x> |
| 536 |
<y>256</y> |
| 537 |
<width>220</width> |
| 538 |
<height>30</height> |
| 539 |
<uuid>{d8273459-fbc3-40c2-b202-003f954906f6}</uuid> |
| 540 |
<visible>true</visible> |
| 541 |
<midichan>0</midichan> |
| 542 |
<midicc>0</midicc> |
| 543 |
<label>Output Gain</label> |
| 544 |
<alignment>left</alignment> |
| 545 |
<font>Liberation Sans</font> |
| 546 |
<fontsize>10</fontsize> |
| 547 |
<precision>3</precision> |
| 548 |
<color> |
| 549 |
<r>0</r> |
| 550 |
<g>0</g> |
| 551 |
<b>0</b> |
| 552 |
</color> |
| 553 |
<bgcolor mode="nobackground"> |
| 554 |
<r>255</r> |
| 555 |
<g>255</g> |
| 556 |
<b>255</b> |
| 557 |
</bgcolor> |
| 558 |
<bordermode>noborder</bordermode> |
| 559 |
<borderradius>1</borderradius> |
| 560 |
<borderwidth>1</borderwidth> |
| 561 |
</bsbObject> |
| 562 |
<bsbObject version="2" type="BSBHSlider"> |
| 563 |
<objectName>Gain</objectName> |
| 564 |
<x>8</x> |
| 565 |
<y>234</y> |
| 566 |
<width>500</width> |
| 567 |
<height>27</height> |
| 568 |
<uuid>{ab819133-79c9-448f-a33b-8cbd65c8d6af}</uuid> |
| 569 |
<visible>true</visible> |
| 570 |
<midichan>0</midichan> |
| 571 |
<midicc>0</midicc> |
| 572 |
<minimum>0.00000000</minimum> |
| 573 |
<maximum>1.00000000</maximum> |
| 574 |
<value>0.40000001</value> |
| 575 |
<mode>lin</mode> |
| 576 |
<mouseControl act="jump">continuous</mouseControl> |
| 577 |
<resolution>-1.00000000</resolution> |
| 578 |
<randomizable group="0">false</randomizable> |
| 579 |
</bsbObject> |
| 580 |
<bsbObject version="2" type="BSBDisplay"> |
| 581 |
<objectName>Gain_Value</objectName> |
| 582 |
<x>448</x> |
| 583 |
<y>256</y> |
| 584 |
<width>60</width> |
| 585 |
<height>30</height> |
| 586 |
<uuid>{22ea767e-1d44-46df-a57d-1b39aeeeaa04}</uuid> |
| 587 |
<visible>true</visible> |
| 588 |
<midichan>0</midichan> |
| 589 |
<midicc>0</midicc> |
| 590 |
<label>0.398</label> |
| 591 |
<alignment>right</alignment> |
| 592 |
<font>Liberation Sans</font> |
| 593 |
<fontsize>9</fontsize> |
| 594 |
<precision>3</precision> |
| 595 |
<color> |
| 596 |
<r>0</r> |
| 597 |
<g>0</g> |
| 598 |
<b>0</b> |
| 599 |
</color> |
| 600 |
<bgcolor mode="nobackground"> |
| 601 |
<r>255</r> |
| 602 |
<g>255</g> |
| 603 |
<b>255</b> |
| 604 |
</bgcolor> |
| 605 |
<bordermode>noborder</bordermode> |
| 606 |
<borderradius>1</borderradius> |
| 607 |
<borderwidth>1</borderwidth> |
| 608 |
</bsbObject> |
| 609 |
</bsbPanel> |
| 610 |
<bsbPresets> |
| 611 |
</bsbPresets> |
| 612 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel> |