| 1 |
;Written by Iain McCurdy 2009 |
| 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 files 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 = 256 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 18 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 19 |
|
| 20 |
|
| 21 |
;TABLES THAT STORE FFT ANALYSIS ATTRIBUTES DATA |
| 22 |
giFFTattributes0 ftgen 1, 0, 4, -2, 512, 256, 1024, 1 |
| 23 |
giFFTattributes1 ftgen 2, 0, 4, -2, 1024, 256, 1024, 1 |
| 24 |
giFFTattributes2 ftgen 3, 0, 4, -2, 2048, 256, 2048, 1 |
| 25 |
giFFTattributes3 ftgen 4, 0, 4, -2, 4096, 256, 4096, 1 |
| 26 |
|
| 27 |
|
| 28 |
opcode FilePlay2, aa, Skoo ; Credit to Joachim Heintz |
| 29 |
;gives stereo output regardless your soundfile is mono or stereo |
| 30 |
Sfil, kspeed, iskip, iloop xin |
| 31 |
ichn filenchnls Sfil |
| 32 |
if ichn == 1 then |
| 33 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 34 |
aR = aL |
| 35 |
else |
| 36 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 37 |
endif |
| 38 |
xout aL, aR |
| 39 |
endop |
| 40 |
|
| 41 |
|
| 42 |
instr 10 ;GUI |
| 43 |
ktrig metro 10 |
| 44 |
if (ktrig == 1) then |
| 45 |
gkampint invalue "Amplitude_Interpolation" |
| 46 |
gkfrqint invalue "Frequency_Interpolation" |
| 47 |
gkoct invalue "Octaves" |
| 48 |
gksemi invalue "Semitones" |
| 49 |
gkinput invalue "Input" |
| 50 |
gkFFTattributes invalue "FFTattributes" |
| 51 |
endif |
| 52 |
endin |
| 53 |
|
| 54 |
instr 1 |
| 55 |
kSwitch changed gkFFTattributes ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 56 |
if kSwitch=1 then ;IF I-RATE VARIABLE IS CHANGED... |
| 57 |
reinit UPDATE ;BEGIN A REINITIALISATION PASS IN ORDER TO EFFECT THIS CHANGE. BEGIN THIS PASS AT LABEL ENTITLED 'UPDATE' AND CONTINUE UNTIL rireturn OPCODE |
| 58 |
endif ;END OF CONDITIONAL BRANCHING |
| 59 |
UPDATE: ;LABEL |
| 60 |
kmlt = cpsoct(8+gkoct+(gksemi/12))/cpsoct(8) ;DERIVE A PLAYBACK SPEED RATIO FROM TRANSPOSE SETTING |
| 61 |
Sfile1 invalue "_Browse1" |
| 62 |
a1L, a1R FilePlay2 Sfile1, kmlt, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 63 |
|
| 64 |
if gkinput=0 then ;IF 'INPUT' SELECTOR IS ON 'Live Input' |
| 65 |
a2L inch 1 ;READ AUDIO FROM COMPUTER'S FIRST (LEFT) INPUT CHANNEL |
| 66 |
a2R = a2L ;SOURCE IS MONO SO JUST SET RIGHT CHANNEL TO BE THE SAME AS THE LEFT CHANNEL |
| 67 |
else ;IF 'INPUT' SELECTOR IS ON 'Sound File' |
| 68 |
Sfile2 invalue "_Browse2" |
| 69 |
a2L, a2R FilePlay2 Sfile2, 1, 0, 1 ;READ A STORED AUDIO FILE FROM THE HARD DRIVE |
| 70 |
endif ;END OF CONDITIONAL BRANCHING |
| 71 |
|
| 72 |
iFFTsize table 0, i(gkFFTattributes)+1 ;READ FFT SIZE FROM APPROPRIATE TABLE |
| 73 |
ioverlap table 1, i(gkFFTattributes)+1 ;READ OVERLAP SIZE FROM APPROPRIATE TABLE |
| 74 |
iwinsize table 2, i(gkFFTattributes)+1 ;READ WINDOW SIZE FROM APPROPRIATE TABLE |
| 75 |
iwintype table 3, i(gkFFTattributes)+1 ;READ WINDOW TYPE FROM APPROPRIATE TABLE |
| 76 |
|
| 77 |
f1L pvsanal a1L, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL. OUTPUT AN F-SIGNAL. |
| 78 |
f1R pvsanal a1R, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL. OUTPUT AN F-SIGNAL. |
| 79 |
f2L pvsanal a2L, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL. OUTPUT AN F-SIGNAL. |
| 80 |
f2R pvsanal a2L, iFFTsize, ioverlap, iwinsize, iwintype ;ANALYSE THE AUDIO SIGNAL. OUTPUT AN F-SIGNAL. |
| 81 |
|
| 82 |
f3L pvsmorph f1L, f2L, gkampint, gkfrqint ;IMPLEMENT fsig MORPHING |
| 83 |
f3R pvsmorph f1R, f2R, gkampint, gkfrqint ;IMPLEMENT fsig MORPHING |
| 84 |
|
| 85 |
;OUTPUT OPCODE INPUT |
| 86 |
aresynL pvsynth f3L ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL |
| 87 |
aresynR pvsynth f3R ;RESYNTHESIZE THE f-SIGNAL AS AN AUDIO SIGNAL |
| 88 |
outs aresynL, aresynR ;SEND THE RESYNTHESIZED SIGNAL TO THE AUDIO OUTPUTS |
| 89 |
endin |
| 90 |
</CsInstruments> |
| 91 |
<CsScore> |
| 92 |
;INSTR | START | DURATION |
| 93 |
i 10 0 3600 ;GUI |
| 94 |
</CsScore> |
| 95 |
</CsoundSynthesizer> |
| 96 |
|
| 97 |
<bsbPanel> |
| 98 |
<label>Widgets</label> |
| 99 |
<objectName/> |
| 100 |
<x>357</x> |
| 101 |
<y>297</y> |
| 102 |
<width>904</width> |
| 103 |
<height>443</height> |
| 104 |
<visible>true</visible> |
| 105 |
<uuid/> |
| 106 |
<bgcolor mode="background"> |
| 107 |
<r>241</r> |
| 108 |
<g>226</g> |
| 109 |
<b>185</b> |
| 110 |
</bgcolor> |
| 111 |
<bsbObject version="2" type="BSBLabel"> |
| 112 |
<objectName/> |
| 113 |
<x>2</x> |
| 114 |
<y>2</y> |
| 115 |
<width>514</width> |
| 116 |
<height>440</height> |
| 117 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 118 |
<visible>true</visible> |
| 119 |
<midichan>0</midichan> |
| 120 |
<midicc>0</midicc> |
| 121 |
<label>pvsmorph</label> |
| 122 |
<alignment>center</alignment> |
| 123 |
<font>Liberation Sans</font> |
| 124 |
<fontsize>18</fontsize> |
| 125 |
<precision>3</precision> |
| 126 |
<color> |
| 127 |
<r>0</r> |
| 128 |
<g>0</g> |
| 129 |
<b>0</b> |
| 130 |
</color> |
| 131 |
<bgcolor mode="background"> |
| 132 |
<r>181</r> |
| 133 |
<g>199</g> |
| 134 |
<b>255</b> |
| 135 |
</bgcolor> |
| 136 |
<bordermode>border</bordermode> |
| 137 |
<borderradius>5</borderradius> |
| 138 |
<borderwidth>2</borderwidth> |
| 139 |
</bsbObject> |
| 140 |
<bsbObject version="2" type="BSBLabel"> |
| 141 |
<objectName/> |
| 142 |
<x>517</x> |
| 143 |
<y>2</y> |
| 144 |
<width>384</width> |
| 145 |
<height>440</height> |
| 146 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 147 |
<visible>true</visible> |
| 148 |
<midichan>0</midichan> |
| 149 |
<midicc>0</midicc> |
| 150 |
<label>pvsmorph</label> |
| 151 |
<alignment>center</alignment> |
| 152 |
<font>Liberation Sans</font> |
| 153 |
<fontsize>18</fontsize> |
| 154 |
<precision>3</precision> |
| 155 |
<color> |
| 156 |
<r>0</r> |
| 157 |
<g>0</g> |
| 158 |
<b>0</b> |
| 159 |
</color> |
| 160 |
<bgcolor mode="background"> |
| 161 |
<r>181</r> |
| 162 |
<g>199</g> |
| 163 |
<b>255</b> |
| 164 |
</bgcolor> |
| 165 |
<bordermode>border</bordermode> |
| 166 |
<borderradius>5</borderradius> |
| 167 |
<borderwidth>2</borderwidth> |
| 168 |
</bsbObject> |
| 169 |
<bsbObject version="2" type="BSBLabel"> |
| 170 |
<objectName/> |
| 171 |
<x>519</x> |
| 172 |
<y>20</y> |
| 173 |
<width>378</width> |
| 174 |
<height>390</height> |
| 175 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 176 |
<visible>true</visible> |
| 177 |
<midichan>0</midichan> |
| 178 |
<midicc>0</midicc> |
| 179 |
<label>--------------------------------------------------------------------------------------------- |
| 180 |
pvsmorph allows the user to continuously and separately morph between the amplitude and the frequency characteristics of two f-signals (streaming phase vocoding analysis signals). |
| 181 |
Typically one of the signals is harmonic or resonant and dynamically steady, such as a synthesizer pad sound or a held organ chord, and the other is dynamically active and possibly noise based, such as a drum loop or speech. |
| 182 |
The 'Amplitude Interpolation Point' and 'Frequency Interpolation Point' sliders crossfade between the amplitude and frequency influence upon the output sound of the two source signals. Typically these are set to opposite points - when F.I.P. is low, A.I.P. is high and vice versa. In this example the first source signal is selectable between the computer's live input, a busy town soundscape and a drum loop. The second signal is a synthesizer pad sequence which can be transposed in octaves and semitones. The user can select between a variety of combinations of parameters for the FFT analysis. Larger values for FFT size will give better harmonic reproduction but greater time smearing effects and higher computational cost. Lower values will result in less time smearing but greater harmonic distortion.</label> |
| 183 |
<alignment>left</alignment> |
| 184 |
<font>Arial</font> |
| 185 |
<fontsize>14</fontsize> |
| 186 |
<precision>3</precision> |
| 187 |
<color> |
| 188 |
<r>0</r> |
| 189 |
<g>0</g> |
| 190 |
<b>0</b> |
| 191 |
</color> |
| 192 |
<bgcolor mode="nobackground"> |
| 193 |
<r>255</r> |
| 194 |
<g>255</g> |
| 195 |
<b>255</b> |
| 196 |
</bgcolor> |
| 197 |
<bordermode>noborder</bordermode> |
| 198 |
<borderradius>1</borderradius> |
| 199 |
<borderwidth>1</borderwidth> |
| 200 |
</bsbObject> |
| 201 |
<bsbObject version="2" type="BSBButton"> |
| 202 |
<objectName/> |
| 203 |
<x>8</x> |
| 204 |
<y>8</y> |
| 205 |
<width>100</width> |
| 206 |
<height>30</height> |
| 207 |
<uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> |
| 208 |
<visible>true</visible> |
| 209 |
<midichan>0</midichan> |
| 210 |
<midicc>0</midicc> |
| 211 |
<type>event</type> |
| 212 |
<pressedValue>1.00000000</pressedValue> |
| 213 |
<stringvalue/> |
| 214 |
<text> ON / OFF</text> |
| 215 |
<image>/</image> |
| 216 |
<eventLine>i 1 0 -1</eventLine> |
| 217 |
<latch>true</latch> |
| 218 |
<latched>false</latched> |
| 219 |
</bsbObject> |
| 220 |
<bsbObject version="2" type="BSBLabel"> |
| 221 |
<objectName/> |
| 222 |
<x>6</x> |
| 223 |
<y>367</y> |
| 224 |
<width>506</width> |
| 225 |
<height>70</height> |
| 226 |
<uuid>{f0c4875d-4e35-4d37-b043-9c1476025645}</uuid> |
| 227 |
<visible>true</visible> |
| 228 |
<midichan>0</midichan> |
| 229 |
<midicc>0</midicc> |
| 230 |
<label>FFT Attributes</label> |
| 231 |
<alignment>left</alignment> |
| 232 |
<font>Arial Black</font> |
| 233 |
<fontsize>14</fontsize> |
| 234 |
<precision>3</precision> |
| 235 |
<color> |
| 236 |
<r>0</r> |
| 237 |
<g>0</g> |
| 238 |
<b>0</b> |
| 239 |
</color> |
| 240 |
<bgcolor mode="nobackground"> |
| 241 |
<r>255</r> |
| 242 |
<g>255</g> |
| 243 |
<b>255</b> |
| 244 |
</bgcolor> |
| 245 |
<bordermode>border</bordermode> |
| 246 |
<borderradius>3</borderradius> |
| 247 |
<borderwidth>1</borderwidth> |
| 248 |
</bsbObject> |
| 249 |
<bsbObject version="2" type="BSBLabel"> |
| 250 |
<objectName/> |
| 251 |
<x>169</x> |
| 252 |
<y>373</y> |
| 253 |
<width>300</width> |
| 254 |
<height>30</height> |
| 255 |
<uuid>{c2cdd204-e32b-488e-b5c2-70688fb2defa}</uuid> |
| 256 |
<visible>true</visible> |
| 257 |
<midichan>0</midichan> |
| 258 |
<midicc>0</midicc> |
| 259 |
<label>FFT Size - Overlap - Window Size - Window Type</label> |
| 260 |
<alignment>left</alignment> |
| 261 |
<font>Arial</font> |
| 262 |
<fontsize>10</fontsize> |
| 263 |
<precision>3</precision> |
| 264 |
<color> |
| 265 |
<r>0</r> |
| 266 |
<g>0</g> |
| 267 |
<b>0</b> |
| 268 |
</color> |
| 269 |
<bgcolor mode="nobackground"> |
| 270 |
<r>255</r> |
| 271 |
<g>255</g> |
| 272 |
<b>255</b> |
| 273 |
</bgcolor> |
| 274 |
<bordermode>noborder</bordermode> |
| 275 |
<borderradius>1</borderradius> |
| 276 |
<borderwidth>1</borderwidth> |
| 277 |
</bsbObject> |
| 278 |
<bsbObject version="2" type="BSBDropdown"> |
| 279 |
<objectName>FFTattributes</objectName> |
| 280 |
<x>169</x> |
| 281 |
<y>393</y> |
| 282 |
<width>274</width> |
| 283 |
<height>32</height> |
| 284 |
<uuid>{c8c311f9-c1b7-4bbb-becf-9c9f1fa862c9}</uuid> |
| 285 |
<visible>true</visible> |
| 286 |
<midichan>0</midichan> |
| 287 |
<midicc>0</midicc> |
| 288 |
<bsbDropdownItemList> |
| 289 |
<bsbDropdownItem> |
| 290 |
<name>512 256 1024 1</name> |
| 291 |
<value>0</value> |
| 292 |
<stringvalue/> |
| 293 |
</bsbDropdownItem> |
| 294 |
<bsbDropdownItem> |
| 295 |
<name>1024 256 1024 1</name> |
| 296 |
<value>1</value> |
| 297 |
<stringvalue/> |
| 298 |
</bsbDropdownItem> |
| 299 |
<bsbDropdownItem> |
| 300 |
<name>2048 256 2048 1</name> |
| 301 |
<value>2</value> |
| 302 |
<stringvalue/> |
| 303 |
</bsbDropdownItem> |
| 304 |
<bsbDropdownItem> |
| 305 |
<name>4096 256 4096 1</name> |
| 306 |
<value>3</value> |
| 307 |
<stringvalue/> |
| 308 |
</bsbDropdownItem> |
| 309 |
</bsbDropdownItemList> |
| 310 |
<selectedIndex>1</selectedIndex> |
| 311 |
<randomizable group="0">false</randomizable> |
| 312 |
</bsbObject> |
| 313 |
<bsbObject version="2" type="BSBLabel"> |
| 314 |
<objectName/> |
| 315 |
<x>8</x> |
| 316 |
<y>104</y> |
| 317 |
<width>180</width> |
| 318 |
<height>30</height> |
| 319 |
<uuid>{d0d16fd7-660f-4d45-9ea9-2fad66cae306}</uuid> |
| 320 |
<visible>true</visible> |
| 321 |
<midichan>0</midichan> |
| 322 |
<midicc>0</midicc> |
| 323 |
<label>Frequency Interpolation Point</label> |
| 324 |
<alignment>left</alignment> |
| 325 |
<font>Arial</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>Frequency_Interpolation</objectName> |
| 344 |
<x>8</x> |
| 345 |
<y>87</y> |
| 346 |
<width>500</width> |
| 347 |
<height>27</height> |
| 348 |
<uuid>{7419569a-aec9-4de8-ade2-feb9afabc177}</uuid> |
| 349 |
<visible>true</visible> |
| 350 |
<midichan>0</midichan> |
| 351 |
<midicc>0</midicc> |
| 352 |
<minimum>0.00000000</minimum> |
| 353 |
<maximum>1.00000000</maximum> |
| 354 |
<value>0.00000000</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>Frequency_Interpolation</objectName> |
| 362 |
<x>448</x> |
| 363 |
<y>104</y> |
| 364 |
<width>60</width> |
| 365 |
<height>30</height> |
| 366 |
<uuid>{43bd3451-78f6-487d-821e-edb77ce13a54}</uuid> |
| 367 |
<visible>true</visible> |
| 368 |
<midichan>0</midichan> |
| 369 |
<midicc>0</midicc> |
| 370 |
<label>0.000</label> |
| 371 |
<alignment>right</alignment> |
| 372 |
<font>Arial</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="BSBDisplay"> |
| 390 |
<objectName>Amplitude_Interpolation</objectName> |
| 391 |
<x>448</x> |
| 392 |
<y>64</y> |
| 393 |
<width>60</width> |
| 394 |
<height>30</height> |
| 395 |
<uuid>{745d6bee-b951-4a03-9fe8-9e10d5ae4556}</uuid> |
| 396 |
<visible>true</visible> |
| 397 |
<midichan>0</midichan> |
| 398 |
<midicc>0</midicc> |
| 399 |
<label>1.000</label> |
| 400 |
<alignment>right</alignment> |
| 401 |
<font>Arial</font> |
| 402 |
<fontsize>9</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>Amplitude_Interpolation</objectName> |
| 420 |
<x>8</x> |
| 421 |
<y>47</y> |
| 422 |
<width>500</width> |
| 423 |
<height>27</height> |
| 424 |
<uuid>{06814721-6151-4baa-84e2-8f39843b07a4}</uuid> |
| 425 |
<visible>true</visible> |
| 426 |
<midichan>0</midichan> |
| 427 |
<midicc>0</midicc> |
| 428 |
<minimum>0.00000000</minimum> |
| 429 |
<maximum>1.00000000</maximum> |
| 430 |
<value>1.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="BSBLabel"> |
| 437 |
<objectName/> |
| 438 |
<x>8</x> |
| 439 |
<y>64</y> |
| 440 |
<width>180</width> |
| 441 |
<height>30</height> |
| 442 |
<uuid>{c6d7165c-6730-426f-b293-52b411bc73cf}</uuid> |
| 443 |
<visible>true</visible> |
| 444 |
<midichan>0</midichan> |
| 445 |
<midicc>0</midicc> |
| 446 |
<label>Amplitude Interpolation Point</label> |
| 447 |
<alignment>left</alignment> |
| 448 |
<font>Arial</font> |
| 449 |
<fontsize>10</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>6</x> |
| 468 |
<y>134</y> |
| 469 |
<width>506</width> |
| 470 |
<height>110</height> |
| 471 |
<uuid>{cdc434d0-b9e7-4f6f-aa90-800ec76dced6}</uuid> |
| 472 |
<visible>true</visible> |
| 473 |
<midichan>0</midichan> |
| 474 |
<midicc>0</midicc> |
| 475 |
<label>fsig2 Input</label> |
| 476 |
<alignment>left</alignment> |
| 477 |
<font>DejaVu Sans</font> |
| 478 |
<fontsize>14</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>border</bordermode> |
| 491 |
<borderradius>3</borderradius> |
| 492 |
<borderwidth>1</borderwidth> |
| 493 |
</bsbObject> |
| 494 |
<bsbObject version="2" type="BSBLabel"> |
| 495 |
<objectName/> |
| 496 |
<x>6</x> |
| 497 |
<y>246</y> |
| 498 |
<width>506</width> |
| 499 |
<height>120</height> |
| 500 |
<uuid>{70618fd0-47b8-418a-a344-e579eb1d201e}</uuid> |
| 501 |
<visible>true</visible> |
| 502 |
<midichan>0</midichan> |
| 503 |
<midicc>0</midicc> |
| 504 |
<label>fsig1 Transpose</label> |
| 505 |
<alignment>left</alignment> |
| 506 |
<font>DejaVu Sans</font> |
| 507 |
<fontsize>14</fontsize> |
| 508 |
<precision>3</precision> |
| 509 |
<color> |
| 510 |
<r>0</r> |
| 511 |
<g>0</g> |
| 512 |
<b>0</b> |
| 513 |
</color> |
| 514 |
<bgcolor mode="nobackground"> |
| 515 |
<r>255</r> |
| 516 |
<g>255</g> |
| 517 |
<b>255</b> |
| 518 |
</bgcolor> |
| 519 |
<bordermode>border</bordermode> |
| 520 |
<borderradius>3</borderradius> |
| 521 |
<borderwidth>1</borderwidth> |
| 522 |
</bsbObject> |
| 523 |
<bsbObject version="2" type="BSBButton"> |
| 524 |
<objectName>_Browse2</objectName> |
| 525 |
<x>8</x> |
| 526 |
<y>192</y> |
| 527 |
<width>170</width> |
| 528 |
<height>30</height> |
| 529 |
<uuid>{b9431a61-61f7-432b-bf6f-c47ddc7f9050}</uuid> |
| 530 |
<visible>true</visible> |
| 531 |
<midichan>0</midichan> |
| 532 |
<midicc>0</midicc> |
| 533 |
<type>value</type> |
| 534 |
<pressedValue>1.00000000</pressedValue> |
| 535 |
<stringvalue>Songpan.wav</stringvalue> |
| 536 |
<text>Browse Audio File</text> |
| 537 |
<image>/</image> |
| 538 |
<eventLine/> |
| 539 |
<latch>false</latch> |
| 540 |
<latched>false</latched> |
| 541 |
</bsbObject> |
| 542 |
<bsbObject version="2" type="BSBDropdown"> |
| 543 |
<objectName>Input</objectName> |
| 544 |
<x>180</x> |
| 545 |
<y>156</y> |
| 546 |
<width>120</width> |
| 547 |
<height>30</height> |
| 548 |
<uuid>{cc64e047-7e82-416c-9753-d010ddefabe4}</uuid> |
| 549 |
<visible>true</visible> |
| 550 |
<midichan>0</midichan> |
| 551 |
<midicc>0</midicc> |
| 552 |
<bsbDropdownItemList> |
| 553 |
<bsbDropdownItem> |
| 554 |
<name>Live Input</name> |
| 555 |
<value>0</value> |
| 556 |
<stringvalue/> |
| 557 |
</bsbDropdownItem> |
| 558 |
<bsbDropdownItem> |
| 559 |
<name>Audio File</name> |
| 560 |
<value>1</value> |
| 561 |
<stringvalue/> |
| 562 |
</bsbDropdownItem> |
| 563 |
</bsbDropdownItemList> |
| 564 |
<selectedIndex>1</selectedIndex> |
| 565 |
<randomizable group="0">false</randomizable> |
| 566 |
</bsbObject> |
| 567 |
<bsbObject version="2" type="BSBLineEdit"> |
| 568 |
<objectName>_Browse2</objectName> |
| 569 |
<x>179</x> |
| 570 |
<y>193</y> |
| 571 |
<width>330</width> |
| 572 |
<height>28</height> |
| 573 |
<uuid>{68b5f90b-b78e-4581-b434-232db5f4c40f}</uuid> |
| 574 |
<visible>true</visible> |
| 575 |
<midichan>0</midichan> |
| 576 |
<midicc>0</midicc> |
| 577 |
<label>Songpan.wav</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>229</r> |
| 589 |
<g>229</g> |
| 590 |
<b>229</b> |
| 591 |
</bgcolor> |
| 592 |
<background>nobackground</background> |
| 593 |
</bsbObject> |
| 594 |
<bsbObject version="2" type="BSBLabel"> |
| 595 |
<objectName/> |
| 596 |
<x>300</x> |
| 597 |
<y>330</y> |
| 598 |
<width>80</width> |
| 599 |
<height>30</height> |
| 600 |
<uuid>{dc1bccf4-d23b-4470-9c3f-5e576f314662}</uuid> |
| 601 |
<visible>true</visible> |
| 602 |
<midichan>0</midichan> |
| 603 |
<midicc>0</midicc> |
| 604 |
<label>Semitones</label> |
| 605 |
<alignment>right</alignment> |
| 606 |
<font>Arial</font> |
| 607 |
<fontsize>10</fontsize> |
| 608 |
<precision>3</precision> |
| 609 |
<color> |
| 610 |
<r>0</r> |
| 611 |
<g>0</g> |
| 612 |
<b>0</b> |
| 613 |
</color> |
| 614 |
<bgcolor mode="nobackground"> |
| 615 |
<r>255</r> |
| 616 |
<g>255</g> |
| 617 |
<b>255</b> |
| 618 |
</bgcolor> |
| 619 |
<bordermode>noborder</bordermode> |
| 620 |
<borderradius>1</borderradius> |
| 621 |
<borderwidth>1</borderwidth> |
| 622 |
</bsbObject> |
| 623 |
<bsbObject version="2" type="BSBSpinBox"> |
| 624 |
<objectName>Semitones</objectName> |
| 625 |
<x>380</x> |
| 626 |
<y>330</y> |
| 627 |
<width>50</width> |
| 628 |
<height>30</height> |
| 629 |
<uuid>{ba683795-bc00-46ba-8540-c6c32edb8bd5}</uuid> |
| 630 |
<visible>true</visible> |
| 631 |
<midichan>0</midichan> |
| 632 |
<midicc>0</midicc> |
| 633 |
<alignment>left</alignment> |
| 634 |
<font>Arial</font> |
| 635 |
<fontsize>14</fontsize> |
| 636 |
<color> |
| 637 |
<r>0</r> |
| 638 |
<g>0</g> |
| 639 |
<b>0</b> |
| 640 |
</color> |
| 641 |
<bgcolor mode="nobackground"> |
| 642 |
<r>255</r> |
| 643 |
<g>255</g> |
| 644 |
<b>255</b> |
| 645 |
</bgcolor> |
| 646 |
<resolution>1.00000000</resolution> |
| 647 |
<minimum>-12</minimum> |
| 648 |
<maximum>12</maximum> |
| 649 |
<randomizable group="0">false</randomizable> |
| 650 |
<value>0</value> |
| 651 |
</bsbObject> |
| 652 |
<bsbObject version="2" type="BSBSpinBox"> |
| 653 |
<objectName>Octaves</objectName> |
| 654 |
<x>258</x> |
| 655 |
<y>330</y> |
| 656 |
<width>40</width> |
| 657 |
<height>30</height> |
| 658 |
<uuid>{90b425e6-cc7a-4b70-bd54-52c1a629ce97}</uuid> |
| 659 |
<visible>true</visible> |
| 660 |
<midichan>0</midichan> |
| 661 |
<midicc>0</midicc> |
| 662 |
<alignment>left</alignment> |
| 663 |
<font>Arial</font> |
| 664 |
<fontsize>14</fontsize> |
| 665 |
<color> |
| 666 |
<r>0</r> |
| 667 |
<g>0</g> |
| 668 |
<b>0</b> |
| 669 |
</color> |
| 670 |
<bgcolor mode="nobackground"> |
| 671 |
<r>255</r> |
| 672 |
<g>255</g> |
| 673 |
<b>255</b> |
| 674 |
</bgcolor> |
| 675 |
<resolution>1.00000000</resolution> |
| 676 |
<minimum>-2</minimum> |
| 677 |
<maximum>2</maximum> |
| 678 |
<randomizable group="0">false</randomizable> |
| 679 |
<value>0</value> |
| 680 |
</bsbObject> |
| 681 |
<bsbObject version="2" type="BSBLabel"> |
| 682 |
<objectName/> |
| 683 |
<x>178</x> |
| 684 |
<y>330</y> |
| 685 |
<width>80</width> |
| 686 |
<height>30</height> |
| 687 |
<uuid>{0c5a5f45-e32e-4e9c-b277-3c4e6c3cc04d}</uuid> |
| 688 |
<visible>true</visible> |
| 689 |
<midichan>0</midichan> |
| 690 |
<midicc>0</midicc> |
| 691 |
<label>Octaves</label> |
| 692 |
<alignment>right</alignment> |
| 693 |
<font>Arial</font> |
| 694 |
<fontsize>10</fontsize> |
| 695 |
<precision>3</precision> |
| 696 |
<color> |
| 697 |
<r>0</r> |
| 698 |
<g>0</g> |
| 699 |
<b>0</b> |
| 700 |
</color> |
| 701 |
<bgcolor mode="nobackground"> |
| 702 |
<r>255</r> |
| 703 |
<g>255</g> |
| 704 |
<b>255</b> |
| 705 |
</bgcolor> |
| 706 |
<bordermode>noborder</bordermode> |
| 707 |
<borderradius>1</borderradius> |
| 708 |
<borderwidth>1</borderwidth> |
| 709 |
</bsbObject> |
| 710 |
<bsbObject version="2" type="BSBLineEdit"> |
| 711 |
<objectName>_Browse1</objectName> |
| 712 |
<x>179</x> |
| 713 |
<y>276</y> |
| 714 |
<width>330</width> |
| 715 |
<height>28</height> |
| 716 |
<uuid>{46ab9664-a6cf-46a0-a0e5-fb7790afc984}</uuid> |
| 717 |
<visible>true</visible> |
| 718 |
<midichan>0</midichan> |
| 719 |
<midicc>0</midicc> |
| 720 |
<label>SynthPad.wav</label> |
| 721 |
<alignment>left</alignment> |
| 722 |
<font>Arial</font> |
| 723 |
<fontsize>10</fontsize> |
| 724 |
<precision>3</precision> |
| 725 |
<color> |
| 726 |
<r>0</r> |
| 727 |
<g>0</g> |
| 728 |
<b>0</b> |
| 729 |
</color> |
| 730 |
<bgcolor mode="nobackground"> |
| 731 |
<r>229</r> |
| 732 |
<g>229</g> |
| 733 |
<b>229</b> |
| 734 |
</bgcolor> |
| 735 |
<background>nobackground</background> |
| 736 |
</bsbObject> |
| 737 |
<bsbObject version="2" type="BSBButton"> |
| 738 |
<objectName>_Browse1</objectName> |
| 739 |
<x>8</x> |
| 740 |
<y>275</y> |
| 741 |
<width>170</width> |
| 742 |
<height>30</height> |
| 743 |
<uuid>{bb0f07b6-bf61-44d7-95b6-5dbb44ff699b}</uuid> |
| 744 |
<visible>true</visible> |
| 745 |
<midichan>0</midichan> |
| 746 |
<midicc>0</midicc> |
| 747 |
<type>value</type> |
| 748 |
<pressedValue>1.00000000</pressedValue> |
| 749 |
<stringvalue>SynthPad.wav</stringvalue> |
| 750 |
<text>Browse Audio File</text> |
| 751 |
<image>/</image> |
| 752 |
<eventLine/> |
| 753 |
<latch>false</latch> |
| 754 |
<latched>false</latched> |
| 755 |
</bsbObject> |
| 756 |
<bsbObject version="2" type="BSBLabel"> |
| 757 |
<objectName/> |
| 758 |
<x>179</x> |
| 759 |
<y>220</y> |
| 760 |
<width>330</width> |
| 761 |
<height>30</height> |
| 762 |
<uuid>{a63909ac-6fa4-41c8-a84b-ba08e76132ab}</uuid> |
| 763 |
<visible>true</visible> |
| 764 |
<midichan>0</midichan> |
| 765 |
<midicc>0</midicc> |
| 766 |
<label>Restart the instrument after changing the audio file.</label> |
| 767 |
<alignment>left</alignment> |
| 768 |
<font>Liberation Sans</font> |
| 769 |
<fontsize>12</fontsize> |
| 770 |
<precision>3</precision> |
| 771 |
<color> |
| 772 |
<r>0</r> |
| 773 |
<g>0</g> |
| 774 |
<b>0</b> |
| 775 |
</color> |
| 776 |
<bgcolor mode="nobackground"> |
| 777 |
<r>255</r> |
| 778 |
<g>255</g> |
| 779 |
<b>255</b> |
| 780 |
</bgcolor> |
| 781 |
<bordermode>noborder</bordermode> |
| 782 |
<borderradius>1</borderradius> |
| 783 |
<borderwidth>1</borderwidth> |
| 784 |
</bsbObject> |
| 785 |
<bsbObject version="2" type="BSBLabel"> |
| 786 |
<objectName/> |
| 787 |
<x>179</x> |
| 788 |
<y>303</y> |
| 789 |
<width>330</width> |
| 790 |
<height>30</height> |
| 791 |
<uuid>{291555dd-bb9e-419b-b75e-d5a5185c262a}</uuid> |
| 792 |
<visible>true</visible> |
| 793 |
<midichan>0</midichan> |
| 794 |
<midicc>0</midicc> |
| 795 |
<label>Restart the instrument after changing the audio file.</label> |
| 796 |
<alignment>left</alignment> |
| 797 |
<font>Liberation Sans</font> |
| 798 |
<fontsize>12</fontsize> |
| 799 |
<precision>3</precision> |
| 800 |
<color> |
| 801 |
<r>0</r> |
| 802 |
<g>0</g> |
| 803 |
<b>0</b> |
| 804 |
</color> |
| 805 |
<bgcolor mode="nobackground"> |
| 806 |
<r>255</r> |
| 807 |
<g>255</g> |
| 808 |
<b>255</b> |
| 809 |
</bgcolor> |
| 810 |
<bordermode>noborder</bordermode> |
| 811 |
<borderradius>1</borderradius> |
| 812 |
<borderwidth>1</borderwidth> |
| 813 |
</bsbObject> |
| 814 |
</bsbPanel> |
| 815 |
<bsbPresets> |
| 816 |
</bsbPresets> |
| 817 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel> |