| 1 |
;Written by Iain McCurdy, 2006 |
| 2 |
|
| 3 |
;Modified for QuteCsound by René, September 2010, updated Feb 2011 |
| 4 |
;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 5 |
|
| 6 |
;Notes on modifications from original csd: |
| 7 |
; Add Browser for audio file and use of FilePlay2 udo, now accept mono or stereo wav files |
| 8 |
|
| 9 |
|
| 10 |
;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 |
| 11 |
<CsoundSynthesizer> |
| 12 |
<CsOptions> |
| 13 |
--env:SSDIR+=../../SourceMaterials |
| 14 |
</CsOptions> |
| 15 |
<CsInstruments> |
| 16 |
sr = 44100 ;SAMPLE RATE |
| 17 |
ksmps = 32 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 18 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 19 |
0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH |
| 20 |
|
| 21 |
|
| 22 |
gihalfsine ftgen 0, 0, 1025, 9, 0.5, 1, 0 ;HALF SINE WINDOW FUNCTION USED FOR AMPLITUDE ENVELOPING |
| 23 |
|
| 24 |
|
| 25 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 26 |
;gives stereo output regardless your soundfile is mono or stereo |
| 27 |
Sfil, kspeed, iskip, iloop xin |
| 28 |
ichn filenchnls Sfil |
| 29 |
if ichn == 1 then |
| 30 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 31 |
aR = aL |
| 32 |
else |
| 33 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 34 |
endif |
| 35 |
xout aL, aR |
| 36 |
endop |
| 37 |
|
| 38 |
|
| 39 |
instr 10 ;GUI |
| 40 |
gkGain invalue "Gain" ;init .5 |
| 41 |
gktrans invalue "Transposition" ;init 0 |
| 42 |
gkdlt invalue "Delay_Time" ;init .05 |
| 43 |
gkFB invalue "Feedback" ;init 0 |
| 44 |
gkinput invalue "Input" |
| 45 |
gkMix invalue "Mix" ;init 1 |
| 46 |
endin |
| 47 |
|
| 48 |
instr 1 ;PLAYS FILE |
| 49 |
if gkinput=0 then |
| 50 |
Sfile invalue "_Browse1" |
| 51 |
;OUTPUT OPCODE FILE | SPEED | INSKIP | LOOPING (0=OFF 1=ON) |
| 52 |
asigL, asigR FilePlay2 Sfile, 1, 0, 1 |
| 53 |
else |
| 54 |
asigL, asigR ins |
| 55 |
endif |
| 56 |
aenv linsegr 0,0.01,1,0.01,0 ;ANTI CLICK ENVELOPE WITH RELEASE STAGE |
| 57 |
gasigL = asigL * gkGain * aenv ;RESCALE AUDIO SIGNAL WITH ON-SCREEN GAIN SLIDER |
| 58 |
gasigR = asigR * gkGain * aenv ;RESCALE AUDIO SIGNAL WITH ON-SCREEN GAIN SLIDER |
| 59 |
endin |
| 60 |
|
| 61 |
instr 2 ;PITCH SHIFTER |
| 62 |
kporttime linseg 0,0.001,0.005,1,0.005 ;CREATE A VARIABLE FUNCTION THAT RAPIDLY RAMPS UP TO A SET VALUE |
| 63 |
ktrans portk gktrans, kporttime ;SMOOTH CHANGES IN SLIDER VARIABLE |
| 64 |
kdlt portk gkdlt, kporttime ;SMOOTH CHANGES IN SLIDER VARIABLE |
| 65 |
adlt interp kdlt ;CREATE A-RATE VERSION OF kdlt |
| 66 |
koctfract = ktrans/12 ;TRANSPOSITION AS FRACTION OF AN OCTAVE |
| 67 |
kratio = cpsoct(8+koctfract)/cpsoct(8) ;RATIO OF NEW FREQ TO A DECLARED BASE FREQUENCY (MIDDLE C) |
| 68 |
krate = (kratio-1)/kdlt ;SUBTRACT 1/1 SPEED |
| 69 |
|
| 70 |
aphase1 phasor -krate ;MOVING PHASE 1-0 |
| 71 |
aphase2 phasor -krate, .5 ;MOVING PHASE 1-0 - PHASE OFFSET BY 180 DEGREES (.5 RADIANS) |
| 72 |
|
| 73 |
agate1 tablei aphase1, gihalfsine, 1, 0, 1 ;WINDOW FUNC =HALF SINE |
| 74 |
agate2 tablei aphase2, gihalfsine, 1, 0, 1 ;WINDOW FUNC =HALF SINE |
| 75 |
|
| 76 |
;LEFT CHANNEL=========================================================================================================================================================== |
| 77 |
aignore delayr 2 ;DECLARE DELAY BUFFER |
| 78 |
adelsig1L deltap3 aphase1 * adlt ;VARIABLE TAP |
| 79 |
aGatedSig1L = adelsig1L * agate1 |
| 80 |
delayw gasigL + (aGatedSig1L*gkFB) ;WRITE AUDIO TO THE BEGINNING OF THE DELAY BUFFER, MIX IN FEEDBACK SIGNAL - PROPORTION DEFINED BY gkFB |
| 81 |
|
| 82 |
aignore delayr 2 ;DECLARE DELAY BUFFER |
| 83 |
adelsig2L deltap3 aphase2 * adlt ;VARIABLE TAP |
| 84 |
aGatedSig2L = adelsig2L * agate2 |
| 85 |
delayw gasigL + (aGatedSig2L*gkFB) ;WRITE AUDIO TO THE BEGINNING OF THE DELAY BUFFER, MIX IN FEEDBACK SIGNAL - PROPORTION DEFINED BY gkFB |
| 86 |
;======================================================================================================================================================================= |
| 87 |
|
| 88 |
;RIGHT CHANNEL========================================================================================================================================================== |
| 89 |
aignore delayr 2 ;DECLARE DELAY BUFFER |
| 90 |
adelsig1R deltap3 aphase1 * adlt ;VARIABLE TAP |
| 91 |
aGatedSig1R = adelsig1R * agate1 |
| 92 |
delayw gasigR + (aGatedSig1R*gkFB) ;WRITE AUDIO TO THE BEGINNING OF THE DELAY BUFFER, MIX IN FEEDBACK SIGNAL - PROPORTION DEFINED BY gkFB |
| 93 |
|
| 94 |
aignore delayr 2 ;DECLARE DELAY BUFFER |
| 95 |
adelsig2R deltap3 aphase2 * adlt ;VARIABLE TAP |
| 96 |
aGatedSig2R = adelsig2R * agate2 |
| 97 |
delayw gasigR + (aGatedSig2R*gkFB) ;WRITE AUDIO TO THE BEGINNING OF THE DELAY BUFFER, MIX IN FEEDBACK SIGNAL - PROPORTION DEFINED BY gkFB |
| 98 |
;======================================================================================================================================================================= |
| 99 |
aGatedMixL = (aGatedSig1L + aGatedSig2L) * .5 ;SUM AND RESCALE PITCH SHIFTER OUTPUTS (LEFT CHANNEL) |
| 100 |
aGatedMixR = (aGatedSig1R + aGatedSig2R) * .5 ;SUM AND RESCALE PITCH SHIFTER OUTPUTS (RIGHT CHANNEL) |
| 101 |
aL ntrpol gasigL,aGatedMixL,gkMix |
| 102 |
aR ntrpol gasigR,aGatedMixR,gkMix |
| 103 |
outs aL, aR ;SEND AUDIO TO OUTPUTS |
| 104 |
clear gasigL, gasigR ;CLEAR GLOBAL AUDIO VARIABLES |
| 105 |
endin |
| 106 |
</CsInstruments> |
| 107 |
<CsScore> |
| 108 |
;INSTR | START | DURATION |
| 109 |
i 10 0 -1 ;GUI |
| 110 |
i 2 0 -1 ;INSTRUMENT 2 PLAYS A HELD NOTE |
| 111 |
|
| 112 |
f 0 3600 ;DUMMY SCORE EVENT KEEPS REALTIME PERFORMANCE GOING FOR 1 HOUR |
| 113 |
</CsScore> |
| 114 |
</CsoundSynthesizer> |
| 115 |
<bsbPanel> |
| 116 |
<label>Widgets</label> |
| 117 |
<objectName/> |
| 118 |
<x>72</x> |
| 119 |
<y>179</y> |
| 120 |
<width>1134</width> |
| 121 |
<height>413</height> |
| 122 |
<visible>true</visible> |
| 123 |
<uuid/> |
| 124 |
<bgcolor mode="background"> |
| 125 |
<r>241</r> |
| 126 |
<g>226</g> |
| 127 |
<b>185</b> |
| 128 |
</bgcolor> |
| 129 |
<bsbObject version="2" type="BSBLabel"> |
| 130 |
<objectName/> |
| 131 |
<x>3</x> |
| 132 |
<y>2</y> |
| 133 |
<width>516</width> |
| 134 |
<height>368</height> |
| 135 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 136 |
<visible>true</visible> |
| 137 |
<midichan>0</midichan> |
| 138 |
<midicc>0</midicc> |
| 139 |
<label>Completed Pitch Shifter</label> |
| 140 |
<alignment>center</alignment> |
| 141 |
<font>Liberation Sans</font> |
| 142 |
<fontsize>18</fontsize> |
| 143 |
<precision>3</precision> |
| 144 |
<color> |
| 145 |
<r>0</r> |
| 146 |
<g>0</g> |
| 147 |
<b>0</b> |
| 148 |
</color> |
| 149 |
<bgcolor mode="background"> |
| 150 |
<r>158</r> |
| 151 |
<g>220</g> |
| 152 |
<b>217</b> |
| 153 |
</bgcolor> |
| 154 |
<bordermode>border</bordermode> |
| 155 |
<borderradius>5</borderradius> |
| 156 |
<borderwidth>2</borderwidth> |
| 157 |
</bsbObject> |
| 158 |
<bsbObject version="2" type="BSBButton"> |
| 159 |
<objectName/> |
| 160 |
<x>5</x> |
| 161 |
<y>5</y> |
| 162 |
<width>118</width> |
| 163 |
<height>29</height> |
| 164 |
<uuid>{487d5181-d838-4cce-9628-317fefc350cb}</uuid> |
| 165 |
<visible>true</visible> |
| 166 |
<midichan>0</midichan> |
| 167 |
<midicc>0</midicc> |
| 168 |
<type>event</type> |
| 169 |
<pressedValue>1.00000000</pressedValue> |
| 170 |
<stringvalue/> |
| 171 |
<text> ON / OFF</text> |
| 172 |
<image>/</image> |
| 173 |
<eventLine>i 1 0 -1</eventLine> |
| 174 |
<latch>true</latch> |
| 175 |
<latched>false</latched> |
| 176 |
</bsbObject> |
| 177 |
<bsbObject version="2" type="BSBHSlider"> |
| 178 |
<objectName>Gain</objectName> |
| 179 |
<x>9</x> |
| 180 |
<y>60</y> |
| 181 |
<width>500</width> |
| 182 |
<height>27</height> |
| 183 |
<uuid>{de47f47d-bcea-4c1c-ab4b-a323452b1f7e}</uuid> |
| 184 |
<visible>true</visible> |
| 185 |
<midichan>0</midichan> |
| 186 |
<midicc>0</midicc> |
| 187 |
<minimum>0.00000000</minimum> |
| 188 |
<maximum>1.00000000</maximum> |
| 189 |
<value>0.47600000</value> |
| 190 |
<mode>lin</mode> |
| 191 |
<mouseControl act="jump">continuous</mouseControl> |
| 192 |
<resolution>-1.00000000</resolution> |
| 193 |
<randomizable group="0">false</randomizable> |
| 194 |
</bsbObject> |
| 195 |
<bsbObject version="2" type="BSBLabel"> |
| 196 |
<objectName/> |
| 197 |
<x>9</x> |
| 198 |
<y>78</y> |
| 199 |
<width>100</width> |
| 200 |
<height>30</height> |
| 201 |
<uuid>{0200a063-5db8-4668-bc2d-2d989a083f6e}</uuid> |
| 202 |
<visible>true</visible> |
| 203 |
<midichan>0</midichan> |
| 204 |
<midicc>0</midicc> |
| 205 |
<label>Gain</label> |
| 206 |
<alignment>left</alignment> |
| 207 |
<font>Arial</font> |
| 208 |
<fontsize>10</fontsize> |
| 209 |
<precision>3</precision> |
| 210 |
<color> |
| 211 |
<r>0</r> |
| 212 |
<g>0</g> |
| 213 |
<b>0</b> |
| 214 |
</color> |
| 215 |
<bgcolor mode="nobackground"> |
| 216 |
<r>255</r> |
| 217 |
<g>255</g> |
| 218 |
<b>255</b> |
| 219 |
</bgcolor> |
| 220 |
<bordermode>noborder</bordermode> |
| 221 |
<borderradius>1</borderradius> |
| 222 |
<borderwidth>1</borderwidth> |
| 223 |
</bsbObject> |
| 224 |
<bsbObject version="2" type="BSBDisplay"> |
| 225 |
<objectName>Gain</objectName> |
| 226 |
<x>449</x> |
| 227 |
<y>77</y> |
| 228 |
<width>60</width> |
| 229 |
<height>30</height> |
| 230 |
<uuid>{ab191e3a-430d-4f1d-88aa-9840342cd2d3}</uuid> |
| 231 |
<visible>true</visible> |
| 232 |
<midichan>0</midichan> |
| 233 |
<midicc>0</midicc> |
| 234 |
<label>0.476</label> |
| 235 |
<alignment>right</alignment> |
| 236 |
<font>Arial</font> |
| 237 |
<fontsize>9</fontsize> |
| 238 |
<precision>3</precision> |
| 239 |
<color> |
| 240 |
<r>0</r> |
| 241 |
<g>0</g> |
| 242 |
<b>0</b> |
| 243 |
</color> |
| 244 |
<bgcolor mode="nobackground"> |
| 245 |
<r>255</r> |
| 246 |
<g>255</g> |
| 247 |
<b>255</b> |
| 248 |
</bgcolor> |
| 249 |
<bordermode>noborder</bordermode> |
| 250 |
<borderradius>1</borderradius> |
| 251 |
<borderwidth>1</borderwidth> |
| 252 |
</bsbObject> |
| 253 |
<bsbObject version="2" type="BSBLabel"> |
| 254 |
<objectName/> |
| 255 |
<x>518</x> |
| 256 |
<y>2</y> |
| 257 |
<width>606</width> |
| 258 |
<height>367</height> |
| 259 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 260 |
<visible>true</visible> |
| 261 |
<midichan>0</midichan> |
| 262 |
<midicc>0</midicc> |
| 263 |
<label>Completed Pitch Shifter</label> |
| 264 |
<alignment>center</alignment> |
| 265 |
<font>Liberation Sans</font> |
| 266 |
<fontsize>18</fontsize> |
| 267 |
<precision>3</precision> |
| 268 |
<color> |
| 269 |
<r>0</r> |
| 270 |
<g>0</g> |
| 271 |
<b>0</b> |
| 272 |
</color> |
| 273 |
<bgcolor mode="background"> |
| 274 |
<r>158</r> |
| 275 |
<g>220</g> |
| 276 |
<b>217</b> |
| 277 |
</bgcolor> |
| 278 |
<bordermode>border</bordermode> |
| 279 |
<borderradius>5</borderradius> |
| 280 |
<borderwidth>2</borderwidth> |
| 281 |
</bsbObject> |
| 282 |
<bsbObject version="2" type="BSBLabel"> |
| 283 |
<objectName/> |
| 284 |
<x>524</x> |
| 285 |
<y>19</y> |
| 286 |
<width>594</width> |
| 287 |
<height>346</height> |
| 288 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 289 |
<visible>true</visible> |
| 290 |
<midichan>0</midichan> |
| 291 |
<midicc>0</midicc> |
| 292 |
<label>----------------------------------------------------------------------------------------------------------------------------------- |
| 293 |
This example is an refinement of the 'Delay: Simple Pitch Shifter' example in that amplitude enveloping is employed to prevent glitching in the sound output whenever the sawtooth LFO waveform that modulates delay time instantaneously jumps from a maximum to a minimum (or vice versa). Two modulated delay taps (180 degrees out of phase with each other) are employed and are enveloped individually. |
| 294 |
The outputs of the two delay taps are mixed to create an - as smooth as possible - pitch shifted output. Pitch shifting effects can also be produced using any of the granular synthesis opcodes but this method has the advantage that it can be applied to a streamed live audio input or a signal generated within Csound and it does not rely upon a stored function table. |
| 295 |
Some experimentation with the setting for 'Delay Time' can enhance the resultant sound quality. An appropriate setting for 'Delay Time' is partially dependent upon the type of sound material being processed. Most hardware implementations of pitch shifters do not include this parameter. Large values for 'Delay Time' tend to temporally smear the processed sound whereas excessively small values for 'Delay Time' tend to distort the harmonic content of the original sound. The 'Feedback' control allows some of the pitch shifted output to be fed back into the input thus allowing the creation of arpeggiation effects.</label> |
| 296 |
<alignment>left</alignment> |
| 297 |
<font>Liberation Sans</font> |
| 298 |
<fontsize>14</fontsize> |
| 299 |
<precision>3</precision> |
| 300 |
<color> |
| 301 |
<r>0</r> |
| 302 |
<g>0</g> |
| 303 |
<b>0</b> |
| 304 |
</color> |
| 305 |
<bgcolor mode="nobackground"> |
| 306 |
<r>255</r> |
| 307 |
<g>255</g> |
| 308 |
<b>255</b> |
| 309 |
</bgcolor> |
| 310 |
<bordermode>noborder</bordermode> |
| 311 |
<borderradius>1</borderradius> |
| 312 |
<borderwidth>1</borderwidth> |
| 313 |
</bsbObject> |
| 314 |
<bsbObject version="2" type="BSBDisplay"> |
| 315 |
<objectName>Transposition</objectName> |
| 316 |
<x>449</x> |
| 317 |
<y>117</y> |
| 318 |
<width>60</width> |
| 319 |
<height>30</height> |
| 320 |
<uuid>{732b2008-7445-4893-a260-e68561cf8e71}</uuid> |
| 321 |
<visible>true</visible> |
| 322 |
<midichan>0</midichan> |
| 323 |
<midicc>0</midicc> |
| 324 |
<label>2.304</label> |
| 325 |
<alignment>right</alignment> |
| 326 |
<font>Arial</font> |
| 327 |
<fontsize>9</fontsize> |
| 328 |
<precision>3</precision> |
| 329 |
<color> |
| 330 |
<r>0</r> |
| 331 |
<g>0</g> |
| 332 |
<b>0</b> |
| 333 |
</color> |
| 334 |
<bgcolor mode="nobackground"> |
| 335 |
<r>255</r> |
| 336 |
<g>255</g> |
| 337 |
<b>255</b> |
| 338 |
</bgcolor> |
| 339 |
<bordermode>noborder</bordermode> |
| 340 |
<borderradius>1</borderradius> |
| 341 |
<borderwidth>1</borderwidth> |
| 342 |
</bsbObject> |
| 343 |
<bsbObject version="2" type="BSBLabel"> |
| 344 |
<objectName/> |
| 345 |
<x>9</x> |
| 346 |
<y>159</y> |
| 347 |
<width>120</width> |
| 348 |
<height>30</height> |
| 349 |
<uuid>{b57ba536-8f28-4986-9bf7-8eb84262d8ca}</uuid> |
| 350 |
<visible>true</visible> |
| 351 |
<midichan>0</midichan> |
| 352 |
<midicc>0</midicc> |
| 353 |
<label>Delay Time</label> |
| 354 |
<alignment>left</alignment> |
| 355 |
<font>Arial</font> |
| 356 |
<fontsize>10</fontsize> |
| 357 |
<precision>3</precision> |
| 358 |
<color> |
| 359 |
<r>0</r> |
| 360 |
<g>0</g> |
| 361 |
<b>0</b> |
| 362 |
</color> |
| 363 |
<bgcolor mode="nobackground"> |
| 364 |
<r>255</r> |
| 365 |
<g>255</g> |
| 366 |
<b>255</b> |
| 367 |
</bgcolor> |
| 368 |
<bordermode>noborder</bordermode> |
| 369 |
<borderradius>1</borderradius> |
| 370 |
<borderwidth>1</borderwidth> |
| 371 |
</bsbObject> |
| 372 |
<bsbObject version="2" type="BSBHSlider"> |
| 373 |
<objectName>Transposition</objectName> |
| 374 |
<x>9</x> |
| 375 |
<y>100</y> |
| 376 |
<width>500</width> |
| 377 |
<height>27</height> |
| 378 |
<uuid>{b8fa76b9-3d04-4156-a2f2-a413d3864da3}</uuid> |
| 379 |
<visible>true</visible> |
| 380 |
<midichan>0</midichan> |
| 381 |
<midicc>0</midicc> |
| 382 |
<minimum>-24.00000000</minimum> |
| 383 |
<maximum>24.00000000</maximum> |
| 384 |
<value>2.30400000</value> |
| 385 |
<mode>lin</mode> |
| 386 |
<mouseControl act="jump">continuous</mouseControl> |
| 387 |
<resolution>-1.00000000</resolution> |
| 388 |
<randomizable group="0">false</randomizable> |
| 389 |
</bsbObject> |
| 390 |
<bsbObject version="2" type="BSBDisplay"> |
| 391 |
<objectName>Delay_Time</objectName> |
| 392 |
<x>448</x> |
| 393 |
<y>157</y> |
| 394 |
<width>60</width> |
| 395 |
<height>30</height> |
| 396 |
<uuid>{5f670bb1-e411-4f17-94a3-2321fdf5742b}</uuid> |
| 397 |
<visible>true</visible> |
| 398 |
<midichan>0</midichan> |
| 399 |
<midicc>0</midicc> |
| 400 |
<label>0.101</label> |
| 401 |
<alignment>right</alignment> |
| 402 |
<font>Arial</font> |
| 403 |
<fontsize>9</fontsize> |
| 404 |
<precision>3</precision> |
| 405 |
<color> |
| 406 |
<r>0</r> |
| 407 |
<g>0</g> |
| 408 |
<b>0</b> |
| 409 |
</color> |
| 410 |
<bgcolor mode="nobackground"> |
| 411 |
<r>255</r> |
| 412 |
<g>255</g> |
| 413 |
<b>255</b> |
| 414 |
</bgcolor> |
| 415 |
<bordermode>noborder</bordermode> |
| 416 |
<borderradius>1</borderradius> |
| 417 |
<borderwidth>1</borderwidth> |
| 418 |
</bsbObject> |
| 419 |
<bsbObject version="2" type="BSBHSlider"> |
| 420 |
<objectName>Delay_Time</objectName> |
| 421 |
<x>9</x> |
| 422 |
<y>140</y> |
| 423 |
<width>500</width> |
| 424 |
<height>27</height> |
| 425 |
<uuid>{1920efdc-fe11-4010-a22c-50efec0c27d3}</uuid> |
| 426 |
<visible>true</visible> |
| 427 |
<midichan>0</midichan> |
| 428 |
<midicc>0</midicc> |
| 429 |
<minimum>0.00100000</minimum> |
| 430 |
<maximum>2.00000000</maximum> |
| 431 |
<value>0.10095000</value> |
| 432 |
<mode>lin</mode> |
| 433 |
<mouseControl act="jump">continuous</mouseControl> |
| 434 |
<resolution>-1.00000000</resolution> |
| 435 |
<randomizable group="0">false</randomizable> |
| 436 |
</bsbObject> |
| 437 |
<bsbObject version="2" type="BSBLabel"> |
| 438 |
<objectName/> |
| 439 |
<x>9</x> |
| 440 |
<y>118</y> |
| 441 |
<width>160</width> |
| 442 |
<height>30</height> |
| 443 |
<uuid>{aea841b2-29e6-42d6-ac23-02439b1cc47f}</uuid> |
| 444 |
<visible>true</visible> |
| 445 |
<midichan>0</midichan> |
| 446 |
<midicc>0</midicc> |
| 447 |
<label>Transposition (semitones)</label> |
| 448 |
<alignment>left</alignment> |
| 449 |
<font>Arial</font> |
| 450 |
<fontsize>10</fontsize> |
| 451 |
<precision>3</precision> |
| 452 |
<color> |
| 453 |
<r>0</r> |
| 454 |
<g>0</g> |
| 455 |
<b>0</b> |
| 456 |
</color> |
| 457 |
<bgcolor mode="nobackground"> |
| 458 |
<r>255</r> |
| 459 |
<g>255</g> |
| 460 |
<b>255</b> |
| 461 |
</bgcolor> |
| 462 |
<bordermode>noborder</bordermode> |
| 463 |
<borderradius>1</borderradius> |
| 464 |
<borderwidth>1</borderwidth> |
| 465 |
</bsbObject> |
| 466 |
<bsbObject version="2" type="BSBLabel"> |
| 467 |
<objectName/> |
| 468 |
<x>98</x> |
| 469 |
<y>261</y> |
| 470 |
<width>80</width> |
| 471 |
<height>30</height> |
| 472 |
<uuid>{429fca04-6933-4c2e-9e1a-301edbfcdc10}</uuid> |
| 473 |
<visible>true</visible> |
| 474 |
<midichan>0</midichan> |
| 475 |
<midicc>0</midicc> |
| 476 |
<label>Source</label> |
| 477 |
<alignment>right</alignment> |
| 478 |
<font>Arial</font> |
| 479 |
<fontsize>10</fontsize> |
| 480 |
<precision>3</precision> |
| 481 |
<color> |
| 482 |
<r>0</r> |
| 483 |
<g>0</g> |
| 484 |
<b>0</b> |
| 485 |
</color> |
| 486 |
<bgcolor mode="nobackground"> |
| 487 |
<r>255</r> |
| 488 |
<g>255</g> |
| 489 |
<b>255</b> |
| 490 |
</bgcolor> |
| 491 |
<bordermode>noborder</bordermode> |
| 492 |
<borderradius>1</borderradius> |
| 493 |
<borderwidth>1</borderwidth> |
| 494 |
</bsbObject> |
| 495 |
<bsbObject version="2" type="BSBDropdown"> |
| 496 |
<objectName>Input</objectName> |
| 497 |
<x>180</x> |
| 498 |
<y>263</y> |
| 499 |
<width>120</width> |
| 500 |
<height>30</height> |
| 501 |
<uuid>{45d19438-752c-4ed6-a700-3a764c5ab185}</uuid> |
| 502 |
<visible>true</visible> |
| 503 |
<midichan>0</midichan> |
| 504 |
<midicc>0</midicc> |
| 505 |
<bsbDropdownItemList> |
| 506 |
<bsbDropdownItem> |
| 507 |
<name>Audio File</name> |
| 508 |
<value>0</value> |
| 509 |
<stringvalue/> |
| 510 |
</bsbDropdownItem> |
| 511 |
<bsbDropdownItem> |
| 512 |
<name>Live</name> |
| 513 |
<value>1</value> |
| 514 |
<stringvalue/> |
| 515 |
</bsbDropdownItem> |
| 516 |
</bsbDropdownItemList> |
| 517 |
<selectedIndex>1</selectedIndex> |
| 518 |
<randomizable group="0">false</randomizable> |
| 519 |
</bsbObject> |
| 520 |
<bsbObject version="2" type="BSBHSlider"> |
| 521 |
<objectName>Feedback</objectName> |
| 522 |
<x>10</x> |
| 523 |
<y>180</y> |
| 524 |
<width>500</width> |
| 525 |
<height>27</height> |
| 526 |
<uuid>{afe11ed2-eb11-423d-a391-3677ebeda4f1}</uuid> |
| 527 |
<visible>true</visible> |
| 528 |
<midichan>0</midichan> |
| 529 |
<midicc>0</midicc> |
| 530 |
<minimum>0.00000000</minimum> |
| 531 |
<maximum>1.00000000</maximum> |
| 532 |
<value>0.18200000</value> |
| 533 |
<mode>lin</mode> |
| 534 |
<mouseControl act="jump">continuous</mouseControl> |
| 535 |
<resolution>-1.00000000</resolution> |
| 536 |
<randomizable group="0">false</randomizable> |
| 537 |
</bsbObject> |
| 538 |
<bsbObject version="2" type="BSBDisplay"> |
| 539 |
<objectName>Feedback</objectName> |
| 540 |
<x>449</x> |
| 541 |
<y>197</y> |
| 542 |
<width>60</width> |
| 543 |
<height>30</height> |
| 544 |
<uuid>{d6bd3764-66b6-499b-8028-0113ff526003}</uuid> |
| 545 |
<visible>true</visible> |
| 546 |
<midichan>0</midichan> |
| 547 |
<midicc>0</midicc> |
| 548 |
<label>0.182</label> |
| 549 |
<alignment>right</alignment> |
| 550 |
<font>Arial</font> |
| 551 |
<fontsize>9</fontsize> |
| 552 |
<precision>3</precision> |
| 553 |
<color> |
| 554 |
<r>0</r> |
| 555 |
<g>0</g> |
| 556 |
<b>0</b> |
| 557 |
</color> |
| 558 |
<bgcolor mode="nobackground"> |
| 559 |
<r>255</r> |
| 560 |
<g>255</g> |
| 561 |
<b>255</b> |
| 562 |
</bgcolor> |
| 563 |
<bordermode>noborder</bordermode> |
| 564 |
<borderradius>1</borderradius> |
| 565 |
<borderwidth>1</borderwidth> |
| 566 |
</bsbObject> |
| 567 |
<bsbObject version="2" type="BSBLabel"> |
| 568 |
<objectName/> |
| 569 |
<x>8</x> |
| 570 |
<y>199</y> |
| 571 |
<width>120</width> |
| 572 |
<height>30</height> |
| 573 |
<uuid>{4100a5b8-76c3-4420-9229-a606f4defaf9}</uuid> |
| 574 |
<visible>true</visible> |
| 575 |
<midichan>0</midichan> |
| 576 |
<midicc>0</midicc> |
| 577 |
<label>Feedback</label> |
| 578 |
<alignment>left</alignment> |
| 579 |
<font>Arial</font> |
| 580 |
<fontsize>10</fontsize> |
| 581 |
<precision>3</precision> |
| 582 |
<color> |
| 583 |
<r>0</r> |
| 584 |
<g>0</g> |
| 585 |
<b>0</b> |
| 586 |
</color> |
| 587 |
<bgcolor mode="nobackground"> |
| 588 |
<r>255</r> |
| 589 |
<g>255</g> |
| 590 |
<b>255</b> |
| 591 |
</bgcolor> |
| 592 |
<bordermode>noborder</bordermode> |
| 593 |
<borderradius>1</borderradius> |
| 594 |
<borderwidth>1</borderwidth> |
| 595 |
</bsbObject> |
| 596 |
<bsbObject version="2" type="BSBButton"> |
| 597 |
<objectName>_Browse1</objectName> |
| 598 |
<x>10</x> |
| 599 |
<y>302</y> |
| 600 |
<width>170</width> |
| 601 |
<height>30</height> |
| 602 |
<uuid>{2f6cb425-0ff4-4d5c-8417-9ec219e24182}</uuid> |
| 603 |
<visible>true</visible> |
| 604 |
<midichan>0</midichan> |
| 605 |
<midicc>0</midicc> |
| 606 |
<type>value</type> |
| 607 |
<pressedValue>1.00000000</pressedValue> |
| 608 |
<stringvalue>AndItsAll.wav</stringvalue> |
| 609 |
<text>Browse Audio File</text> |
| 610 |
<image>/</image> |
| 611 |
<eventLine/> |
| 612 |
<latch>false</latch> |
| 613 |
<latched>false</latched> |
| 614 |
</bsbObject> |
| 615 |
<bsbObject version="2" type="BSBLineEdit"> |
| 616 |
<objectName>_Browse1</objectName> |
| 617 |
<x>182</x> |
| 618 |
<y>302</y> |
| 619 |
<width>330</width> |
| 620 |
<height>30</height> |
| 621 |
<uuid>{408db175-49b4-461e-81e8-fd44ab10814b}</uuid> |
| 622 |
<visible>true</visible> |
| 623 |
<midichan>0</midichan> |
| 624 |
<midicc>0</midicc> |
| 625 |
<label>AndItsAll.wav</label> |
| 626 |
<alignment>left</alignment> |
| 627 |
<font>Arial</font> |
| 628 |
<fontsize>10</fontsize> |
| 629 |
<precision>3</precision> |
| 630 |
<color> |
| 631 |
<r>0</r> |
| 632 |
<g>0</g> |
| 633 |
<b>0</b> |
| 634 |
</color> |
| 635 |
<bgcolor mode="nobackground"> |
| 636 |
<r>206</r> |
| 637 |
<g>206</g> |
| 638 |
<b>206</b> |
| 639 |
</bgcolor> |
| 640 |
<background>nobackground</background> |
| 641 |
</bsbObject> |
| 642 |
<bsbObject version="2" type="BSBLabel"> |
| 643 |
<objectName/> |
| 644 |
<x>182</x> |
| 645 |
<y>332</y> |
| 646 |
<width>330</width> |
| 647 |
<height>30</height> |
| 648 |
<uuid>{cc4ee995-e25a-4871-bb14-477ea340315b}</uuid> |
| 649 |
<visible>true</visible> |
| 650 |
<midichan>0</midichan> |
| 651 |
<midicc>0</midicc> |
| 652 |
<label>Restart the instrument after changing the audio file.</label> |
| 653 |
<alignment>left</alignment> |
| 654 |
<font>Liberation Sans</font> |
| 655 |
<fontsize>12</fontsize> |
| 656 |
<precision>3</precision> |
| 657 |
<color> |
| 658 |
<r>0</r> |
| 659 |
<g>0</g> |
| 660 |
<b>0</b> |
| 661 |
</color> |
| 662 |
<bgcolor mode="nobackground"> |
| 663 |
<r>255</r> |
| 664 |
<g>255</g> |
| 665 |
<b>255</b> |
| 666 |
</bgcolor> |
| 667 |
<bordermode>noborder</bordermode> |
| 668 |
<borderradius>1</borderradius> |
| 669 |
<borderwidth>1</borderwidth> |
| 670 |
</bsbObject> |
| 671 |
<bsbObject version="2" type="BSBHSlider"> |
| 672 |
<objectName>Mix</objectName> |
| 673 |
<x>8</x> |
| 674 |
<y>216</y> |
| 675 |
<width>500</width> |
| 676 |
<height>27</height> |
| 677 |
<uuid>{4789481d-2dc3-4414-9c94-80e2ff95c3cd}</uuid> |
| 678 |
<visible>true</visible> |
| 679 |
<midichan>0</midichan> |
| 680 |
<midicc>0</midicc> |
| 681 |
<minimum>0.00000000</minimum> |
| 682 |
<maximum>1.00000000</maximum> |
| 683 |
<value>1.00000000</value> |
| 684 |
<mode>lin</mode> |
| 685 |
<mouseControl act="jump">continuous</mouseControl> |
| 686 |
<resolution>-1.00000000</resolution> |
| 687 |
<randomizable group="0">false</randomizable> |
| 688 |
</bsbObject> |
| 689 |
<bsbObject version="2" type="BSBLabel"> |
| 690 |
<objectName/> |
| 691 |
<x>8</x> |
| 692 |
<y>241</y> |
| 693 |
<width>80</width> |
| 694 |
<height>25</height> |
| 695 |
<uuid>{be3fcf6a-e523-4700-9b94-375bc6583a14}</uuid> |
| 696 |
<visible>true</visible> |
| 697 |
<midichan>0</midichan> |
| 698 |
<midicc>0</midicc> |
| 699 |
<label>Dry / Wet Mix</label> |
| 700 |
<alignment>left</alignment> |
| 701 |
<font>Arial</font> |
| 702 |
<fontsize>10</fontsize> |
| 703 |
<precision>3</precision> |
| 704 |
<color> |
| 705 |
<r>0</r> |
| 706 |
<g>0</g> |
| 707 |
<b>0</b> |
| 708 |
</color> |
| 709 |
<bgcolor mode="nobackground"> |
| 710 |
<r>255</r> |
| 711 |
<g>255</g> |
| 712 |
<b>255</b> |
| 713 |
</bgcolor> |
| 714 |
<bordermode>noborder</bordermode> |
| 715 |
<borderradius>1</borderradius> |
| 716 |
<borderwidth>1</borderwidth> |
| 717 |
</bsbObject> |
| 718 |
</bsbPanel> |
| 719 |
<bsbPresets> |
| 720 |
</bsbPresets> |