| 1 |
;Written by Iain McCurdy, 2007 |
| 2 |
|
| 3 |
;Modified for QuteCsound by René, September 2010, updated Feb 2011 |
| 4 |
;Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 5 |
|
| 6 |
;Notes on modifications from original csd: |
| 7 |
; Add table(s) for exp slider |
| 8 |
; Add Browser for audio files and use of FilePlay2 udo, now accept mono or stereo wav files |
| 9 |
; Instrument 1 is activated by MIDI and by the GUI |
| 10 |
|
| 11 |
|
| 12 |
;my flags on Ubuntu: -iadc -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 --midi-key-oct=4 --midi-velocity-amp=5 |
| 13 |
<CsoundSynthesizer> |
| 14 |
<CsOptions> |
| 15 |
--env:SSDIR+=../../SourceMaterials |
| 16 |
</CsOptions> |
| 17 |
<CsInstruments> |
| 18 |
sr = 44100 ;SAMPLE RATE |
| 19 |
ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 20 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 21 |
0dbfs = 1 ;MAXIMUM SOUND INTENSITY LEVEL REGARDLESS OF BIT DEPTH |
| 22 |
|
| 23 |
|
| 24 |
giFFTattributes0 ftgen 1, 0, 4, -2, 512, 256, 1024, 1 |
| 25 |
giFFTattributes1 ftgen 2, 0, 4, -2, 1024, 256, 1024, 1 |
| 26 |
giFFTattributes2 ftgen 3, 0, 4, -2, 2048, 128, 2048, 1 |
| 27 |
giFFTattributes3 ftgen 4, 0, 4, -2, 4096, 128, 4096, 1 |
| 28 |
|
| 29 |
giExp8 ftgen 0, 0, 129, -25, 0, 0.125, 128, 8.0 ;TABLE FOR EXP SLIDER |
| 30 |
|
| 31 |
|
| 32 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 33 |
;gives stereo output regardless your soundfile is mono or stereo |
| 34 |
Sfil, kspeed, iskip, iloop xin |
| 35 |
ichn filenchnls Sfil |
| 36 |
if ichn == 1 then |
| 37 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 38 |
aR = aL |
| 39 |
else |
| 40 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 41 |
endif |
| 42 |
xout aL, aR |
| 43 |
endop |
| 44 |
|
| 45 |
|
| 46 |
instr 10 ;GUI |
| 47 |
ktrig metro 10 |
| 48 |
if (ktrig == 1) then |
| 49 |
kscal invalue "Frequency_Rescale" |
| 50 |
gkscal tablei kscal, giExp8, 1 |
| 51 |
outvalue "Frequency_Rescale_Value", gkscal |
| 52 |
gkgain invalue "Gain_Rescale" |
| 53 |
gkkeepform invalue "Keepform" |
| 54 |
gkinput invalue "Input" |
| 55 |
gkFFTattributes invalue "FFTattributes" |
| 56 |
endif |
| 57 |
endin |
| 58 |
|
| 59 |
instr 1 ;SOUND PRODUCING AND TRANSFORMING INSTRUMENT |
| 60 |
if p4!=0 then ;MIDI |
| 61 |
kscal = cpsoct(p4)/cpsoct(8) ;CREATE FREQUENCY SCALING VARIABLE |
| 62 |
else ;GUI |
| 63 |
kscal = gkscal ;SET FUNDEMENTAL TO GUI SLIDER gkfund |
| 64 |
endif |
| 65 |
|
| 66 |
if gkinput = 0 then ;IF 'INPUT' SWITCH IS SET TO 'Live Input' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 67 |
asig inch 1 ;READ AUDIO FROM THE COMPUTER'S LIVE INPUT CHANNEL 1 (LEFT) |
| 68 |
elseif gkinput = 1 then ;IF 'INPUT' SWITCH IS SET TO 'Voice' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 69 |
Sfile1 invalue "_Browse1" |
| 70 |
;OUTPUT OPCODE FILE_PATH | SPEED | INSKIP | WRAPAROUND (1=ON) |
| 71 |
asig, asigR FilePlay2 Sfile1, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 72 |
else ;IF 'INPUT' SWITCH IS NOT SET TO 'STORED FILE' THEN IMPLEMENT THE NEXT LINE OF CODE |
| 73 |
Sfile2 invalue "_Browse2" |
| 74 |
;OUTPUT OPCODE FILE_PATH | SPEED | INSKIP | WRAPAROUND (1=ON) |
| 75 |
asig, asigR FilePlay2 Sfile2, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 76 |
endif ;END OF 'IF'...'THEN' BRANCHING |
| 77 |
|
| 78 |
kSwitch changed gkgain, gkkeepform, gkFFTattributes ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 79 |
if kSwitch = 1 then ;IF I-RATE VARIABLE CHANGE TRIGGER IS '1'... |
| 80 |
reinit START ;BEGIN A REINITIALISATION PASS FROM LABEL 'START' |
| 81 |
endif |
| 82 |
START: |
| 83 |
iFFTsize table 0, i(gkFFTattributes)+1 |
| 84 |
ioverlap table 1, i(gkFFTattributes)+1 |
| 85 |
iwinsize table 2, i(gkFFTattributes)+1 |
| 86 |
iwintype table 3, i(gkFFTattributes)+1 |
| 87 |
|
| 88 |
fsig1 pvsanal asig, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL THAT WAS CREATED IN INSTRUMENT 1. OUTPUT AN F-SIGNAL. |
| 89 |
;OUTPUT OPCODE INPUT | RESCALE_VALUE | FORMANT_MODE | GAIN |
| 90 |
fsig2 pvscale fsig1, kscal, i(gkkeepform), i(gkgain) ;RESCALE THE FREQUENCY VALUES ACCORDING TO THE INPUT ARGUMENT gkscal. |
| 91 |
;OUTPUT OPCODE INPUT |
| 92 |
aresyn pvsynth fsig2 ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL |
| 93 |
aenv linsegr 0,0.01,1,0.02,0 ;ANTI CLICK ENVELOPE WITH AMIDI SENSING RELEASE SEGMENT |
| 94 |
rireturn ;RETURN FROM REINITIALISATION PASS TO PERFORMANCE TIME PASSES |
| 95 |
outs aresyn*aenv, aresyn*aenv ;SEND THE RESCALED, RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS AND RESCALE AMPLITUDE WITH ENVELOPE aenv |
| 96 |
endin |
| 97 |
</CsInstruments> |
| 98 |
<CsScore> |
| 99 |
;INSTR | START | DURATION |
| 100 |
i 10 0 3600 ;GUI |
| 101 |
</CsScore> |
| 102 |
</CsoundSynthesizer> |
| 103 |
|
| 104 |
<bsbPanel> |
| 105 |
<label>Widgets</label> |
| 106 |
<objectName/> |
| 107 |
<x>1</x> |
| 108 |
<y>28</y> |
| 109 |
<width>914</width> |
| 110 |
<height>427</height> |
| 111 |
<visible>true</visible> |
| 112 |
<uuid/> |
| 113 |
<bgcolor mode="background"> |
| 114 |
<r>241</r> |
| 115 |
<g>226</g> |
| 116 |
<b>185</b> |
| 117 |
</bgcolor> |
| 118 |
<bsbObject version="2" type="BSBLabel"> |
| 119 |
<objectName/> |
| 120 |
<x>2</x> |
| 121 |
<y>2</y> |
| 122 |
<width>515</width> |
| 123 |
<height>425</height> |
| 124 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 125 |
<visible>true</visible> |
| 126 |
<midichan>0</midichan> |
| 127 |
<midicc>0</midicc> |
| 128 |
<label>pvscale</label> |
| 129 |
<alignment>center</alignment> |
| 130 |
<font>Liberation Sans</font> |
| 131 |
<fontsize>18</fontsize> |
| 132 |
<precision>3</precision> |
| 133 |
<color> |
| 134 |
<r>0</r> |
| 135 |
<g>0</g> |
| 136 |
<b>0</b> |
| 137 |
</color> |
| 138 |
<bgcolor mode="background"> |
| 139 |
<r>181</r> |
| 140 |
<g>199</g> |
| 141 |
<b>255</b> |
| 142 |
</bgcolor> |
| 143 |
<bordermode>border</bordermode> |
| 144 |
<borderradius>5</borderradius> |
| 145 |
<borderwidth>2</borderwidth> |
| 146 |
</bsbObject> |
| 147 |
<bsbObject version="2" type="BSBLabel"> |
| 148 |
<objectName/> |
| 149 |
<x>519</x> |
| 150 |
<y>2</y> |
| 151 |
<width>395</width> |
| 152 |
<height>425</height> |
| 153 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 154 |
<visible>true</visible> |
| 155 |
<midichan>0</midichan> |
| 156 |
<midicc>0</midicc> |
| 157 |
<label>pvscale</label> |
| 158 |
<alignment>center</alignment> |
| 159 |
<font>Liberation Sans</font> |
| 160 |
<fontsize>18</fontsize> |
| 161 |
<precision>3</precision> |
| 162 |
<color> |
| 163 |
<r>0</r> |
| 164 |
<g>0</g> |
| 165 |
<b>0</b> |
| 166 |
</color> |
| 167 |
<bgcolor mode="background"> |
| 168 |
<r>181</r> |
| 169 |
<g>199</g> |
| 170 |
<b>255</b> |
| 171 |
</bgcolor> |
| 172 |
<bordermode>border</bordermode> |
| 173 |
<borderradius>5</borderradius> |
| 174 |
<borderwidth>2</borderwidth> |
| 175 |
</bsbObject> |
| 176 |
<bsbObject version="2" type="BSBLabel"> |
| 177 |
<objectName/> |
| 178 |
<x>522</x> |
| 179 |
<y>18</y> |
| 180 |
<width>390</width> |
| 181 |
<height>387</height> |
| 182 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 183 |
<visible>true</visible> |
| 184 |
<midichan>0</midichan> |
| 185 |
<midicc>0</midicc> |
| 186 |
<label>----------------------------------------------------------------------------------------------- |
| 187 |
The opcode pvscale performs rescaling of the frequency values of an f-signal. If the 'Frequency Rescale' slider is given a value of 2, frequency values will be transposed up by one octave, if it is given a value of .5, frequency values will be transposed down 1 octave and so on. Pvscale also offers three transposition modes of dealing with formants of the original spectrum. This is an optional argument and it defaults to 0. In mode 0 no attempt is made to retain formants. |
| 188 |
In mode 1 formants are retained by imposing the original amplitude values. In mode 2 formants are retained through filtering the output according to the spectral envelope of the original signal. A variety of combination of FFT analysis attributes are selectable using radio button selectors. It can be observed that smaller FFT size and window sizes results in less time smearing but greater harmonic distortion whereas larger FFT sizes and window sizes results in greater time smearing but less harmonic distortion. This example can also be activated from a MIDI keyboard (if the 'GUI / MIDI' switch is set to off (MIDI). In this mode frequency rescaling values are derived from notes played on the keyboard. Each MIDI note pressed begins another frequency rescaling voice thus permitting polyphony.</label> |
| 189 |
<alignment>left</alignment> |
| 190 |
<font>Arial</font> |
| 191 |
<fontsize>14</fontsize> |
| 192 |
<precision>3</precision> |
| 193 |
<color> |
| 194 |
<r>0</r> |
| 195 |
<g>0</g> |
| 196 |
<b>0</b> |
| 197 |
</color> |
| 198 |
<bgcolor mode="nobackground"> |
| 199 |
<r>255</r> |
| 200 |
<g>255</g> |
| 201 |
<b>255</b> |
| 202 |
</bgcolor> |
| 203 |
<bordermode>noborder</bordermode> |
| 204 |
<borderradius>1</borderradius> |
| 205 |
<borderwidth>1</borderwidth> |
| 206 |
</bsbObject> |
| 207 |
<bsbObject version="2" type="BSBButton"> |
| 208 |
<objectName/> |
| 209 |
<x>8</x> |
| 210 |
<y>8</y> |
| 211 |
<width>140</width> |
| 212 |
<height>35</height> |
| 213 |
<uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> |
| 214 |
<visible>true</visible> |
| 215 |
<midichan>0</midichan> |
| 216 |
<midicc>0</midicc> |
| 217 |
<type>event</type> |
| 218 |
<pressedValue>1.00000000</pressedValue> |
| 219 |
<stringvalue/> |
| 220 |
<text> ON : GUI |
| 221 |
OFF : MIDI</text> |
| 222 |
<image>/</image> |
| 223 |
<eventLine>i 1 0 -1</eventLine> |
| 224 |
<latch>true</latch> |
| 225 |
<latched>false</latched> |
| 226 |
</bsbObject> |
| 227 |
<bsbObject version="2" type="BSBDropdown"> |
| 228 |
<objectName>Keepform</objectName> |
| 229 |
<x>277</x> |
| 230 |
<y>161</y> |
| 231 |
<width>230</width> |
| 232 |
<height>30</height> |
| 233 |
<uuid>{65bb9cc6-078d-45fd-99aa-dd17a8d2d144}</uuid> |
| 234 |
<visible>true</visible> |
| 235 |
<midichan>0</midichan> |
| 236 |
<midicc>0</midicc> |
| 237 |
<bsbDropdownItemList> |
| 238 |
<bsbDropdownItem> |
| 239 |
<name>Do not preserve formants</name> |
| 240 |
<value>0</value> |
| 241 |
<stringvalue/> |
| 242 |
</bsbDropdownItem> |
| 243 |
<bsbDropdownItem> |
| 244 |
<name>Impose original amplitudes</name> |
| 245 |
<value>1</value> |
| 246 |
<stringvalue/> |
| 247 |
</bsbDropdownItem> |
| 248 |
<bsbDropdownItem> |
| 249 |
<name>Keep original spectral envelope</name> |
| 250 |
<value>2</value> |
| 251 |
<stringvalue/> |
| 252 |
</bsbDropdownItem> |
| 253 |
</bsbDropdownItemList> |
| 254 |
<selectedIndex>2</selectedIndex> |
| 255 |
<randomizable group="0">false</randomizable> |
| 256 |
</bsbObject> |
| 257 |
<bsbObject version="2" type="BSBLabel"> |
| 258 |
<objectName/> |
| 259 |
<x>3</x> |
| 260 |
<y>159</y> |
| 261 |
<width>60</width> |
| 262 |
<height>30</height> |
| 263 |
<uuid>{b3560c14-84be-4876-9100-5807ffe16e97}</uuid> |
| 264 |
<visible>true</visible> |
| 265 |
<midichan>0</midichan> |
| 266 |
<midicc>0</midicc> |
| 267 |
<label>Input</label> |
| 268 |
<alignment>right</alignment> |
| 269 |
<font>Arial</font> |
| 270 |
<fontsize>10</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="BSBDisplay"> |
| 287 |
<objectName>Frequency_Rescale_Value</objectName> |
| 288 |
<x>450</x> |
| 289 |
<y>71</y> |
| 290 |
<width>60</width> |
| 291 |
<height>30</height> |
| 292 |
<uuid>{5ba6647c-7395-493b-94fb-2e39de38cae6}</uuid> |
| 293 |
<visible>true</visible> |
| 294 |
<midichan>0</midichan> |
| 295 |
<midicc>0</midicc> |
| 296 |
<label>0.699</label> |
| 297 |
<alignment>right</alignment> |
| 298 |
<font>Arial</font> |
| 299 |
<fontsize>9</fontsize> |
| 300 |
<precision>3</precision> |
| 301 |
<color> |
| 302 |
<r>0</r> |
| 303 |
<g>0</g> |
| 304 |
<b>0</b> |
| 305 |
</color> |
| 306 |
<bgcolor mode="nobackground"> |
| 307 |
<r>255</r> |
| 308 |
<g>255</g> |
| 309 |
<b>255</b> |
| 310 |
</bgcolor> |
| 311 |
<bordermode>noborder</bordermode> |
| 312 |
<borderradius>1</borderradius> |
| 313 |
<borderwidth>1</borderwidth> |
| 314 |
</bsbObject> |
| 315 |
<bsbObject version="2" type="BSBHSlider"> |
| 316 |
<objectName>Frequency_Rescale</objectName> |
| 317 |
<x>10</x> |
| 318 |
<y>54</y> |
| 319 |
<width>500</width> |
| 320 |
<height>27</height> |
| 321 |
<uuid>{2440dba1-0ca3-473e-9e1c-590341c95eaf}</uuid> |
| 322 |
<visible>true</visible> |
| 323 |
<midichan>0</midichan> |
| 324 |
<midicc>0</midicc> |
| 325 |
<minimum>0.00000000</minimum> |
| 326 |
<maximum>1.00000000</maximum> |
| 327 |
<value>0.41400000</value> |
| 328 |
<mode>lin</mode> |
| 329 |
<mouseControl act="jump">continuous</mouseControl> |
| 330 |
<resolution>-1.00000000</resolution> |
| 331 |
<randomizable group="0">false</randomizable> |
| 332 |
</bsbObject> |
| 333 |
<bsbObject version="2" type="BSBLabel"> |
| 334 |
<objectName/> |
| 335 |
<x>10</x> |
| 336 |
<y>71</y> |
| 337 |
<width>150</width> |
| 338 |
<height>30</height> |
| 339 |
<uuid>{40ab6aec-b542-473a-97c1-8e1d3da00a5f}</uuid> |
| 340 |
<visible>true</visible> |
| 341 |
<midichan>0</midichan> |
| 342 |
<midicc>0</midicc> |
| 343 |
<label>Frequency Rescale</label> |
| 344 |
<alignment>left</alignment> |
| 345 |
<font>Arial</font> |
| 346 |
<fontsize>10</fontsize> |
| 347 |
<precision>3</precision> |
| 348 |
<color> |
| 349 |
<r>0</r> |
| 350 |
<g>0</g> |
| 351 |
<b>0</b> |
| 352 |
</color> |
| 353 |
<bgcolor mode="nobackground"> |
| 354 |
<r>255</r> |
| 355 |
<g>255</g> |
| 356 |
<b>255</b> |
| 357 |
</bgcolor> |
| 358 |
<bordermode>noborder</bordermode> |
| 359 |
<borderradius>1</borderradius> |
| 360 |
<borderwidth>1</borderwidth> |
| 361 |
</bsbObject> |
| 362 |
<bsbObject version="2" type="BSBDisplay"> |
| 363 |
<objectName>Gain_Rescale</objectName> |
| 364 |
<x>450</x> |
| 365 |
<y>112</y> |
| 366 |
<width>60</width> |
| 367 |
<height>30</height> |
| 368 |
<uuid>{7760eb6e-e14b-485f-a2f6-46a3fb79fa71}</uuid> |
| 369 |
<visible>true</visible> |
| 370 |
<midichan>0</midichan> |
| 371 |
<midicc>0</midicc> |
| 372 |
<label>1.000</label> |
| 373 |
<alignment>right</alignment> |
| 374 |
<font>Arial</font> |
| 375 |
<fontsize>9</fontsize> |
| 376 |
<precision>3</precision> |
| 377 |
<color> |
| 378 |
<r>0</r> |
| 379 |
<g>0</g> |
| 380 |
<b>0</b> |
| 381 |
</color> |
| 382 |
<bgcolor mode="nobackground"> |
| 383 |
<r>255</r> |
| 384 |
<g>255</g> |
| 385 |
<b>255</b> |
| 386 |
</bgcolor> |
| 387 |
<bordermode>noborder</bordermode> |
| 388 |
<borderradius>1</borderradius> |
| 389 |
<borderwidth>1</borderwidth> |
| 390 |
</bsbObject> |
| 391 |
<bsbObject version="2" type="BSBHSlider"> |
| 392 |
<objectName>Gain_Rescale</objectName> |
| 393 |
<x>10</x> |
| 394 |
<y>95</y> |
| 395 |
<width>500</width> |
| 396 |
<height>27</height> |
| 397 |
<uuid>{daf328f8-0158-459b-9ed0-2f3c65031ad0}</uuid> |
| 398 |
<visible>true</visible> |
| 399 |
<midichan>0</midichan> |
| 400 |
<midicc>0</midicc> |
| 401 |
<minimum>0.00000000</minimum> |
| 402 |
<maximum>20.00000000</maximum> |
| 403 |
<value>1.00000000</value> |
| 404 |
<mode>lin</mode> |
| 405 |
<mouseControl act="jump">continuous</mouseControl> |
| 406 |
<resolution>-1.00000000</resolution> |
| 407 |
<randomizable group="0">false</randomizable> |
| 408 |
</bsbObject> |
| 409 |
<bsbObject version="2" type="BSBLabel"> |
| 410 |
<objectName/> |
| 411 |
<x>10</x> |
| 412 |
<y>112</y> |
| 413 |
<width>150</width> |
| 414 |
<height>30</height> |
| 415 |
<uuid>{ca0b021c-8ec2-4628-ad65-be1b22eea34d}</uuid> |
| 416 |
<visible>true</visible> |
| 417 |
<midichan>0</midichan> |
| 418 |
<midicc>0</midicc> |
| 419 |
<label>Gain Rescale</label> |
| 420 |
<alignment>left</alignment> |
| 421 |
<font>Arial</font> |
| 422 |
<fontsize>10</fontsize> |
| 423 |
<precision>3</precision> |
| 424 |
<color> |
| 425 |
<r>0</r> |
| 426 |
<g>0</g> |
| 427 |
<b>0</b> |
| 428 |
</color> |
| 429 |
<bgcolor mode="nobackground"> |
| 430 |
<r>255</r> |
| 431 |
<g>255</g> |
| 432 |
<b>255</b> |
| 433 |
</bgcolor> |
| 434 |
<bordermode>noborder</bordermode> |
| 435 |
<borderradius>1</borderradius> |
| 436 |
<borderwidth>1</borderwidth> |
| 437 |
</bsbObject> |
| 438 |
<bsbObject version="2" type="BSBDropdown"> |
| 439 |
<objectName>Input</objectName> |
| 440 |
<x>64</x> |
| 441 |
<y>159</y> |
| 442 |
<width>110</width> |
| 443 |
<height>30</height> |
| 444 |
<uuid>{cdb2d3b2-5a09-4e13-865e-8501e33b9d35}</uuid> |
| 445 |
<visible>true</visible> |
| 446 |
<midichan>0</midichan> |
| 447 |
<midicc>0</midicc> |
| 448 |
<bsbDropdownItemList> |
| 449 |
<bsbDropdownItem> |
| 450 |
<name>Live Input</name> |
| 451 |
<value>0</value> |
| 452 |
<stringvalue/> |
| 453 |
</bsbDropdownItem> |
| 454 |
<bsbDropdownItem> |
| 455 |
<name>Voice</name> |
| 456 |
<value>1</value> |
| 457 |
<stringvalue/> |
| 458 |
</bsbDropdownItem> |
| 459 |
<bsbDropdownItem> |
| 460 |
<name>Drum Loop</name> |
| 461 |
<value>2</value> |
| 462 |
<stringvalue/> |
| 463 |
</bsbDropdownItem> |
| 464 |
</bsbDropdownItemList> |
| 465 |
<selectedIndex>2</selectedIndex> |
| 466 |
<randomizable group="0">false</randomizable> |
| 467 |
</bsbObject> |
| 468 |
<bsbObject version="2" type="BSBLabel"> |
| 469 |
<objectName/> |
| 470 |
<x>216</x> |
| 471 |
<y>161</y> |
| 472 |
<width>60</width> |
| 473 |
<height>30</height> |
| 474 |
<uuid>{e901fc37-d03f-4905-ba4a-fa840edf51a4}</uuid> |
| 475 |
<visible>true</visible> |
| 476 |
<midichan>0</midichan> |
| 477 |
<midicc>0</midicc> |
| 478 |
<label>Mode</label> |
| 479 |
<alignment>right</alignment> |
| 480 |
<font>Arial</font> |
| 481 |
<fontsize>10</fontsize> |
| 482 |
<precision>3</precision> |
| 483 |
<color> |
| 484 |
<r>0</r> |
| 485 |
<g>0</g> |
| 486 |
<b>0</b> |
| 487 |
</color> |
| 488 |
<bgcolor mode="nobackground"> |
| 489 |
<r>255</r> |
| 490 |
<g>255</g> |
| 491 |
<b>255</b> |
| 492 |
</bgcolor> |
| 493 |
<bordermode>noborder</bordermode> |
| 494 |
<borderradius>1</borderradius> |
| 495 |
<borderwidth>1</borderwidth> |
| 496 |
</bsbObject> |
| 497 |
<bsbObject version="2" type="BSBLabel"> |
| 498 |
<objectName/> |
| 499 |
<x>9</x> |
| 500 |
<y>350</y> |
| 501 |
<width>501</width> |
| 502 |
<height>71</height> |
| 503 |
<uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid> |
| 504 |
<visible>true</visible> |
| 505 |
<midichan>0</midichan> |
| 506 |
<midicc>0</midicc> |
| 507 |
<label>FFT Attributes</label> |
| 508 |
<alignment>left</alignment> |
| 509 |
<font>Arial</font> |
| 510 |
<fontsize>14</fontsize> |
| 511 |
<precision>3</precision> |
| 512 |
<color> |
| 513 |
<r>0</r> |
| 514 |
<g>0</g> |
| 515 |
<b>0</b> |
| 516 |
</color> |
| 517 |
<bgcolor mode="nobackground"> |
| 518 |
<r>255</r> |
| 519 |
<g>255</g> |
| 520 |
<b>255</b> |
| 521 |
</bgcolor> |
| 522 |
<bordermode>border</bordermode> |
| 523 |
<borderradius>3</borderradius> |
| 524 |
<borderwidth>1</borderwidth> |
| 525 |
</bsbObject> |
| 526 |
<bsbObject version="2" type="BSBLabel"> |
| 527 |
<objectName/> |
| 528 |
<x>168</x> |
| 529 |
<y>356</y> |
| 530 |
<width>315</width> |
| 531 |
<height>29</height> |
| 532 |
<uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid> |
| 533 |
<visible>true</visible> |
| 534 |
<midichan>0</midichan> |
| 535 |
<midicc>0</midicc> |
| 536 |
<label>FFT Size - Overlap - Window Size - Window Type</label> |
| 537 |
<alignment>left</alignment> |
| 538 |
<font>Arial</font> |
| 539 |
<fontsize>10</fontsize> |
| 540 |
<precision>3</precision> |
| 541 |
<color> |
| 542 |
<r>0</r> |
| 543 |
<g>0</g> |
| 544 |
<b>0</b> |
| 545 |
</color> |
| 546 |
<bgcolor mode="nobackground"> |
| 547 |
<r>255</r> |
| 548 |
<g>255</g> |
| 549 |
<b>255</b> |
| 550 |
</bgcolor> |
| 551 |
<bordermode>noborder</bordermode> |
| 552 |
<borderradius>1</borderradius> |
| 553 |
<borderwidth>1</borderwidth> |
| 554 |
</bsbObject> |
| 555 |
<bsbObject version="2" type="BSBDropdown"> |
| 556 |
<objectName>FFTattributes</objectName> |
| 557 |
<x>168</x> |
| 558 |
<y>376</y> |
| 559 |
<width>274</width> |
| 560 |
<height>32</height> |
| 561 |
<uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid> |
| 562 |
<visible>true</visible> |
| 563 |
<midichan>0</midichan> |
| 564 |
<midicc>0</midicc> |
| 565 |
<bsbDropdownItemList> |
| 566 |
<bsbDropdownItem> |
| 567 |
<name>512 256 1024 1</name> |
| 568 |
<value>0</value> |
| 569 |
<stringvalue/> |
| 570 |
</bsbDropdownItem> |
| 571 |
<bsbDropdownItem> |
| 572 |
<name>1024 256 1024 1</name> |
| 573 |
<value>1</value> |
| 574 |
<stringvalue/> |
| 575 |
</bsbDropdownItem> |
| 576 |
<bsbDropdownItem> |
| 577 |
<name>2048 128 2048 1</name> |
| 578 |
<value>2</value> |
| 579 |
<stringvalue/> |
| 580 |
</bsbDropdownItem> |
| 581 |
<bsbDropdownItem> |
| 582 |
<name>4096 128 4096 1</name> |
| 583 |
<value>3</value> |
| 584 |
<stringvalue/> |
| 585 |
</bsbDropdownItem> |
| 586 |
</bsbDropdownItemList> |
| 587 |
<selectedIndex>1</selectedIndex> |
| 588 |
<randomizable group="0">false</randomizable> |
| 589 |
</bsbObject> |
| 590 |
<bsbObject version="2" type="BSBButton"> |
| 591 |
<objectName>_Browse1</objectName> |
| 592 |
<x>10</x> |
| 593 |
<y>240</y> |
| 594 |
<width>170</width> |
| 595 |
<height>30</height> |
| 596 |
<uuid>{61d95a96-a89c-43fa-90aa-3c8770efa839}</uuid> |
| 597 |
<visible>true</visible> |
| 598 |
<midichan>0</midichan> |
| 599 |
<midicc>0</midicc> |
| 600 |
<type>value</type> |
| 601 |
<pressedValue>1.00000000</pressedValue> |
| 602 |
<stringvalue>AndItsAll.wav</stringvalue> |
| 603 |
<text>Browse Audio File</text> |
| 604 |
<image>/</image> |
| 605 |
<eventLine/> |
| 606 |
<latch>false</latch> |
| 607 |
<latched>false</latched> |
| 608 |
</bsbObject> |
| 609 |
<bsbObject version="2" type="BSBLineEdit"> |
| 610 |
<objectName>_Browse1</objectName> |
| 611 |
<x>181</x> |
| 612 |
<y>241</y> |
| 613 |
<width>330</width> |
| 614 |
<height>28</height> |
| 615 |
<uuid>{a848b1a2-c8a9-4d9f-8184-340a620f0825}</uuid> |
| 616 |
<visible>true</visible> |
| 617 |
<midichan>0</midichan> |
| 618 |
<midicc>0</midicc> |
| 619 |
<label>AndItsAll.wav</label> |
| 620 |
<alignment>left</alignment> |
| 621 |
<font>Arial</font> |
| 622 |
<fontsize>10</fontsize> |
| 623 |
<precision>3</precision> |
| 624 |
<color> |
| 625 |
<r>0</r> |
| 626 |
<g>0</g> |
| 627 |
<b>0</b> |
| 628 |
</color> |
| 629 |
<bgcolor mode="nobackground"> |
| 630 |
<r>229</r> |
| 631 |
<g>229</g> |
| 632 |
<b>229</b> |
| 633 |
</bgcolor> |
| 634 |
<background>nobackground</background> |
| 635 |
</bsbObject> |
| 636 |
<bsbObject version="2" type="BSBLabel"> |
| 637 |
<objectName/> |
| 638 |
<x>10</x> |
| 639 |
<y>222</y> |
| 640 |
<width>100</width> |
| 641 |
<height>30</height> |
| 642 |
<uuid>{4676d5c2-09a3-41b9-b76f-f9fb702c6465}</uuid> |
| 643 |
<visible>true</visible> |
| 644 |
<midichan>0</midichan> |
| 645 |
<midicc>0</midicc> |
| 646 |
<label>Voice</label> |
| 647 |
<alignment>left</alignment> |
| 648 |
<font>Arial</font> |
| 649 |
<fontsize>10</fontsize> |
| 650 |
<precision>3</precision> |
| 651 |
<color> |
| 652 |
<r>0</r> |
| 653 |
<g>0</g> |
| 654 |
<b>0</b> |
| 655 |
</color> |
| 656 |
<bgcolor mode="nobackground"> |
| 657 |
<r>255</r> |
| 658 |
<g>255</g> |
| 659 |
<b>255</b> |
| 660 |
</bgcolor> |
| 661 |
<bordermode>noborder</bordermode> |
| 662 |
<borderradius>1</borderradius> |
| 663 |
<borderwidth>1</borderwidth> |
| 664 |
</bsbObject> |
| 665 |
<bsbObject version="2" type="BSBLabel"> |
| 666 |
<objectName/> |
| 667 |
<x>10</x> |
| 668 |
<y>274</y> |
| 669 |
<width>100</width> |
| 670 |
<height>30</height> |
| 671 |
<uuid>{e2a25f0b-50f8-40a7-b867-f76f6e352019}</uuid> |
| 672 |
<visible>true</visible> |
| 673 |
<midichan>0</midichan> |
| 674 |
<midicc>0</midicc> |
| 675 |
<label>Drum Loop</label> |
| 676 |
<alignment>left</alignment> |
| 677 |
<font>Arial</font> |
| 678 |
<fontsize>10</fontsize> |
| 679 |
<precision>3</precision> |
| 680 |
<color> |
| 681 |
<r>0</r> |
| 682 |
<g>0</g> |
| 683 |
<b>0</b> |
| 684 |
</color> |
| 685 |
<bgcolor mode="nobackground"> |
| 686 |
<r>255</r> |
| 687 |
<g>255</g> |
| 688 |
<b>255</b> |
| 689 |
</bgcolor> |
| 690 |
<bordermode>noborder</bordermode> |
| 691 |
<borderradius>1</borderradius> |
| 692 |
<borderwidth>1</borderwidth> |
| 693 |
</bsbObject> |
| 694 |
<bsbObject version="2" type="BSBLineEdit"> |
| 695 |
<objectName>_Browse2</objectName> |
| 696 |
<x>181</x> |
| 697 |
<y>293</y> |
| 698 |
<width>330</width> |
| 699 |
<height>28</height> |
| 700 |
<uuid>{61ae6913-de24-49d7-a7d4-ee336ab3a090}</uuid> |
| 701 |
<visible>true</visible> |
| 702 |
<midichan>0</midichan> |
| 703 |
<midicc>0</midicc> |
| 704 |
<label>loop.wav</label> |
| 705 |
<alignment>left</alignment> |
| 706 |
<font>Arial</font> |
| 707 |
<fontsize>10</fontsize> |
| 708 |
<precision>3</precision> |
| 709 |
<color> |
| 710 |
<r>0</r> |
| 711 |
<g>0</g> |
| 712 |
<b>0</b> |
| 713 |
</color> |
| 714 |
<bgcolor mode="nobackground"> |
| 715 |
<r>229</r> |
| 716 |
<g>229</g> |
| 717 |
<b>229</b> |
| 718 |
</bgcolor> |
| 719 |
<background>nobackground</background> |
| 720 |
</bsbObject> |
| 721 |
<bsbObject version="2" type="BSBButton"> |
| 722 |
<objectName>_Browse2</objectName> |
| 723 |
<x>10</x> |
| 724 |
<y>292</y> |
| 725 |
<width>170</width> |
| 726 |
<height>30</height> |
| 727 |
<uuid>{2441252d-f464-4862-aa1c-9351311f35b8}</uuid> |
| 728 |
<visible>true</visible> |
| 729 |
<midichan>0</midichan> |
| 730 |
<midicc>0</midicc> |
| 731 |
<type>value</type> |
| 732 |
<pressedValue>1.00000000</pressedValue> |
| 733 |
<stringvalue>/home/moi/Samples/loop.wav</stringvalue> |
| 734 |
<text>Browse Audio File</text> |
| 735 |
<image>/</image> |
| 736 |
<eventLine/> |
| 737 |
<latch>false</latch> |
| 738 |
<latched>false</latched> |
| 739 |
</bsbObject> |
| 740 |
<bsbObject version="2" type="BSBLabel"> |
| 741 |
<objectName/> |
| 742 |
<x>181</x> |
| 743 |
<y>321</y> |
| 744 |
<width>330</width> |
| 745 |
<height>30</height> |
| 746 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 747 |
<visible>true</visible> |
| 748 |
<midichan>0</midichan> |
| 749 |
<midicc>0</midicc> |
| 750 |
<label>Restart the instrument after changing the audio file.</label> |
| 751 |
<alignment>left</alignment> |
| 752 |
<font>Liberation Sans</font> |
| 753 |
<fontsize>12</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>181</x> |
| 772 |
<y>269</y> |
| 773 |
<width>330</width> |
| 774 |
<height>30</height> |
| 775 |
<uuid>{e72946a4-38e2-434b-965e-98bbab24e7a3}</uuid> |
| 776 |
<visible>true</visible> |
| 777 |
<midichan>0</midichan> |
| 778 |
<midicc>0</midicc> |
| 779 |
<label>Restart the instrument after changing the audio file.</label> |
| 780 |
<alignment>left</alignment> |
| 781 |
<font>Liberation Sans</font> |
| 782 |
<fontsize>12</fontsize> |
| 783 |
<precision>3</precision> |
| 784 |
<color> |
| 785 |
<r>0</r> |
| 786 |
<g>0</g> |
| 787 |
<b>0</b> |
| 788 |
</color> |
| 789 |
<bgcolor mode="nobackground"> |
| 790 |
<r>255</r> |
| 791 |
<g>255</g> |
| 792 |
<b>255</b> |
| 793 |
</bgcolor> |
| 794 |
<bordermode>noborder</bordermode> |
| 795 |
<borderradius>1</borderradius> |
| 796 |
<borderwidth>1</borderwidth> |
| 797 |
</bsbObject> |
| 798 |
</bsbPanel> |
| 799 |
<bsbPresets> |
| 800 |
</bsbPresets> |
| 801 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel> |