| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
--env:SSDIR+=../../SourceMaterials |
| 4 |
</CsOptions> |
| 5 |
<CsInstruments> |
| 6 |
|
| 7 |
/*Soundfile Snippets Player |
| 8 |
joachim heintz, may 2011*/ |
| 9 |
|
| 10 |
sr = 44100 |
| 11 |
ksmps = 32 |
| 12 |
nchnls = 2 |
| 13 |
0dbfs = 1 |
| 14 |
|
| 15 |
|
| 16 |
;;ascii numbers for key shortcuts (32=space, 112='p', 110='n') |
| 17 |
gikeynxt = 32 ;next sound |
| 18 |
gikeyls = 112 ;next sound one less |
| 19 |
gikeymr = 110 ;next sound one in advance |
| 20 |
|
| 21 |
;declare string channel |
| 22 |
chn_S "_MBrowse", 1 |
| 23 |
|
| 24 |
opcode StrayGetEl, ii, Sijj |
| 25 |
;returns the startindex and the endindex (= the first space after the element) for ielindex in String. if startindex returns -1, the element has not been found |
| 26 |
Stray, ielindx, isepA, isepB xin |
| 27 |
;DEFINE THE SEPARATORS |
| 28 |
isep1 = (isepA == -1 ? 32 : isepA) |
| 29 |
isep2 = (isepA == -1 && isepB == -1 ? 9 : (isepB == -1 ? isep1 : isepB)) |
| 30 |
Sep1 sprintf "%c", isep1 |
| 31 |
Sep2 sprintf "%c", isep2 |
| 32 |
;INITIALIZE SOME PARAMETERS |
| 33 |
ilen strlen Stray |
| 34 |
istartsel = -1; startindex for searched element |
| 35 |
iendsel = -1; endindex for searched element |
| 36 |
iel = 0; actual number of element while searching |
| 37 |
iwarleer = 1 |
| 38 |
indx = 0 |
| 39 |
if ilen == 0 igoto end ;don't go into the loop if Stray is empty |
| 40 |
loop: |
| 41 |
Snext strsub Stray, indx, indx+1; next sign |
| 42 |
isep1p strcmp Snext, Sep1; returns 0 if Snext is sep1 |
| 43 |
isep2p strcmp Snext, Sep2; 0 if Snext is sep2 |
| 44 |
;NEXT SIGN IS NOT SEP1 NOR SEP2 |
| 45 |
if isep1p != 0 && isep2p != 0 then |
| 46 |
if iwarleer == 1 then; first character after a separator |
| 47 |
if iel == ielindx then; if searched element index |
| 48 |
istartsel = indx; set it |
| 49 |
iwarleer = 0 |
| 50 |
else ;if not searched element index |
| 51 |
iel = iel+1; increase it |
| 52 |
iwarleer = 0; log that it's not a separator |
| 53 |
endif |
| 54 |
endif |
| 55 |
;NEXT SIGN IS SEP1 OR SEP2 |
| 56 |
else |
| 57 |
if istartsel > -1 then; if this is first selector after searched element |
| 58 |
iendsel = indx; set iendsel |
| 59 |
igoto end ;break |
| 60 |
else |
| 61 |
iwarleer = 1 |
| 62 |
endif |
| 63 |
endif |
| 64 |
loop_lt indx, 1, ilen, loop |
| 65 |
end: xout istartsel, iendsel |
| 66 |
endop |
| 67 |
|
| 68 |
opcode StrayLen, i, Sjj |
| 69 |
;returns the number of elements in Stray. elements are defined by two separators as ASCII coded characters: isep1 defaults to 32 (= space), isep2 defaults to 9 (= tab). if just one separator is used, isep2 equals isep1 |
| 70 |
Stray, isepA, isepB xin |
| 71 |
;DEFINE THE SEPARATORS |
| 72 |
isep1 = (isepA == -1 ? 32 : isepA) |
| 73 |
isep2 = (isepA == -1 && isepB == -1 ? 9 : (isepB == -1 ? isep1 : isepB)) |
| 74 |
Sep1 sprintf "%c", isep1 |
| 75 |
Sep2 sprintf "%c", isep2 |
| 76 |
;INITIALIZE SOME PARAMETERS |
| 77 |
ilen strlen Stray |
| 78 |
icount = 0; number of elements |
| 79 |
iwarsep = 1 |
| 80 |
indx = 0 |
| 81 |
if ilen == 0 igoto end ;don't go into the loop if String is empty |
| 82 |
loop: |
| 83 |
Snext strsub Stray, indx, indx+1; next sign |
| 84 |
isep1p strcmp Snext, Sep1; returns 0 if Snext is sep1 |
| 85 |
isep2p strcmp Snext, Sep2; 0 if Snext is sep2 |
| 86 |
if isep1p == 0 || isep2p == 0 then; if sep1 or sep2 |
| 87 |
iwarsep = 1; tell the log so |
| 88 |
else ; if not |
| 89 |
if iwarsep == 1 then ; and has been sep1 or sep2 before |
| 90 |
icount = icount + 1; increase counter |
| 91 |
iwarsep = 0; and tell you are ot sep1 nor sep2 |
| 92 |
endif |
| 93 |
endif |
| 94 |
loop_lt indx, 1, ilen, loop |
| 95 |
end: xout icount |
| 96 |
endop |
| 97 |
|
| 98 |
opcode ShowLED_a, 0, Sakkk |
| 99 |
;shows an audiosignal in an outvalue channel, in dB or raw amplitudes |
| 100 |
;Soutchan: string as name of the outvalue channel |
| 101 |
;asig: audio signal to be shown |
| 102 |
;kdispfreq: refresh frequency of the display (Hz) |
| 103 |
;kdb: 1 = show as db, 0 = show as raw amplitudes (both in the range 0-1) |
| 104 |
;kdbrange: if idb=1: which dB range is shown |
| 105 |
Soutchan, asig, ktrig, kdb, kdbrange xin |
| 106 |
kdispval max_k asig, ktrig, 1 |
| 107 |
if kdb != 0 then |
| 108 |
kdb = dbfsamp(kdispval) |
| 109 |
kval = (kdbrange + kdb) / kdbrange |
| 110 |
else |
| 111 |
kval = kdispval |
| 112 |
endif |
| 113 |
if ktrig == 1 then |
| 114 |
outvalue Soutchan, kval |
| 115 |
endif |
| 116 |
endop |
| 117 |
|
| 118 |
opcode ShowOver_a, 0, Sakk |
| 119 |
;shows if asig has been larger than 1 and stays khold seconds |
| 120 |
;Soutchan: string as name of the outvalue channel |
| 121 |
;kdispfreq: refresh frequency of the display (Hz) |
| 122 |
Soutchan, asig, ktrig, khold xin |
| 123 |
kon init 0 |
| 124 |
ktim times |
| 125 |
kstart init 0 |
| 126 |
kend init 0 |
| 127 |
khold = (khold < .01 ? .01 : khold); avoiding too short hold times |
| 128 |
kmax max_k asig, ktrig, 1 |
| 129 |
if kon == 0 && kmax > 1 && ktrig == 1 then |
| 130 |
kstart = ktim |
| 131 |
kend = kstart + khold |
| 132 |
outvalue Soutchan, kmax |
| 133 |
kon = 1 |
| 134 |
endif |
| 135 |
if kon == 1 && ktim > kend && ktrig == 1 then |
| 136 |
outvalue Soutchan, 0 |
| 137 |
kon = 0 |
| 138 |
endif |
| 139 |
endop |
| 140 |
|
| 141 |
opcode Once, k, kpo |
| 142 |
;returns kin only if it equals icomp (default == 1) and if kin has been changed compared to the previous k-cycle. otherwise i0 (default 0) is returned |
| 143 |
kin, icomp, i0 xin |
| 144 |
knew changed kin |
| 145 |
if (knew == 1) && (kin == icomp) then |
| 146 |
kout = icomp |
| 147 |
else |
| 148 |
kout = i0 |
| 149 |
endif |
| 150 |
xout kout |
| 151 |
endop |
| 152 |
|
| 153 |
opcode FilePlay2, aa, Skoo |
| 154 |
;gives stereo output regardless your soundfile is mono or stereo |
| 155 |
Sfil, kspeed, iskip, iloop xin |
| 156 |
ichn filenchnls Sfil |
| 157 |
if ichn == 1 then |
| 158 |
aL diskin2 Sfil, kspeed, iskip, iloop |
| 159 |
aR = aL |
| 160 |
else |
| 161 |
aL, aR diskin2 Sfil, kspeed, iskip, iloop |
| 162 |
endif |
| 163 |
xout aL, aR |
| 164 |
endop |
| 165 |
|
| 166 |
opcode KeyOnce, kk, kkk |
| 167 |
;returns '1' just in the k-cycle a certain key has been pressed (kdown) or released (kup) |
| 168 |
key, kd, kascii xin ;sensekey output and ascii code of the key (e.g. 32 for space) |
| 169 |
knew changed key |
| 170 |
kdown = (key == kascii && knew == 1 && kd == 1 ? 1 : 0) |
| 171 |
kup = (key == kascii && knew == 1 && kd == 0 ? 1 : 0) |
| 172 |
xout kdown, kup |
| 173 |
endop |
| 174 |
|
| 175 |
instr 1 |
| 176 |
turnon 99 |
| 177 |
Sfiles chnget "_MBrowse" ;selection of sound files |
| 178 |
gkgaindb chnget "gaindb" |
| 179 |
knext chnget "next" |
| 180 |
knextfil chnget "nextfil" ;number of soundfile |
| 181 |
knextfil = (knextfil == 0 ? 1 : knextfil) |
| 182 |
|
| 183 |
;;connecting the soundfiles with strset numbers |
| 184 |
inumfils StrayLen Sfiles, 124 ;how many files (separated by '|') to load |
| 185 |
iload = 0 |
| 186 |
load: |
| 187 |
ist, ien StrayGetEl Sfiles, iload, 124 |
| 188 |
Sfil strsub Sfiles, ist, ien |
| 189 |
strset iload+1, Sfil |
| 190 |
loop_lt iload, 1, inumfils, load |
| 191 |
|
| 192 |
;;set value for next file with keys one up or down |
| 193 |
key, kd sensekey |
| 194 |
keyls,k0 KeyOnce key, kd, gikeyls |
| 195 |
keymr,k0 KeyOnce key, kd, gikeymr |
| 196 |
if keyls == 1 then |
| 197 |
knextfil = knextfil-1 |
| 198 |
outvalue "nextfil", knextfil |
| 199 |
elseif keymr == 1 then |
| 200 |
knextfil = knextfil+1 |
| 201 |
outvalue "nextfil", knextfil |
| 202 |
endif |
| 203 |
|
| 204 |
;;triggering next sound |
| 205 |
;with the button widget |
| 206 |
kplnxt Once knext |
| 207 |
;or with key |
| 208 |
keynxt,k0 KeyOnce key, kd, gikeynxt |
| 209 |
|
| 210 |
if kplnxt == 1 || keynxt == 1 then |
| 211 |
if knextfil <= inumfils then |
| 212 |
outvalue "nextfil", knextfil+1 |
| 213 |
event "i", 10, 0, 1, knextfil |
| 214 |
else ;file is not valid |
| 215 |
event "i", 9, 0, 1, knextfil, inumfils |
| 216 |
endif |
| 217 |
endif |
| 218 |
|
| 219 |
endin |
| 220 |
|
| 221 |
instr 9 ;error because required strset number is larger than number of files |
| 222 |
ifil = p4 |
| 223 |
inumfils = p5 |
| 224 |
Smess sprintf "Can't play file number %d!\nJust %d files are in the pool.", ifil, inumfils |
| 225 |
outvalue "messages", Smess |
| 226 |
endin |
| 227 |
|
| 228 |
instr 10 |
| 229 |
ifilnr = p4 |
| 230 |
Sfil strget ifilnr |
| 231 |
ifilen filelen Sfil |
| 232 |
p3 = ifilen |
| 233 |
aL, aR FilePlay2 Sfil, 1 |
| 234 |
outs aL*ampdb(gkgaindb), aR*ampdb(gkgaindb) |
| 235 |
;show messages |
| 236 |
ilslash strrindex Sfil, "/" |
| 237 |
Sname strsub Sfil, ilslash+1 |
| 238 |
Smess sprintf "Playing file number %d:\n'%s'.", ifilnr, Sname |
| 239 |
ktim timeinstk |
| 240 |
if ktim == 1 then |
| 241 |
outvalue "messages", Smess |
| 242 |
endif |
| 243 |
endin |
| 244 |
|
| 245 |
instr 99; show output |
| 246 |
aL, aR monitor |
| 247 |
kTrigDisp metro 10 |
| 248 |
ShowLED_a "outL", aL, kTrigDisp, 1, 50 |
| 249 |
ShowLED_a "outR", aR, kTrigDisp, 1, 50 |
| 250 |
ShowOver_a "outLover", aL/0dbfs, kTrigDisp, 1 |
| 251 |
ShowOver_a "outRover", aR/0dbfs, kTrigDisp, 1 |
| 252 |
endin |
| 253 |
</CsInstruments> |
| 254 |
<CsScore> |
| 255 |
i 1 0 10000 |
| 256 |
</CsScore> |
| 257 |
</CsoundSynthesizer> |
| 258 |
<bsbPanel> |
| 259 |
<label>Widgets</label> |
| 260 |
<objectName/> |
| 261 |
<x>458</x> |
| 262 |
<y>159</y> |
| 263 |
<width>497</width> |
| 264 |
<height>351</height> |
| 265 |
<visible>true</visible> |
| 266 |
<uuid/> |
| 267 |
<bgcolor mode="nobackground"> |
| 268 |
<r>205</r> |
| 269 |
<g>255</g> |
| 270 |
<b>123</b> |
| 271 |
</bgcolor> |
| 272 |
<bsbObject version="2" type="BSBLineEdit"> |
| 273 |
<objectName>_MBrowse</objectName> |
| 274 |
<x>11</x> |
| 275 |
<y>135</y> |
| 276 |
<width>149</width> |
| 277 |
<height>26</height> |
| 278 |
<uuid>{fe1e66fe-4105-4aed-9c04-e06ef3c95aa2}</uuid> |
| 279 |
<visible>true</visible> |
| 280 |
<midichan>0</midichan> |
| 281 |
<midicc>0</midicc> |
| 282 |
<description/> |
| 283 |
<label>fox.wav|bell.aiff|808loop.wav</label> |
| 284 |
<alignment>left</alignment> |
| 285 |
<font>Arial</font> |
| 286 |
<fontsize>12</fontsize> |
| 287 |
<precision>3</precision> |
| 288 |
<color> |
| 289 |
<r>0</r> |
| 290 |
<g>0</g> |
| 291 |
<b>0</b> |
| 292 |
</color> |
| 293 |
<bgcolor mode="nobackground"> |
| 294 |
<r>239</r> |
| 295 |
<g>239</g> |
| 296 |
<b>239</b> |
| 297 |
</bgcolor> |
| 298 |
<background>nobackground</background> |
| 299 |
</bsbObject> |
| 300 |
<bsbObject version="2" type="BSBButton"> |
| 301 |
<objectName>_MBrowse</objectName> |
| 302 |
<x>161</x> |
| 303 |
<y>134</y> |
| 304 |
<width>100</width> |
| 305 |
<height>30</height> |
| 306 |
<uuid>{7e9d3773-29f5-4906-91f7-3e35e562dfa6}</uuid> |
| 307 |
<visible>true</visible> |
| 308 |
<midichan>0</midichan> |
| 309 |
<midicc>0</midicc> |
| 310 |
<description/> |
| 311 |
<type>value</type> |
| 312 |
<pressedValue>1.00000000</pressedValue> |
| 313 |
<stringvalue>fox.wav|bell.aiff|808loop.wav</stringvalue> |
| 314 |
<text>Select Files</text> |
| 315 |
<image>/</image> |
| 316 |
<eventLine/> |
| 317 |
<latch>false</latch> |
| 318 |
<momentaryMidiButton>false</momentaryMidiButton> |
| 319 |
<latched>false</latched> |
| 320 |
<fontsize>10</fontsize> |
| 321 |
</bsbObject> |
| 322 |
<bsbObject version="2" type="BSBButton"> |
| 323 |
<objectName>next</objectName> |
| 324 |
<x>12</x> |
| 325 |
<y>197</y> |
| 326 |
<width>100</width> |
| 327 |
<height>30</height> |
| 328 |
<uuid>{1ab2a0e3-3615-4cab-9b3f-effdbd3da26d}</uuid> |
| 329 |
<visible>true</visible> |
| 330 |
<midichan>0</midichan> |
| 331 |
<midicc>0</midicc> |
| 332 |
<description/> |
| 333 |
<type>value</type> |
| 334 |
<pressedValue>1.00000000</pressedValue> |
| 335 |
<stringvalue>/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/BratscheMono.aiff|/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/BratscheStereo.aiff|/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/EineWelleMono.aiff|/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/Glocke_Ganze1.aiff</stringvalue> |
| 336 |
<text>NEXT!</text> |
| 337 |
<image>/</image> |
| 338 |
<eventLine/> |
| 339 |
<latch>false</latch> |
| 340 |
<momentaryMidiButton>false</momentaryMidiButton> |
| 341 |
<latched>false</latched> |
| 342 |
<fontsize>10</fontsize> |
| 343 |
</bsbObject> |
| 344 |
<bsbObject version="2" type="BSBDisplay"> |
| 345 |
<objectName>messages</objectName> |
| 346 |
<x>193</x> |
| 347 |
<y>171</y> |
| 348 |
<width>249</width> |
| 349 |
<height>57</height> |
| 350 |
<uuid>{daf328dd-4a90-4fed-8bb3-ba3b230a754d}</uuid> |
| 351 |
<visible>true</visible> |
| 352 |
<midichan>0</midichan> |
| 353 |
<midicc>0</midicc> |
| 354 |
<description/> |
| 355 |
<label>Playing file number 3: |
| 356 |
'808loop.wav'.</label> |
| 357 |
<alignment>left</alignment> |
| 358 |
<valignment>top</valignment> |
| 359 |
<font>Arial</font> |
| 360 |
<fontsize>14</fontsize> |
| 361 |
<precision>3</precision> |
| 362 |
<color> |
| 363 |
<r>0</r> |
| 364 |
<g>0</g> |
| 365 |
<b>0</b> |
| 366 |
</color> |
| 367 |
<bgcolor mode="nobackground"> |
| 368 |
<r>255</r> |
| 369 |
<g>255</g> |
| 370 |
<b>255</b> |
| 371 |
</bgcolor> |
| 372 |
<bordermode>border</bordermode> |
| 373 |
<borderradius>1</borderradius> |
| 374 |
<borderwidth>1</borderwidth> |
| 375 |
</bsbObject> |
| 376 |
<bsbObject version="2" type="BSBController"> |
| 377 |
<objectName>outL</objectName> |
| 378 |
<x>11</x> |
| 379 |
<y>239</y> |
| 380 |
<width>225</width> |
| 381 |
<height>20</height> |
| 382 |
<uuid>{56692e84-8339-4713-bedf-b81a5d5dea6b}</uuid> |
| 383 |
<visible>true</visible> |
| 384 |
<midichan>0</midichan> |
| 385 |
<midicc>0</midicc> |
| 386 |
<description/> |
| 387 |
<objectName2>outL</objectName2> |
| 388 |
<xMin>0.00000000</xMin> |
| 389 |
<xMax>1.00000000</xMax> |
| 390 |
<yMin>0.00000000</yMin> |
| 391 |
<yMax>1.00000000</yMax> |
| 392 |
<xValue>-inf</xValue> |
| 393 |
<yValue>-inf</yValue> |
| 394 |
<type>fill</type> |
| 395 |
<pointsize>1</pointsize> |
| 396 |
<fadeSpeed>0.00000000</fadeSpeed> |
| 397 |
<mouseControl act="press">jump</mouseControl> |
| 398 |
<bordermode>noborder</bordermode> |
| 399 |
<borderColor>#00FF00</borderColor> |
| 400 |
<color> |
| 401 |
<r>0</r> |
| 402 |
<g>234</g> |
| 403 |
<b>0</b> |
| 404 |
</color> |
| 405 |
<randomizable mode="both" group="0">false</randomizable> |
| 406 |
<bgcolor> |
| 407 |
<r>0</r> |
| 408 |
<g>0</g> |
| 409 |
<b>0</b> |
| 410 |
</bgcolor> |
| 411 |
<bgcolormode>true</bgcolormode> |
| 412 |
</bsbObject> |
| 413 |
<bsbObject version="2" type="BSBController"> |
| 414 |
<objectName>outLover</objectName> |
| 415 |
<x>230</x> |
| 416 |
<y>239</y> |
| 417 |
<width>25</width> |
| 418 |
<height>20</height> |
| 419 |
<uuid>{9dbc1525-61ed-4dcc-aeb3-650eb87744db}</uuid> |
| 420 |
<visible>true</visible> |
| 421 |
<midichan>0</midichan> |
| 422 |
<midicc>0</midicc> |
| 423 |
<description/> |
| 424 |
<objectName2>outLover</objectName2> |
| 425 |
<xMin>0.00000000</xMin> |
| 426 |
<xMax>1.00000000</xMax> |
| 427 |
<yMin>0.00000000</yMin> |
| 428 |
<yMax>1.00000000</yMax> |
| 429 |
<xValue>0.00000000</xValue> |
| 430 |
<yValue>0.00000000</yValue> |
| 431 |
<type>fill</type> |
| 432 |
<pointsize>1</pointsize> |
| 433 |
<fadeSpeed>0.00000000</fadeSpeed> |
| 434 |
<mouseControl act="press">jump</mouseControl> |
| 435 |
<bordermode>noborder</bordermode> |
| 436 |
<borderColor>#00FF00</borderColor> |
| 437 |
<color> |
| 438 |
<r>196</r> |
| 439 |
<g>14</g> |
| 440 |
<b>12</b> |
| 441 |
</color> |
| 442 |
<randomizable mode="both" group="0">false</randomizable> |
| 443 |
<bgcolor> |
| 444 |
<r>0</r> |
| 445 |
<g>0</g> |
| 446 |
<b>0</b> |
| 447 |
</bgcolor> |
| 448 |
<bgcolormode>true</bgcolormode> |
| 449 |
</bsbObject> |
| 450 |
<bsbObject version="2" type="BSBController"> |
| 451 |
<objectName>outR</objectName> |
| 452 |
<x>11</x> |
| 453 |
<y>265</y> |
| 454 |
<width>225</width> |
| 455 |
<height>20</height> |
| 456 |
<uuid>{09a3dabb-c32b-4652-b07c-a5149e90b11b}</uuid> |
| 457 |
<visible>true</visible> |
| 458 |
<midichan>0</midichan> |
| 459 |
<midicc>0</midicc> |
| 460 |
<description/> |
| 461 |
<objectName2>outR</objectName2> |
| 462 |
<xMin>0.00000000</xMin> |
| 463 |
<xMax>1.00000000</xMax> |
| 464 |
<yMin>0.00000000</yMin> |
| 465 |
<yMax>1.00000000</yMax> |
| 466 |
<xValue>-inf</xValue> |
| 467 |
<yValue>-inf</yValue> |
| 468 |
<type>fill</type> |
| 469 |
<pointsize>1</pointsize> |
| 470 |
<fadeSpeed>0.00000000</fadeSpeed> |
| 471 |
<mouseControl act="press">jump</mouseControl> |
| 472 |
<bordermode>noborder</bordermode> |
| 473 |
<borderColor>#00FF00</borderColor> |
| 474 |
<color> |
| 475 |
<r>0</r> |
| 476 |
<g>234</g> |
| 477 |
<b>0</b> |
| 478 |
</color> |
| 479 |
<randomizable mode="both" group="0">false</randomizable> |
| 480 |
<bgcolor> |
| 481 |
<r>0</r> |
| 482 |
<g>0</g> |
| 483 |
<b>0</b> |
| 484 |
</bgcolor> |
| 485 |
<bgcolormode>true</bgcolormode> |
| 486 |
</bsbObject> |
| 487 |
<bsbObject version="2" type="BSBController"> |
| 488 |
<objectName>outRover</objectName> |
| 489 |
<x>230</x> |
| 490 |
<y>265</y> |
| 491 |
<width>25</width> |
| 492 |
<height>20</height> |
| 493 |
<uuid>{d515ef65-7c19-46c4-a888-c5cbc4e5653c}</uuid> |
| 494 |
<visible>true</visible> |
| 495 |
<midichan>0</midichan> |
| 496 |
<midicc>0</midicc> |
| 497 |
<description/> |
| 498 |
<objectName2>outRover</objectName2> |
| 499 |
<xMin>0.00000000</xMin> |
| 500 |
<xMax>1.00000000</xMax> |
| 501 |
<yMin>0.00000000</yMin> |
| 502 |
<yMax>1.00000000</yMax> |
| 503 |
<xValue>0.00000000</xValue> |
| 504 |
<yValue>0.00000000</yValue> |
| 505 |
<type>fill</type> |
| 506 |
<pointsize>1</pointsize> |
| 507 |
<fadeSpeed>0.00000000</fadeSpeed> |
| 508 |
<mouseControl act="press">jump</mouseControl> |
| 509 |
<bordermode>noborder</bordermode> |
| 510 |
<borderColor>#00FF00</borderColor> |
| 511 |
<color> |
| 512 |
<r>196</r> |
| 513 |
<g>14</g> |
| 514 |
<b>12</b> |
| 515 |
</color> |
| 516 |
<randomizable mode="both" group="0">false</randomizable> |
| 517 |
<bgcolor> |
| 518 |
<r>0</r> |
| 519 |
<g>0</g> |
| 520 |
<b>0</b> |
| 521 |
</bgcolor> |
| 522 |
<bgcolormode>true</bgcolormode> |
| 523 |
</bsbObject> |
| 524 |
<bsbObject version="2" type="BSBSpinBox"> |
| 525 |
<objectName>nextfil</objectName> |
| 526 |
<x>124</x> |
| 527 |
<y>199</y> |
| 528 |
<width>56</width> |
| 529 |
<height>26</height> |
| 530 |
<uuid>{ac0aae3d-803d-499c-a8dd-bd503c9def5b}</uuid> |
| 531 |
<visible>true</visible> |
| 532 |
<midichan>0</midichan> |
| 533 |
<midicc>0</midicc> |
| 534 |
<description/> |
| 535 |
<alignment>right</alignment> |
| 536 |
<font>Arial</font> |
| 537 |
<fontsize>14</fontsize> |
| 538 |
<color> |
| 539 |
<r>0</r> |
| 540 |
<g>0</g> |
| 541 |
<b>0</b> |
| 542 |
</color> |
| 543 |
<bgcolor mode="nobackground"> |
| 544 |
<r>255</r> |
| 545 |
<g>255</g> |
| 546 |
<b>255</b> |
| 547 |
</bgcolor> |
| 548 |
<resolution>1.00000000</resolution> |
| 549 |
<minimum>1</minimum> |
| 550 |
<maximum>1e+12</maximum> |
| 551 |
<randomizable group="0">false</randomizable> |
| 552 |
<value>0</value> |
| 553 |
</bsbObject> |
| 554 |
<bsbObject version="2" type="BSBLabel"> |
| 555 |
<objectName/> |
| 556 |
<x>11</x> |
| 557 |
<y>169</y> |
| 558 |
<width>100</width> |
| 559 |
<height>25</height> |
| 560 |
<uuid>{7e8b7689-f681-44e6-ad82-c0ccd86f4ea1}</uuid> |
| 561 |
<visible>true</visible> |
| 562 |
<midichan>0</midichan> |
| 563 |
<midicc>0</midicc> |
| 564 |
<description/> |
| 565 |
<label>Play next file</label> |
| 566 |
<alignment>left</alignment> |
| 567 |
<valignment>top</valignment> |
| 568 |
<font>Arial</font> |
| 569 |
<fontsize>14</fontsize> |
| 570 |
<precision>3</precision> |
| 571 |
<color> |
| 572 |
<r>0</r> |
| 573 |
<g>0</g> |
| 574 |
<b>0</b> |
| 575 |
</color> |
| 576 |
<bgcolor mode="nobackground"> |
| 577 |
<r>255</r> |
| 578 |
<g>255</g> |
| 579 |
<b>255</b> |
| 580 |
</bgcolor> |
| 581 |
<bordermode>noborder</bordermode> |
| 582 |
<borderradius>1</borderradius> |
| 583 |
<borderwidth>0</borderwidth> |
| 584 |
</bsbObject> |
| 585 |
<bsbObject version="2" type="BSBLabel"> |
| 586 |
<objectName/> |
| 587 |
<x>123</x> |
| 588 |
<y>170</y> |
| 589 |
<width>63</width> |
| 590 |
<height>26</height> |
| 591 |
<uuid>{c3147df5-ed47-4cd3-a1a8-b419afa071ce}</uuid> |
| 592 |
<visible>true</visible> |
| 593 |
<midichan>0</midichan> |
| 594 |
<midicc>0</midicc> |
| 595 |
<description/> |
| 596 |
<label>Next file</label> |
| 597 |
<alignment>left</alignment> |
| 598 |
<valignment>top</valignment> |
| 599 |
<font>Arial</font> |
| 600 |
<fontsize>14</fontsize> |
| 601 |
<precision>3</precision> |
| 602 |
<color> |
| 603 |
<r>0</r> |
| 604 |
<g>0</g> |
| 605 |
<b>0</b> |
| 606 |
</color> |
| 607 |
<bgcolor mode="nobackground"> |
| 608 |
<r>255</r> |
| 609 |
<g>255</g> |
| 610 |
<b>255</b> |
| 611 |
</bgcolor> |
| 612 |
<bordermode>noborder</bordermode> |
| 613 |
<borderradius>1</borderradius> |
| 614 |
<borderwidth>0</borderwidth> |
| 615 |
</bsbObject> |
| 616 |
<bsbObject version="2" type="BSBLabel"> |
| 617 |
<objectName/> |
| 618 |
<x>9</x> |
| 619 |
<y>9</y> |
| 620 |
<width>431</width> |
| 621 |
<height>39</height> |
| 622 |
<uuid>{2a56f609-3f3a-49a2-8ef2-04e1041ed49f}</uuid> |
| 623 |
<visible>true</visible> |
| 624 |
<midichan>0</midichan> |
| 625 |
<midicc>0</midicc> |
| 626 |
<description/> |
| 627 |
<label>SOUNDFILE SNIPPETS PLAYER</label> |
| 628 |
<alignment>center</alignment> |
| 629 |
<valignment>top</valignment> |
| 630 |
<font>DejaVu Sans</font> |
| 631 |
<fontsize>26</fontsize> |
| 632 |
<precision>3</precision> |
| 633 |
<color> |
| 634 |
<r>0</r> |
| 635 |
<g>0</g> |
| 636 |
<b>0</b> |
| 637 |
</color> |
| 638 |
<bgcolor mode="nobackground"> |
| 639 |
<r>255</r> |
| 640 |
<g>255</g> |
| 641 |
<b>255</b> |
| 642 |
</bgcolor> |
| 643 |
<bordermode>noborder</bordermode> |
| 644 |
<borderradius>1</borderradius> |
| 645 |
<borderwidth>0</borderwidth> |
| 646 |
</bsbObject> |
| 647 |
<bsbObject version="2" type="BSBLabel"> |
| 648 |
<objectName/> |
| 649 |
<x>8</x> |
| 650 |
<y>53</y> |
| 651 |
<width>434</width> |
| 652 |
<height>71</height> |
| 653 |
<uuid>{73bb9833-135d-4658-bc89-61ff0302aeba}</uuid> |
| 654 |
<visible>true</visible> |
| 655 |
<midichan>0</midichan> |
| 656 |
<midicc>0</midicc> |
| 657 |
<description/> |
| 658 |
<label>Load the sound snippets. Press START. Push the NEXT! button or the space bar (make sure the focus is in this panel). You can reset the number of the next file by typing in the spin box, or by the 'p'/'n' keys.</label> |
| 659 |
<alignment>left</alignment> |
| 660 |
<valignment>top</valignment> |
| 661 |
<font>DejaVu Sans</font> |
| 662 |
<fontsize>12</fontsize> |
| 663 |
<precision>3</precision> |
| 664 |
<color> |
| 665 |
<r>0</r> |
| 666 |
<g>0</g> |
| 667 |
<b>0</b> |
| 668 |
</color> |
| 669 |
<bgcolor mode="nobackground"> |
| 670 |
<r>255</r> |
| 671 |
<g>255</g> |
| 672 |
<b>255</b> |
| 673 |
</bgcolor> |
| 674 |
<bordermode>noborder</bordermode> |
| 675 |
<borderradius>1</borderradius> |
| 676 |
<borderwidth>0</borderwidth> |
| 677 |
</bsbObject> |
| 678 |
<bsbObject version="2" type="BSBButton"> |
| 679 |
<objectName>_Play</objectName> |
| 680 |
<x>269</x> |
| 681 |
<y>134</y> |
| 682 |
<width>100</width> |
| 683 |
<height>30</height> |
| 684 |
<uuid>{afd840d0-f92a-47d4-877b-ac69d46ca429}</uuid> |
| 685 |
<visible>true</visible> |
| 686 |
<midichan>0</midichan> |
| 687 |
<midicc>0</midicc> |
| 688 |
<description/> |
| 689 |
<type>value</type> |
| 690 |
<pressedValue>1.00000000</pressedValue> |
| 691 |
<stringvalue>/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/BratscheMono.aiff|/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/BratscheStereo.aiff|/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/EineWelleMono.aiff|/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/Glocke_Ganze1.aiff</stringvalue> |
| 692 |
<text>START</text> |
| 693 |
<image>/</image> |
| 694 |
<eventLine/> |
| 695 |
<latch>false</latch> |
| 696 |
<momentaryMidiButton>false</momentaryMidiButton> |
| 697 |
<latched>false</latched> |
| 698 |
<fontsize>10</fontsize> |
| 699 |
</bsbObject> |
| 700 |
<bsbObject version="2" type="BSBButton"> |
| 701 |
<objectName>_Stop</objectName> |
| 702 |
<x>379</x> |
| 703 |
<y>134</y> |
| 704 |
<width>63</width> |
| 705 |
<height>30</height> |
| 706 |
<uuid>{3af0308a-0d13-49ac-afc0-b3e33b2168b1}</uuid> |
| 707 |
<visible>true</visible> |
| 708 |
<midichan>0</midichan> |
| 709 |
<midicc>0</midicc> |
| 710 |
<description/> |
| 711 |
<type>value</type> |
| 712 |
<pressedValue>1.00000000</pressedValue> |
| 713 |
<stringvalue>/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/BratscheMono.aiff|/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/BratscheStereo.aiff|/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/EineWelleMono.aiff|/home/linux/Joachim/Materialien/SamplesKlangbearbeitung/Glocke_Ganze1.aiff</stringvalue> |
| 714 |
<text>STOP</text> |
| 715 |
<image>/</image> |
| 716 |
<eventLine/> |
| 717 |
<latch>false</latch> |
| 718 |
<momentaryMidiButton>false</momentaryMidiButton> |
| 719 |
<latched>false</latched> |
| 720 |
<fontsize>10</fontsize> |
| 721 |
</bsbObject> |
| 722 |
<bsbObject version="2" type="BSBHSlider"> |
| 723 |
<objectName>gaindb</objectName> |
| 724 |
<x>267</x> |
| 725 |
<y>263</y> |
| 726 |
<width>176</width> |
| 727 |
<height>24</height> |
| 728 |
<uuid>{4d42ff3b-ba28-463f-aaf0-ef8905f4facc}</uuid> |
| 729 |
<visible>true</visible> |
| 730 |
<midichan>0</midichan> |
| 731 |
<midicc>0</midicc> |
| 732 |
<description/> |
| 733 |
<minimum>-12.00000000</minimum> |
| 734 |
<maximum>12.00000000</maximum> |
| 735 |
<value>-2.04545455</value> |
| 736 |
<mode>lin</mode> |
| 737 |
<mouseControl act="jump">continuous</mouseControl> |
| 738 |
<resolution>-1.00000000</resolution> |
| 739 |
<randomizable group="0">false</randomizable> |
| 740 |
</bsbObject> |
| 741 |
<bsbObject version="2" type="BSBLabel"> |
| 742 |
<objectName/> |
| 743 |
<x>267</x> |
| 744 |
<y>236</y> |
| 745 |
<width>45</width> |
| 746 |
<height>26</height> |
| 747 |
<uuid>{eccfbfa8-ba49-4ac2-94c3-9d70d1db6028}</uuid> |
| 748 |
<visible>true</visible> |
| 749 |
<midichan>0</midichan> |
| 750 |
<midicc>0</midicc> |
| 751 |
<description/> |
| 752 |
<label>Gain</label> |
| 753 |
<alignment>right</alignment> |
| 754 |
<valignment>top</valignment> |
| 755 |
<font>Arial</font> |
| 756 |
<fontsize>14</fontsize> |
| 757 |
<precision>3</precision> |
| 758 |
<color> |
| 759 |
<r>0</r> |
| 760 |
<g>0</g> |
| 761 |
<b>0</b> |
| 762 |
</color> |
| 763 |
<bgcolor mode="nobackground"> |
| 764 |
<r>255</r> |
| 765 |
<g>255</g> |
| 766 |
<b>255</b> |
| 767 |
</bgcolor> |
| 768 |
<bordermode>noborder</bordermode> |
| 769 |
<borderradius>1</borderradius> |
| 770 |
<borderwidth>0</borderwidth> |
| 771 |
</bsbObject> |
| 772 |
<bsbObject version="2" type="BSBLabel"> |
| 773 |
<objectName/> |
| 774 |
<x>397</x> |
| 775 |
<y>235</y> |
| 776 |
<width>45</width> |
| 777 |
<height>26</height> |
| 778 |
<uuid>{8b5b92dc-f58e-406e-8262-b117e1a70803}</uuid> |
| 779 |
<visible>true</visible> |
| 780 |
<midichan>0</midichan> |
| 781 |
<midicc>0</midicc> |
| 782 |
<description/> |
| 783 |
<label>dB</label> |
| 784 |
<alignment>left</alignment> |
| 785 |
<valignment>top</valignment> |
| 786 |
<font>Arial</font> |
| 787 |
<fontsize>14</fontsize> |
| 788 |
<precision>3</precision> |
| 789 |
<color> |
| 790 |
<r>0</r> |
| 791 |
<g>0</g> |
| 792 |
<b>0</b> |
| 793 |
</color> |
| 794 |
<bgcolor mode="nobackground"> |
| 795 |
<r>255</r> |
| 796 |
<g>255</g> |
| 797 |
<b>255</b> |
| 798 |
</bgcolor> |
| 799 |
<bordermode>noborder</bordermode> |
| 800 |
<borderradius>1</borderradius> |
| 801 |
<borderwidth>0</borderwidth> |
| 802 |
</bsbObject> |
| 803 |
<bsbObject version="2" type="BSBDisplay"> |
| 804 |
<objectName>gaindb</objectName> |
| 805 |
<x>314</x> |
| 806 |
<y>236</y> |
| 807 |
<width>80</width> |
| 808 |
<height>25</height> |
| 809 |
<uuid>{126c55f6-ba72-4d42-a3f5-7bf36e0a8269}</uuid> |
| 810 |
<visible>true</visible> |
| 811 |
<midichan>0</midichan> |
| 812 |
<midicc>0</midicc> |
| 813 |
<description/> |
| 814 |
<label>-2.045</label> |
| 815 |
<alignment>right</alignment> |
| 816 |
<valignment>top</valignment> |
| 817 |
<font>Arial</font> |
| 818 |
<fontsize>14</fontsize> |
| 819 |
<precision>3</precision> |
| 820 |
<color> |
| 821 |
<r>0</r> |
| 822 |
<g>0</g> |
| 823 |
<b>0</b> |
| 824 |
</color> |
| 825 |
<bgcolor mode="nobackground"> |
| 826 |
<r>255</r> |
| 827 |
<g>255</g> |
| 828 |
<b>255</b> |
| 829 |
</bgcolor> |
| 830 |
<bordermode>noborder</bordermode> |
| 831 |
<borderradius>1</borderradius> |
| 832 |
<borderwidth>0</borderwidth> |
| 833 |
</bsbObject> |
| 834 |
</bsbPanel> |
| 835 |
<bsbPresets> |
| 836 |
</bsbPresets> |