| 1 |
;Written by Iain McCurdy, 2009 |
| 2 |
|
| 3 |
;Modified for QuteCsound by René, March 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 impulse file, accept mono or stereo wav files |
| 8 |
; INIT instrument added |
| 9 |
; Use event_i and instrument 5 to simulate a FLsetVal_i opcode |
| 10 |
; Removed subinstr opcode in midi instrument 1 because midi note was played with previous freq and amp values (only on my csd, original FLTK csd is ok) |
| 11 |
|
| 12 |
|
| 13 |
;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=alsa -Ma -m0 |
| 14 |
<CsoundSynthesizer> |
| 15 |
<CsOptions> |
| 16 |
|
| 17 |
</CsOptions> |
| 18 |
<CsInstruments> |
| 19 |
sr = 44100 ;SAMPLE RATE |
| 20 |
ksmps = 16 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 21 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 22 |
0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH |
| 23 |
|
| 24 |
|
| 25 |
givfn ftgen 0,0,4096,10,1 ;A SINE WAVE |
| 26 |
|
| 27 |
|
| 28 |
instr 2 ;GUI |
| 29 |
ktrig metro 10 |
| 30 |
if (ktrig == 1) then |
| 31 |
gkamp invalue "Amp" |
| 32 |
gkfreq invalue "Freq" |
| 33 |
gkhrd invalue "Hard" |
| 34 |
gkpos invalue "Pos" |
| 35 |
gkvibf invalue "VibFreq" |
| 36 |
gkvamp invalue "VibAmp" |
| 37 |
|
| 38 |
;AUDIO FILE CHANGE / LOAD IN TABLES ******************************************************************************************************** |
| 39 |
Sfile_new strcpy "" ;INIT TO EMPTY STRING |
| 40 |
Sfile invalue "_Browse" |
| 41 |
Sfile_old strcpyk Sfile_new |
| 42 |
Sfile_new strcpyk Sfile |
| 43 |
kfile strcmpk Sfile_new, Sfile_old |
| 44 |
|
| 45 |
gkfile_new init 0 |
| 46 |
if kfile != 0 then ;IF A BANG HAD BEEN GENERATED IN THE LINE ABOVE |
| 47 |
gkfile_new = 1 ;Flag to inform instr 1 that a new file is loaded |
| 48 |
reinit NEW_FILE ;REINITIALIZE FROM LABEL 'NEW_FILE' |
| 49 |
endif |
| 50 |
NEW_FILE: |
| 51 |
ilen filelen Sfile ;Find length |
| 52 |
isr filesr Sfile ;Find sample rate |
| 53 |
isamps = ilen * isr ;Total number of samples |
| 54 |
|
| 55 |
isize init 1 |
| 56 |
LOOP: |
| 57 |
isize = isize * 2 |
| 58 |
if (isize < isamps) igoto LOOP ;Loop until isize is greater than number of samples |
| 59 |
|
| 60 |
gimp ftgen 0, 0, isize, 1, Sfile, 0, 0, 1 ;READ AUDIO FILE CHANNEL 1 |
| 61 |
;******************************************************************************************************************************************* |
| 62 |
endif |
| 63 |
endin |
| 64 |
|
| 65 |
instr 1 ;MIDI ACTIVATED INSTRUMENT |
| 66 |
ifreq cpsmidi ;FREQUENCY IS READ FROM INCOMING MIDI NOTE |
| 67 |
iamp ampmidi 0.5 ;AMPLITUDE IS READ FROM INCOMING MIDI NOTE |
| 68 |
|
| 69 |
event_i "i", 5, 0, 0.1, iamp, ifreq ;SEND AMPLITUDE VALUE TO AMPLITUDE SLIDER and FREQUENCY VALUE TO FREQUENCY SLIDER |
| 70 |
|
| 71 |
kSwitch changed gkhrd, gkpos ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 72 |
|
| 73 |
if gkfile_new == 1 || kSwitch == 1 then |
| 74 |
gkfile_new = 0 |
| 75 |
reinit UPDATE |
| 76 |
endif |
| 77 |
UPDATE: |
| 78 |
ares gogobel iamp, ifreq, i(gkhrd), i(gkpos), gimp, gkvibf, gkvamp, givfn |
| 79 |
rireturn |
| 80 |
|
| 81 |
aenv linsegr 1, 3600, 1, 0.1, 0 ;CREATE AN AMPLITUDE ENVELOPE. THIS WILL BE USED TO PREVENT CLICKS. |
| 82 |
outs ares*aenv, ares*aenv ;SEND AUDIO TO OUTPUTS |
| 83 |
endin |
| 84 |
|
| 85 |
instr 3 |
| 86 |
kSwitch changed gkhrd, gkpos ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 87 |
|
| 88 |
if gkfile_new == 1 || kSwitch == 1 then |
| 89 |
gkfile_new = 0 |
| 90 |
reinit UPDATE |
| 91 |
endif |
| 92 |
UPDATE: |
| 93 |
ares gogobel i(gkamp), i(gkfreq), i(gkhrd), i(gkpos), gimp, gkvibf, gkvamp, givfn |
| 94 |
rireturn |
| 95 |
outs ares, ares |
| 96 |
endin |
| 97 |
|
| 98 |
instr 4 ;INIT |
| 99 |
outvalue "Amp", 0.2 |
| 100 |
outvalue "Freq", 750 |
| 101 |
outvalue "Hard", 0.5 |
| 102 |
outvalue "Pos", 0.65 |
| 103 |
outvalue "VibFreq", 5 |
| 104 |
outvalue "VibAmp", 0 |
| 105 |
endin |
| 106 |
|
| 107 |
instr 5 ;UPDATE |
| 108 |
outvalue "Amp", p4 ;SEND AMPLITUDE VALUE TO AMPLITUDE SLIDER |
| 109 |
outvalue "Freq", p5 ;SEND FREQUENCY VALUE TO FREQUENCY SLIDER |
| 110 |
endin |
| 111 |
</CsInstruments> |
| 112 |
<CsScore> |
| 113 |
;INSTR | START | DURATION |
| 114 |
i 2 0 3600 ;GUI |
| 115 |
i 4 0 0.1 ;INIT |
| 116 |
</CsScore> |
| 117 |
</CsoundSynthesizer> |
| 118 |
<bsbPanel> |
| 119 |
<label>Widgets</label> |
| 120 |
<objectName/> |
| 121 |
<x>72</x> |
| 122 |
<y>179</y> |
| 123 |
<width>400</width> |
| 124 |
<height>200</height> |
| 125 |
<visible>true</visible> |
| 126 |
<uuid/> |
| 127 |
<bgcolor mode="background"> |
| 128 |
<r>241</r> |
| 129 |
<g>226</g> |
| 130 |
<b>185</b> |
| 131 |
</bgcolor> |
| 132 |
<bsbObject version="2" type="BSBLabel"> |
| 133 |
<objectName/> |
| 134 |
<x>2</x> |
| 135 |
<y>2</y> |
| 136 |
<width>511</width> |
| 137 |
<height>330</height> |
| 138 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 139 |
<visible>true</visible> |
| 140 |
<midichan>0</midichan> |
| 141 |
<midicc>0</midicc> |
| 142 |
<label>gogobel</label> |
| 143 |
<alignment>center</alignment> |
| 144 |
<font>Liberation Sans</font> |
| 145 |
<fontsize>18</fontsize> |
| 146 |
<precision>3</precision> |
| 147 |
<color> |
| 148 |
<r>0</r> |
| 149 |
<g>0</g> |
| 150 |
<b>0</b> |
| 151 |
</color> |
| 152 |
<bgcolor mode="background"> |
| 153 |
<r>147</r> |
| 154 |
<g>154</g> |
| 155 |
<b>255</b> |
| 156 |
</bgcolor> |
| 157 |
<bordermode>border</bordermode> |
| 158 |
<borderradius>5</borderradius> |
| 159 |
<borderwidth>2</borderwidth> |
| 160 |
</bsbObject> |
| 161 |
<bsbObject version="2" type="BSBLabel"> |
| 162 |
<objectName/> |
| 163 |
<x>8</x> |
| 164 |
<y>125</y> |
| 165 |
<width>220</width> |
| 166 |
<height>30</height> |
| 167 |
<uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid> |
| 168 |
<visible>true</visible> |
| 169 |
<midichan>0</midichan> |
| 170 |
<midicc>0</midicc> |
| 171 |
<label>Amplitude</label> |
| 172 |
<alignment>left</alignment> |
| 173 |
<font>Liberation Sans</font> |
| 174 |
<fontsize>10</fontsize> |
| 175 |
<precision>3</precision> |
| 176 |
<color> |
| 177 |
<r>0</r> |
| 178 |
<g>0</g> |
| 179 |
<b>0</b> |
| 180 |
</color> |
| 181 |
<bgcolor mode="nobackground"> |
| 182 |
<r>255</r> |
| 183 |
<g>255</g> |
| 184 |
<b>255</b> |
| 185 |
</bgcolor> |
| 186 |
<bordermode>noborder</bordermode> |
| 187 |
<borderradius>1</borderradius> |
| 188 |
<borderwidth>1</borderwidth> |
| 189 |
</bsbObject> |
| 190 |
<bsbObject version="2" type="BSBHSlider"> |
| 191 |
<objectName>Amp</objectName> |
| 192 |
<x>8</x> |
| 193 |
<y>108</y> |
| 194 |
<width>500</width> |
| 195 |
<height>27</height> |
| 196 |
<uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid> |
| 197 |
<visible>true</visible> |
| 198 |
<midichan>0</midichan> |
| 199 |
<midicc>0</midicc> |
| 200 |
<minimum>0.00000000</minimum> |
| 201 |
<maximum>1.00000000</maximum> |
| 202 |
<value>0.19531250</value> |
| 203 |
<mode>lin</mode> |
| 204 |
<mouseControl act="jump">continuous</mouseControl> |
| 205 |
<resolution>-1.00000000</resolution> |
| 206 |
<randomizable group="0">false</randomizable> |
| 207 |
</bsbObject> |
| 208 |
<bsbObject version="2" type="BSBDisplay"> |
| 209 |
<objectName>Amp</objectName> |
| 210 |
<x>448</x> |
| 211 |
<y>125</y> |
| 212 |
<width>60</width> |
| 213 |
<height>30</height> |
| 214 |
<uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid> |
| 215 |
<visible>true</visible> |
| 216 |
<midichan>0</midichan> |
| 217 |
<midicc>0</midicc> |
| 218 |
<label>0.195</label> |
| 219 |
<alignment>right</alignment> |
| 220 |
<font>Liberation Sans</font> |
| 221 |
<fontsize>9</fontsize> |
| 222 |
<precision>3</precision> |
| 223 |
<color> |
| 224 |
<r>0</r> |
| 225 |
<g>0</g> |
| 226 |
<b>0</b> |
| 227 |
</color> |
| 228 |
<bgcolor mode="nobackground"> |
| 229 |
<r>255</r> |
| 230 |
<g>255</g> |
| 231 |
<b>255</b> |
| 232 |
</bgcolor> |
| 233 |
<bordermode>noborder</bordermode> |
| 234 |
<borderradius>1</borderradius> |
| 235 |
<borderwidth>1</borderwidth> |
| 236 |
</bsbObject> |
| 237 |
<bsbObject version="2" type="BSBLabel"> |
| 238 |
<objectName/> |
| 239 |
<x>8</x> |
| 240 |
<y>160</y> |
| 241 |
<width>220</width> |
| 242 |
<height>30</height> |
| 243 |
<uuid>{989564b0-b237-4c22-9d10-b76b7c7e4e4c}</uuid> |
| 244 |
<visible>true</visible> |
| 245 |
<midichan>0</midichan> |
| 246 |
<midicc>0</midicc> |
| 247 |
<label>Frequency</label> |
| 248 |
<alignment>left</alignment> |
| 249 |
<font>Liberation Sans</font> |
| 250 |
<fontsize>10</fontsize> |
| 251 |
<precision>3</precision> |
| 252 |
<color> |
| 253 |
<r>0</r> |
| 254 |
<g>0</g> |
| 255 |
<b>0</b> |
| 256 |
</color> |
| 257 |
<bgcolor mode="nobackground"> |
| 258 |
<r>255</r> |
| 259 |
<g>255</g> |
| 260 |
<b>255</b> |
| 261 |
</bgcolor> |
| 262 |
<bordermode>noborder</bordermode> |
| 263 |
<borderradius>1</borderradius> |
| 264 |
<borderwidth>1</borderwidth> |
| 265 |
</bsbObject> |
| 266 |
<bsbObject version="2" type="BSBHSlider"> |
| 267 |
<objectName>Freq</objectName> |
| 268 |
<x>8</x> |
| 269 |
<y>143</y> |
| 270 |
<width>500</width> |
| 271 |
<height>27</height> |
| 272 |
<uuid>{84cd664e-fb67-4dd4-aac3-adbcf2c81fe6}</uuid> |
| 273 |
<visible>true</visible> |
| 274 |
<midichan>0</midichan> |
| 275 |
<midicc>0</midicc> |
| 276 |
<minimum>20.00000000</minimum> |
| 277 |
<maximum>2000.00000000</maximum> |
| 278 |
<value>772.40000000</value> |
| 279 |
<mode>lin</mode> |
| 280 |
<mouseControl act="jump">continuous</mouseControl> |
| 281 |
<resolution>-1.00000000</resolution> |
| 282 |
<randomizable group="0">false</randomizable> |
| 283 |
</bsbObject> |
| 284 |
<bsbObject version="2" type="BSBDisplay"> |
| 285 |
<objectName>Freq</objectName> |
| 286 |
<x>448</x> |
| 287 |
<y>160</y> |
| 288 |
<width>60</width> |
| 289 |
<height>30</height> |
| 290 |
<uuid>{ba8682a6-056f-4432-946b-4e3ee82c47a1}</uuid> |
| 291 |
<visible>true</visible> |
| 292 |
<midichan>0</midichan> |
| 293 |
<midicc>0</midicc> |
| 294 |
<label>772.400</label> |
| 295 |
<alignment>right</alignment> |
| 296 |
<font>Liberation Sans</font> |
| 297 |
<fontsize>9</fontsize> |
| 298 |
<precision>3</precision> |
| 299 |
<color> |
| 300 |
<r>0</r> |
| 301 |
<g>0</g> |
| 302 |
<b>0</b> |
| 303 |
</color> |
| 304 |
<bgcolor mode="nobackground"> |
| 305 |
<r>255</r> |
| 306 |
<g>255</g> |
| 307 |
<b>255</b> |
| 308 |
</bgcolor> |
| 309 |
<bordermode>noborder</bordermode> |
| 310 |
<borderradius>1</borderradius> |
| 311 |
<borderwidth>1</borderwidth> |
| 312 |
</bsbObject> |
| 313 |
<bsbObject version="2" type="BSBLabel"> |
| 314 |
<objectName/> |
| 315 |
<x>8</x> |
| 316 |
<y>194</y> |
| 317 |
<width>200</width> |
| 318 |
<height>30</height> |
| 319 |
<uuid>{76044785-79c4-4202-b7ce-07aee4868219}</uuid> |
| 320 |
<visible>true</visible> |
| 321 |
<midichan>0</midichan> |
| 322 |
<midicc>0</midicc> |
| 323 |
<label>Stick Hardness</label> |
| 324 |
<alignment>left</alignment> |
| 325 |
<font>Liberation Sans</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>Hard</objectName> |
| 344 |
<x>8</x> |
| 345 |
<y>177</y> |
| 346 |
<width>500</width> |
| 347 |
<height>27</height> |
| 348 |
<uuid>{0f952e77-ff9b-4621-b1af-23252bb9c2a6}</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.50000000</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>Hard</objectName> |
| 362 |
<x>448</x> |
| 363 |
<y>194</y> |
| 364 |
<width>60</width> |
| 365 |
<height>30</height> |
| 366 |
<uuid>{7b92c0ca-2fe8-4b4f-9ed0-f618c1b3cb5c}</uuid> |
| 367 |
<visible>true</visible> |
| 368 |
<midichan>0</midichan> |
| 369 |
<midicc>0</midicc> |
| 370 |
<label>0.500</label> |
| 371 |
<alignment>right</alignment> |
| 372 |
<font>Liberation Sans</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="BSBLabel"> |
| 390 |
<objectName/> |
| 391 |
<x>8</x> |
| 392 |
<y>229</y> |
| 393 |
<width>220</width> |
| 394 |
<height>30</height> |
| 395 |
<uuid>{ca41878c-b561-486b-9cf9-d0da6b48448b}</uuid> |
| 396 |
<visible>true</visible> |
| 397 |
<midichan>0</midichan> |
| 398 |
<midicc>0</midicc> |
| 399 |
<label>Strike Position</label> |
| 400 |
<alignment>left</alignment> |
| 401 |
<font>Liberation Sans</font> |
| 402 |
<fontsize>10</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>Pos</objectName> |
| 420 |
<x>8</x> |
| 421 |
<y>212</y> |
| 422 |
<width>500</width> |
| 423 |
<height>27</height> |
| 424 |
<uuid>{2800fb88-347a-402c-88ed-fc97af6a36be}</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>0.64999998</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="BSBDisplay"> |
| 437 |
<objectName>Pos</objectName> |
| 438 |
<x>448</x> |
| 439 |
<y>229</y> |
| 440 |
<width>60</width> |
| 441 |
<height>30</height> |
| 442 |
<uuid>{5d1ba94c-536a-4178-be6c-c0d9d2f75e3d}</uuid> |
| 443 |
<visible>true</visible> |
| 444 |
<midichan>0</midichan> |
| 445 |
<midicc>0</midicc> |
| 446 |
<label>0.650</label> |
| 447 |
<alignment>right</alignment> |
| 448 |
<font>Liberation Sans</font> |
| 449 |
<fontsize>9</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>8</x> |
| 468 |
<y>264</y> |
| 469 |
<width>220</width> |
| 470 |
<height>30</height> |
| 471 |
<uuid>{cdd71125-b224-471a-9c41-9c05d8d28d0c}</uuid> |
| 472 |
<visible>true</visible> |
| 473 |
<midichan>0</midichan> |
| 474 |
<midicc>0</midicc> |
| 475 |
<label>Vibrato Frequency</label> |
| 476 |
<alignment>left</alignment> |
| 477 |
<font>Liberation Sans</font> |
| 478 |
<fontsize>10</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>noborder</bordermode> |
| 491 |
<borderradius>1</borderradius> |
| 492 |
<borderwidth>1</borderwidth> |
| 493 |
</bsbObject> |
| 494 |
<bsbObject version="2" type="BSBHSlider"> |
| 495 |
<objectName>VibFreq</objectName> |
| 496 |
<x>8</x> |
| 497 |
<y>247</y> |
| 498 |
<width>500</width> |
| 499 |
<height>27</height> |
| 500 |
<uuid>{7a83bb1f-f25d-47e0-bf2d-9c5c86e0756b}</uuid> |
| 501 |
<visible>true</visible> |
| 502 |
<midichan>0</midichan> |
| 503 |
<midicc>0</midicc> |
| 504 |
<minimum>0.00000000</minimum> |
| 505 |
<maximum>15.00000000</maximum> |
| 506 |
<value>5.00000000</value> |
| 507 |
<mode>lin</mode> |
| 508 |
<mouseControl act="jump">continuous</mouseControl> |
| 509 |
<resolution>-1.00000000</resolution> |
| 510 |
<randomizable group="0">false</randomizable> |
| 511 |
</bsbObject> |
| 512 |
<bsbObject version="2" type="BSBDisplay"> |
| 513 |
<objectName>VibFreq</objectName> |
| 514 |
<x>448</x> |
| 515 |
<y>264</y> |
| 516 |
<width>60</width> |
| 517 |
<height>30</height> |
| 518 |
<uuid>{7f8d2709-bf8c-46ab-83f0-36fc620b0d56}</uuid> |
| 519 |
<visible>true</visible> |
| 520 |
<midichan>0</midichan> |
| 521 |
<midicc>0</midicc> |
| 522 |
<label>5.000</label> |
| 523 |
<alignment>right</alignment> |
| 524 |
<font>Liberation Sans</font> |
| 525 |
<fontsize>9</fontsize> |
| 526 |
<precision>3</precision> |
| 527 |
<color> |
| 528 |
<r>0</r> |
| 529 |
<g>0</g> |
| 530 |
<b>0</b> |
| 531 |
</color> |
| 532 |
<bgcolor mode="nobackground"> |
| 533 |
<r>255</r> |
| 534 |
<g>255</g> |
| 535 |
<b>255</b> |
| 536 |
</bgcolor> |
| 537 |
<bordermode>noborder</bordermode> |
| 538 |
<borderradius>1</borderradius> |
| 539 |
<borderwidth>1</borderwidth> |
| 540 |
</bsbObject> |
| 541 |
<bsbObject version="2" type="BSBLabel"> |
| 542 |
<objectName/> |
| 543 |
<x>515</x> |
| 544 |
<y>2</y> |
| 545 |
<width>271</width> |
| 546 |
<height>330</height> |
| 547 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 548 |
<visible>true</visible> |
| 549 |
<midichan>0</midichan> |
| 550 |
<midicc>0</midicc> |
| 551 |
<label>gogobel</label> |
| 552 |
<alignment>center</alignment> |
| 553 |
<font>Liberation Sans</font> |
| 554 |
<fontsize>18</fontsize> |
| 555 |
<precision>3</precision> |
| 556 |
<color> |
| 557 |
<r>0</r> |
| 558 |
<g>0</g> |
| 559 |
<b>0</b> |
| 560 |
</color> |
| 561 |
<bgcolor mode="background"> |
| 562 |
<r>147</r> |
| 563 |
<g>154</g> |
| 564 |
<b>255</b> |
| 565 |
</bgcolor> |
| 566 |
<bordermode>border</bordermode> |
| 567 |
<borderradius>5</borderradius> |
| 568 |
<borderwidth>2</borderwidth> |
| 569 |
</bsbObject> |
| 570 |
<bsbObject version="2" type="BSBLabel"> |
| 571 |
<objectName/> |
| 572 |
<x>517</x> |
| 573 |
<y>25</y> |
| 574 |
<width>267</width> |
| 575 |
<height>296</height> |
| 576 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 577 |
<visible>true</visible> |
| 578 |
<midichan>0</midichan> |
| 579 |
<midicc>0</midicc> |
| 580 |
<label>---------------------------------------------------------------- |
| 581 |
'gogobel' is a physical model of a cow bell or agogo bell. 'Stick Hardness' and 'Strike Position' impact some variation in tone but this is quite subtle. It is difficult to imagine why vibrato has been included in an emulation of a cow bell. It is actually difficult to experience the vibrato as the duration of the sound is so short. |
| 582 |
By replacing the sample suggested for the strike impulse (marmstk1.wav) with a longer sample (for example bounce.wav), a longer duration tone is possible. |
| 583 |
This instrument can be triggered either from the GUI button or via a connected MIDI keyboard.</label> |
| 584 |
<alignment>left</alignment> |
| 585 |
<font>Liberation Sans</font> |
| 586 |
<fontsize>14</fontsize> |
| 587 |
<precision>3</precision> |
| 588 |
<color> |
| 589 |
<r>0</r> |
| 590 |
<g>0</g> |
| 591 |
<b>0</b> |
| 592 |
</color> |
| 593 |
<bgcolor mode="nobackground"> |
| 594 |
<r>255</r> |
| 595 |
<g>255</g> |
| 596 |
<b>255</b> |
| 597 |
</bgcolor> |
| 598 |
<bordermode>noborder</bordermode> |
| 599 |
<borderradius>1</borderradius> |
| 600 |
<borderwidth>1</borderwidth> |
| 601 |
</bsbObject> |
| 602 |
<bsbObject version="2" type="BSBButton"> |
| 603 |
<objectName/> |
| 604 |
<x>8</x> |
| 605 |
<y>16</y> |
| 606 |
<width>100</width> |
| 607 |
<height>30</height> |
| 608 |
<uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid> |
| 609 |
<visible>true</visible> |
| 610 |
<midichan>0</midichan> |
| 611 |
<midicc>0</midicc> |
| 612 |
<type>event</type> |
| 613 |
<pressedValue>1.00000000</pressedValue> |
| 614 |
<stringvalue/> |
| 615 |
<text>Strike !</text> |
| 616 |
<image>/</image> |
| 617 |
<eventLine>i 3 0 -1</eventLine> |
| 618 |
<latch>false</latch> |
| 619 |
<latched>false</latched> |
| 620 |
</bsbObject> |
| 621 |
<bsbObject version="2" type="BSBLabel"> |
| 622 |
<objectName/> |
| 623 |
<x>8</x> |
| 624 |
<y>300</y> |
| 625 |
<width>220</width> |
| 626 |
<height>30</height> |
| 627 |
<uuid>{ca67a321-de0d-4a0f-8efd-864d9a51098c}</uuid> |
| 628 |
<visible>true</visible> |
| 629 |
<midichan>0</midichan> |
| 630 |
<midicc>0</midicc> |
| 631 |
<label>Vibrato Amplitude</label> |
| 632 |
<alignment>left</alignment> |
| 633 |
<font>Liberation Sans</font> |
| 634 |
<fontsize>10</fontsize> |
| 635 |
<precision>3</precision> |
| 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 |
<bordermode>noborder</bordermode> |
| 647 |
<borderradius>1</borderradius> |
| 648 |
<borderwidth>1</borderwidth> |
| 649 |
</bsbObject> |
| 650 |
<bsbObject version="2" type="BSBHSlider"> |
| 651 |
<objectName>VibAmp</objectName> |
| 652 |
<x>8</x> |
| 653 |
<y>283</y> |
| 654 |
<width>500</width> |
| 655 |
<height>27</height> |
| 656 |
<uuid>{0341fedb-6323-4661-b4c3-8207291fcd90}</uuid> |
| 657 |
<visible>true</visible> |
| 658 |
<midichan>0</midichan> |
| 659 |
<midicc>0</midicc> |
| 660 |
<minimum>0.00000000</minimum> |
| 661 |
<maximum>1.00000000</maximum> |
| 662 |
<value>0.00000000</value> |
| 663 |
<mode>lin</mode> |
| 664 |
<mouseControl act="jump">continuous</mouseControl> |
| 665 |
<resolution>-1.00000000</resolution> |
| 666 |
<randomizable group="0">false</randomizable> |
| 667 |
</bsbObject> |
| 668 |
<bsbObject version="2" type="BSBDisplay"> |
| 669 |
<objectName>VibAmp</objectName> |
| 670 |
<x>448</x> |
| 671 |
<y>300</y> |
| 672 |
<width>60</width> |
| 673 |
<height>30</height> |
| 674 |
<uuid>{3c428724-1329-4e7c-bdb5-6e1277f3c2ce}</uuid> |
| 675 |
<visible>true</visible> |
| 676 |
<midichan>0</midichan> |
| 677 |
<midicc>0</midicc> |
| 678 |
<label>0.000</label> |
| 679 |
<alignment>right</alignment> |
| 680 |
<font>Liberation Sans</font> |
| 681 |
<fontsize>9</fontsize> |
| 682 |
<precision>3</precision> |
| 683 |
<color> |
| 684 |
<r>0</r> |
| 685 |
<g>0</g> |
| 686 |
<b>0</b> |
| 687 |
</color> |
| 688 |
<bgcolor mode="nobackground"> |
| 689 |
<r>255</r> |
| 690 |
<g>255</g> |
| 691 |
<b>255</b> |
| 692 |
</bgcolor> |
| 693 |
<bordermode>noborder</bordermode> |
| 694 |
<borderradius>1</borderradius> |
| 695 |
<borderwidth>1</borderwidth> |
| 696 |
</bsbObject> |
| 697 |
<bsbObject version="2" type="BSBLabel"> |
| 698 |
<objectName/> |
| 699 |
<x>8</x> |
| 700 |
<y>51</y> |
| 701 |
<width>97</width> |
| 702 |
<height>30</height> |
| 703 |
<uuid>{3c19fbdc-3d2b-4583-8316-52f7a3a433e2}</uuid> |
| 704 |
<visible>true</visible> |
| 705 |
<midichan>0</midichan> |
| 706 |
<midicc>0</midicc> |
| 707 |
<label>IMPULSE :</label> |
| 708 |
<alignment>left</alignment> |
| 709 |
<font>Liberation Sans</font> |
| 710 |
<fontsize>10</fontsize> |
| 711 |
<precision>3</precision> |
| 712 |
<color> |
| 713 |
<r>0</r> |
| 714 |
<g>0</g> |
| 715 |
<b>0</b> |
| 716 |
</color> |
| 717 |
<bgcolor mode="nobackground"> |
| 718 |
<r>255</r> |
| 719 |
<g>255</g> |
| 720 |
<b>255</b> |
| 721 |
</bgcolor> |
| 722 |
<bordermode>noborder</bordermode> |
| 723 |
<borderradius>1</borderradius> |
| 724 |
<borderwidth>1</borderwidth> |
| 725 |
</bsbObject> |
| 726 |
<bsbObject version="2" type="BSBButton"> |
| 727 |
<objectName>_Browse</objectName> |
| 728 |
<x>8</x> |
| 729 |
<y>73</y> |
| 730 |
<width>170</width> |
| 731 |
<height>30</height> |
| 732 |
<uuid>{43341095-bc3a-4607-bd0e-01254da7bc67}</uuid> |
| 733 |
<visible>true</visible> |
| 734 |
<midichan>0</midichan> |
| 735 |
<midicc>0</midicc> |
| 736 |
<type>value</type> |
| 737 |
<pressedValue>1.00000000</pressedValue> |
| 738 |
<stringvalue>marmstk1.wav</stringvalue> |
| 739 |
<text>Browse Audio File</text> |
| 740 |
<image>/</image> |
| 741 |
<eventLine/> |
| 742 |
<latch>false</latch> |
| 743 |
<latched>false</latched> |
| 744 |
</bsbObject> |
| 745 |
<bsbObject version="2" type="BSBLineEdit"> |
| 746 |
<objectName>_Browse</objectName> |
| 747 |
<x>177</x> |
| 748 |
<y>74</y> |
| 749 |
<width>330</width> |
| 750 |
<height>28</height> |
| 751 |
<uuid>{b66f3878-dfd0-4290-9b9d-73be88197222}</uuid> |
| 752 |
<visible>true</visible> |
| 753 |
<midichan>0</midichan> |
| 754 |
<midicc>0</midicc> |
| 755 |
<label>marmstk1.wav</label> |
| 756 |
<alignment>left</alignment> |
| 757 |
<font>Arial</font> |
| 758 |
<fontsize>10</fontsize> |
| 759 |
<precision>3</precision> |
| 760 |
<color> |
| 761 |
<r>0</r> |
| 762 |
<g>0</g> |
| 763 |
<b>0</b> |
| 764 |
</color> |
| 765 |
<bgcolor mode="nobackground"> |
| 766 |
<r>240</r> |
| 767 |
<g>235</g> |
| 768 |
<b>226</b> |
| 769 |
</bgcolor> |
| 770 |
<background>nobackground</background> |
| 771 |
</bsbObject> |
| 772 |
</bsbPanel> |
| 773 |
<bsbPresets> |
| 774 |
</bsbPresets> |
| 775 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel> |