| 1 |
;Written by Iain McCurdy, 2006 |
| 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 tables for exp slider |
| 8 |
; INIT instrument added |
| 9 |
|
| 10 |
|
| 11 |
;my flags on Ubuntu: -odac -b1024 -B2048 -+rtaudio=alsa -+rtmidi=null -m0 |
| 12 |
<CsoundSynthesizer> |
| 13 |
<CsOptions> |
| 14 |
|
| 15 |
</CsOptions> |
| 16 |
<CsInstruments> |
| 17 |
sr = 44100 ;SAMPLE RATE |
| 18 |
ksmps = 100 ;NUMBER OF AUDIO SAMPLES IN EACH CONTROL CYCLE |
| 19 |
nchnls = 2 ;NUMBER OF CHANNELS (2=STEREO) |
| 20 |
0dbfs = 1 ;MAXIMUM AMPLITUDE REGARDLESS OF BIT DEPTH |
| 21 |
|
| 22 |
|
| 23 |
;TABLES FOR EXP SLIDER |
| 24 |
giExp1 ftgen 0, 0, 129, -25, 0, 0.001, 128, 1.0 |
| 25 |
giExp2 ftgen 0, 0, 129, -25, 0, 200.0, 128, 8000.0 |
| 26 |
|
| 27 |
|
| 28 |
instr 10 ;GUI |
| 29 |
ktrig metro 10 |
| 30 |
if (ktrig == 1) then |
| 31 |
gkamp invalue "Amplitude" |
| 32 |
kdettack invalue "dettack" |
| 33 |
gkdettack tablei kdettack, giExp1, 1 |
| 34 |
outvalue "dettack_Value", gkdettack |
| 35 |
gknum invalue "Num" |
| 36 |
gkdamp invalue "Damp" |
| 37 |
gkmaxshake invalue "EnergyFB" |
| 38 |
kfreq invalue "Freq" |
| 39 |
gkfreq tablei kfreq, giExp2, 1 |
| 40 |
outvalue "Freq_Value", gkfreq |
| 41 |
kfreq1 invalue "Freq1" |
| 42 |
gkfreq1 tablei kfreq1, giExp2, 1 |
| 43 |
outvalue "Freq1_Value", gkfreq1 |
| 44 |
kfreq2 invalue "Freq2" |
| 45 |
gkfreq2 tablei kfreq2, giExp2, 1 |
| 46 |
outvalue "Freq2_Value", gkfreq2 |
| 47 |
gktimedelta invalue "DripSpeed" |
| 48 |
endif |
| 49 |
endin |
| 50 |
|
| 51 |
instr 1 ;TRIGGERS RECURRENT DRIPPING |
| 52 |
; ktrigger, kmintim, kmaxnum, kinsnum, kwhen, kdur |
| 53 |
schedkwhen 1, gktimedelta, 0, 2, 0, -1 |
| 54 |
endin |
| 55 |
|
| 56 |
instr 2 ;DRIPWATER INSTRUMENT |
| 57 |
adripwater dripwater gkamp, i(gkdettack) , i(gknum), i(gkdamp) , i(gkmaxshake), i(gkfreq) , i(gkfreq1), i(gkfreq2) |
| 58 |
outs adripwater, adripwater |
| 59 |
endin |
| 60 |
|
| 61 |
instr 3 ;INIT |
| 62 |
outvalue "Amplitude" ,0.2 |
| 63 |
outvalue "dettack" ,0.34 |
| 64 |
outvalue "Num" ,10 |
| 65 |
outvalue "Damp" ,0 |
| 66 |
outvalue "EnergyFB" ,0 |
| 67 |
outvalue "Freq" ,0.22 |
| 68 |
outvalue "Freq1" ,0.298 |
| 69 |
outvalue "Freq2" ,0.359 |
| 70 |
outvalue "DripSpeed" ,.5 |
| 71 |
endin |
| 72 |
</CsInstruments> |
| 73 |
<CsScore> |
| 74 |
;INSTR | START | DURATION |
| 75 |
i 10 0 3600 ;GUI |
| 76 |
i 3 0 0.1 ;INIT |
| 77 |
</CsScore> |
| 78 |
</CsoundSynthesizer> |
| 79 |
<bsbPanel> |
| 80 |
<label>Widgets</label> |
| 81 |
<objectName/> |
| 82 |
<x>754</x> |
| 83 |
<y>232</y> |
| 84 |
<width>870</width> |
| 85 |
<height>385</height> |
| 86 |
<visible>true</visible> |
| 87 |
<uuid/> |
| 88 |
<bgcolor mode="background"> |
| 89 |
<r>241</r> |
| 90 |
<g>226</g> |
| 91 |
<b>185</b> |
| 92 |
</bgcolor> |
| 93 |
<bsbObject version="2" type="BSBLabel"> |
| 94 |
<objectName/> |
| 95 |
<x>2</x> |
| 96 |
<y>2</y> |
| 97 |
<width>511</width> |
| 98 |
<height>380</height> |
| 99 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 100 |
<visible>true</visible> |
| 101 |
<midichan>0</midichan> |
| 102 |
<midicc>0</midicc> |
| 103 |
<label>dripwater</label> |
| 104 |
<alignment>center</alignment> |
| 105 |
<font>Liberation Sans</font> |
| 106 |
<fontsize>18</fontsize> |
| 107 |
<precision>3</precision> |
| 108 |
<color> |
| 109 |
<r>0</r> |
| 110 |
<g>0</g> |
| 111 |
<b>0</b> |
| 112 |
</color> |
| 113 |
<bgcolor mode="background"> |
| 114 |
<r>147</r> |
| 115 |
<g>154</g> |
| 116 |
<b>255</b> |
| 117 |
</bgcolor> |
| 118 |
<bordermode>border</bordermode> |
| 119 |
<borderradius>5</borderradius> |
| 120 |
<borderwidth>2</borderwidth> |
| 121 |
</bsbObject> |
| 122 |
<bsbObject version="2" type="BSBButton"> |
| 123 |
<objectName/> |
| 124 |
<x>349</x> |
| 125 |
<y>16</y> |
| 126 |
<width>160</width> |
| 127 |
<height>30</height> |
| 128 |
<uuid>{24979132-c53f-4414-ac6b-6b4f503ecfe8}</uuid> |
| 129 |
<visible>true</visible> |
| 130 |
<midichan>0</midichan> |
| 131 |
<midicc>0</midicc> |
| 132 |
<type>event</type> |
| 133 |
<pressedValue>1.00000000</pressedValue> |
| 134 |
<stringvalue/> |
| 135 |
<text> Turn the Tap On/Off</text> |
| 136 |
<image>/</image> |
| 137 |
<eventLine>i 1 0 -1</eventLine> |
| 138 |
<latch>true</latch> |
| 139 |
<latched>false</latched> |
| 140 |
</bsbObject> |
| 141 |
<bsbObject version="2" type="BSBLabel"> |
| 142 |
<objectName/> |
| 143 |
<x>8</x> |
| 144 |
<y>74</y> |
| 145 |
<width>220</width> |
| 146 |
<height>30</height> |
| 147 |
<uuid>{640b50b7-7200-4f81-8394-89d9843ae939}</uuid> |
| 148 |
<visible>true</visible> |
| 149 |
<midichan>0</midichan> |
| 150 |
<midicc>0</midicc> |
| 151 |
<label>Amplitude</label> |
| 152 |
<alignment>left</alignment> |
| 153 |
<font>Liberation Sans</font> |
| 154 |
<fontsize>10</fontsize> |
| 155 |
<precision>3</precision> |
| 156 |
<color> |
| 157 |
<r>0</r> |
| 158 |
<g>0</g> |
| 159 |
<b>0</b> |
| 160 |
</color> |
| 161 |
<bgcolor mode="nobackground"> |
| 162 |
<r>255</r> |
| 163 |
<g>255</g> |
| 164 |
<b>255</b> |
| 165 |
</bgcolor> |
| 166 |
<bordermode>noborder</bordermode> |
| 167 |
<borderradius>1</borderradius> |
| 168 |
<borderwidth>1</borderwidth> |
| 169 |
</bsbObject> |
| 170 |
<bsbObject version="2" type="BSBHSlider"> |
| 171 |
<objectName>Amplitude</objectName> |
| 172 |
<x>8</x> |
| 173 |
<y>57</y> |
| 174 |
<width>500</width> |
| 175 |
<height>27</height> |
| 176 |
<uuid>{5585fa6f-0f63-4ac3-bf1b-809c2b1d9134}</uuid> |
| 177 |
<visible>true</visible> |
| 178 |
<midichan>0</midichan> |
| 179 |
<midicc>0</midicc> |
| 180 |
<minimum>0.00000000</minimum> |
| 181 |
<maximum>1.00000000</maximum> |
| 182 |
<value>0.20000000</value> |
| 183 |
<mode>lin</mode> |
| 184 |
<mouseControl act="jump">continuous</mouseControl> |
| 185 |
<resolution>-1.00000000</resolution> |
| 186 |
<randomizable group="0">false</randomizable> |
| 187 |
</bsbObject> |
| 188 |
<bsbObject version="2" type="BSBDisplay"> |
| 189 |
<objectName>Amplitude</objectName> |
| 190 |
<x>448</x> |
| 191 |
<y>74</y> |
| 192 |
<width>60</width> |
| 193 |
<height>30</height> |
| 194 |
<uuid>{b731b52e-e14a-476a-a583-f3b2bd885539}</uuid> |
| 195 |
<visible>true</visible> |
| 196 |
<midichan>0</midichan> |
| 197 |
<midicc>0</midicc> |
| 198 |
<label>0.200</label> |
| 199 |
<alignment>right</alignment> |
| 200 |
<font>Liberation Sans</font> |
| 201 |
<fontsize>9</fontsize> |
| 202 |
<precision>3</precision> |
| 203 |
<color> |
| 204 |
<r>0</r> |
| 205 |
<g>0</g> |
| 206 |
<b>0</b> |
| 207 |
</color> |
| 208 |
<bgcolor mode="nobackground"> |
| 209 |
<r>255</r> |
| 210 |
<g>255</g> |
| 211 |
<b>255</b> |
| 212 |
</bgcolor> |
| 213 |
<bordermode>noborder</bordermode> |
| 214 |
<borderradius>1</borderradius> |
| 215 |
<borderwidth>1</borderwidth> |
| 216 |
</bsbObject> |
| 217 |
<bsbObject version="2" type="BSBLabel"> |
| 218 |
<objectName/> |
| 219 |
<x>8</x> |
| 220 |
<y>109</y> |
| 221 |
<width>220</width> |
| 222 |
<height>30</height> |
| 223 |
<uuid>{989564b0-b237-4c22-9d10-b76b7c7e4e4c}</uuid> |
| 224 |
<visible>true</visible> |
| 225 |
<midichan>0</midichan> |
| 226 |
<midicc>0</midicc> |
| 227 |
<label>idettack (i-rate)</label> |
| 228 |
<alignment>left</alignment> |
| 229 |
<font>Liberation Sans</font> |
| 230 |
<fontsize>10</fontsize> |
| 231 |
<precision>3</precision> |
| 232 |
<color> |
| 233 |
<r>0</r> |
| 234 |
<g>0</g> |
| 235 |
<b>0</b> |
| 236 |
</color> |
| 237 |
<bgcolor mode="nobackground"> |
| 238 |
<r>255</r> |
| 239 |
<g>255</g> |
| 240 |
<b>255</b> |
| 241 |
</bgcolor> |
| 242 |
<bordermode>noborder</bordermode> |
| 243 |
<borderradius>1</borderradius> |
| 244 |
<borderwidth>1</borderwidth> |
| 245 |
</bsbObject> |
| 246 |
<bsbObject version="2" type="BSBHSlider"> |
| 247 |
<objectName>dettack</objectName> |
| 248 |
<x>8</x> |
| 249 |
<y>92</y> |
| 250 |
<width>500</width> |
| 251 |
<height>27</height> |
| 252 |
<uuid>{84cd664e-fb67-4dd4-aac3-adbcf2c81fe6}</uuid> |
| 253 |
<visible>true</visible> |
| 254 |
<midichan>0</midichan> |
| 255 |
<midicc>0</midicc> |
| 256 |
<minimum>0.00000000</minimum> |
| 257 |
<maximum>1.00000000</maximum> |
| 258 |
<value>0.34000000</value> |
| 259 |
<mode>lin</mode> |
| 260 |
<mouseControl act="jump">continuous</mouseControl> |
| 261 |
<resolution>-1.00000000</resolution> |
| 262 |
<randomizable group="0">false</randomizable> |
| 263 |
</bsbObject> |
| 264 |
<bsbObject version="2" type="BSBDisplay"> |
| 265 |
<objectName>dettack_Value</objectName> |
| 266 |
<x>448</x> |
| 267 |
<y>109</y> |
| 268 |
<width>60</width> |
| 269 |
<height>30</height> |
| 270 |
<uuid>{ba8682a6-056f-4432-946b-4e3ee82c47a1}</uuid> |
| 271 |
<visible>true</visible> |
| 272 |
<midichan>0</midichan> |
| 273 |
<midicc>0</midicc> |
| 274 |
<label>0.010</label> |
| 275 |
<alignment>right</alignment> |
| 276 |
<font>Liberation Sans</font> |
| 277 |
<fontsize>9</fontsize> |
| 278 |
<precision>3</precision> |
| 279 |
<color> |
| 280 |
<r>0</r> |
| 281 |
<g>0</g> |
| 282 |
<b>0</b> |
| 283 |
</color> |
| 284 |
<bgcolor mode="nobackground"> |
| 285 |
<r>255</r> |
| 286 |
<g>255</g> |
| 287 |
<b>255</b> |
| 288 |
</bgcolor> |
| 289 |
<bordermode>noborder</bordermode> |
| 290 |
<borderradius>1</borderradius> |
| 291 |
<borderwidth>1</borderwidth> |
| 292 |
</bsbObject> |
| 293 |
<bsbObject version="2" type="BSBLabel"> |
| 294 |
<objectName/> |
| 295 |
<x>8</x> |
| 296 |
<y>143</y> |
| 297 |
<width>200</width> |
| 298 |
<height>30</height> |
| 299 |
<uuid>{76044785-79c4-4202-b7ce-07aee4868219}</uuid> |
| 300 |
<visible>true</visible> |
| 301 |
<midichan>0</midichan> |
| 302 |
<midicc>0</midicc> |
| 303 |
<label>Number of Drips (i-rate)</label> |
| 304 |
<alignment>left</alignment> |
| 305 |
<font>Liberation Sans</font> |
| 306 |
<fontsize>10</fontsize> |
| 307 |
<precision>3</precision> |
| 308 |
<color> |
| 309 |
<r>0</r> |
| 310 |
<g>0</g> |
| 311 |
<b>0</b> |
| 312 |
</color> |
| 313 |
<bgcolor mode="nobackground"> |
| 314 |
<r>255</r> |
| 315 |
<g>255</g> |
| 316 |
<b>255</b> |
| 317 |
</bgcolor> |
| 318 |
<bordermode>noborder</bordermode> |
| 319 |
<borderradius>1</borderradius> |
| 320 |
<borderwidth>1</borderwidth> |
| 321 |
</bsbObject> |
| 322 |
<bsbObject version="2" type="BSBHSlider"> |
| 323 |
<objectName>Num</objectName> |
| 324 |
<x>8</x> |
| 325 |
<y>126</y> |
| 326 |
<width>500</width> |
| 327 |
<height>27</height> |
| 328 |
<uuid>{0f952e77-ff9b-4621-b1af-23252bb9c2a6}</uuid> |
| 329 |
<visible>true</visible> |
| 330 |
<midichan>0</midichan> |
| 331 |
<midicc>0</midicc> |
| 332 |
<minimum>0.00010000</minimum> |
| 333 |
<maximum>100.00000000</maximum> |
| 334 |
<value>10.00000000</value> |
| 335 |
<mode>lin</mode> |
| 336 |
<mouseControl act="jump">continuous</mouseControl> |
| 337 |
<resolution>-1.00000000</resolution> |
| 338 |
<randomizable group="0">false</randomizable> |
| 339 |
</bsbObject> |
| 340 |
<bsbObject version="2" type="BSBDisplay"> |
| 341 |
<objectName>Num</objectName> |
| 342 |
<x>448</x> |
| 343 |
<y>143</y> |
| 344 |
<width>60</width> |
| 345 |
<height>30</height> |
| 346 |
<uuid>{7b92c0ca-2fe8-4b4f-9ed0-f618c1b3cb5c}</uuid> |
| 347 |
<visible>true</visible> |
| 348 |
<midichan>0</midichan> |
| 349 |
<midicc>0</midicc> |
| 350 |
<label>10.000</label> |
| 351 |
<alignment>right</alignment> |
| 352 |
<font>Liberation Sans</font> |
| 353 |
<fontsize>9</fontsize> |
| 354 |
<precision>3</precision> |
| 355 |
<color> |
| 356 |
<r>0</r> |
| 357 |
<g>0</g> |
| 358 |
<b>0</b> |
| 359 |
</color> |
| 360 |
<bgcolor mode="nobackground"> |
| 361 |
<r>255</r> |
| 362 |
<g>255</g> |
| 363 |
<b>255</b> |
| 364 |
</bgcolor> |
| 365 |
<bordermode>noborder</bordermode> |
| 366 |
<borderradius>1</borderradius> |
| 367 |
<borderwidth>1</borderwidth> |
| 368 |
</bsbObject> |
| 369 |
<bsbObject version="2" type="BSBLabel"> |
| 370 |
<objectName/> |
| 371 |
<x>8</x> |
| 372 |
<y>178</y> |
| 373 |
<width>220</width> |
| 374 |
<height>30</height> |
| 375 |
<uuid>{ca41878c-b561-486b-9cf9-d0da6b48448b}</uuid> |
| 376 |
<visible>true</visible> |
| 377 |
<midichan>0</midichan> |
| 378 |
<midicc>0</midicc> |
| 379 |
<label>Damping (i-rate)</label> |
| 380 |
<alignment>left</alignment> |
| 381 |
<font>Liberation Sans</font> |
| 382 |
<fontsize>10</fontsize> |
| 383 |
<precision>3</precision> |
| 384 |
<color> |
| 385 |
<r>0</r> |
| 386 |
<g>0</g> |
| 387 |
<b>0</b> |
| 388 |
</color> |
| 389 |
<bgcolor mode="nobackground"> |
| 390 |
<r>255</r> |
| 391 |
<g>255</g> |
| 392 |
<b>255</b> |
| 393 |
</bgcolor> |
| 394 |
<bordermode>noborder</bordermode> |
| 395 |
<borderradius>1</borderradius> |
| 396 |
<borderwidth>1</borderwidth> |
| 397 |
</bsbObject> |
| 398 |
<bsbObject version="2" type="BSBHSlider"> |
| 399 |
<objectName>Damp</objectName> |
| 400 |
<x>8</x> |
| 401 |
<y>161</y> |
| 402 |
<width>500</width> |
| 403 |
<height>27</height> |
| 404 |
<uuid>{2800fb88-347a-402c-88ed-fc97af6a36be}</uuid> |
| 405 |
<visible>true</visible> |
| 406 |
<midichan>0</midichan> |
| 407 |
<midicc>0</midicc> |
| 408 |
<minimum>0.00000000</minimum> |
| 409 |
<maximum>2.00000000</maximum> |
| 410 |
<value>0.00000000</value> |
| 411 |
<mode>lin</mode> |
| 412 |
<mouseControl act="jump">continuous</mouseControl> |
| 413 |
<resolution>-1.00000000</resolution> |
| 414 |
<randomizable group="0">false</randomizable> |
| 415 |
</bsbObject> |
| 416 |
<bsbObject version="2" type="BSBDisplay"> |
| 417 |
<objectName>Damp</objectName> |
| 418 |
<x>448</x> |
| 419 |
<y>178</y> |
| 420 |
<width>60</width> |
| 421 |
<height>30</height> |
| 422 |
<uuid>{5d1ba94c-536a-4178-be6c-c0d9d2f75e3d}</uuid> |
| 423 |
<visible>true</visible> |
| 424 |
<midichan>0</midichan> |
| 425 |
<midicc>0</midicc> |
| 426 |
<label>0.000</label> |
| 427 |
<alignment>right</alignment> |
| 428 |
<font>Liberation Sans</font> |
| 429 |
<fontsize>9</fontsize> |
| 430 |
<precision>3</precision> |
| 431 |
<color> |
| 432 |
<r>0</r> |
| 433 |
<g>0</g> |
| 434 |
<b>0</b> |
| 435 |
</color> |
| 436 |
<bgcolor mode="nobackground"> |
| 437 |
<r>255</r> |
| 438 |
<g>255</g> |
| 439 |
<b>255</b> |
| 440 |
</bgcolor> |
| 441 |
<bordermode>noborder</bordermode> |
| 442 |
<borderradius>1</borderradius> |
| 443 |
<borderwidth>1</borderwidth> |
| 444 |
</bsbObject> |
| 445 |
<bsbObject version="2" type="BSBLabel"> |
| 446 |
<objectName/> |
| 447 |
<x>8</x> |
| 448 |
<y>213</y> |
| 449 |
<width>220</width> |
| 450 |
<height>30</height> |
| 451 |
<uuid>{cdd71125-b224-471a-9c41-9c05d8d28d0c}</uuid> |
| 452 |
<visible>true</visible> |
| 453 |
<midichan>0</midichan> |
| 454 |
<midicc>0</midicc> |
| 455 |
<label>Energy Feedback (i-rate)</label> |
| 456 |
<alignment>left</alignment> |
| 457 |
<font>Liberation Sans</font> |
| 458 |
<fontsize>10</fontsize> |
| 459 |
<precision>3</precision> |
| 460 |
<color> |
| 461 |
<r>0</r> |
| 462 |
<g>0</g> |
| 463 |
<b>0</b> |
| 464 |
</color> |
| 465 |
<bgcolor mode="nobackground"> |
| 466 |
<r>255</r> |
| 467 |
<g>255</g> |
| 468 |
<b>255</b> |
| 469 |
</bgcolor> |
| 470 |
<bordermode>noborder</bordermode> |
| 471 |
<borderradius>1</borderradius> |
| 472 |
<borderwidth>1</borderwidth> |
| 473 |
</bsbObject> |
| 474 |
<bsbObject version="2" type="BSBHSlider"> |
| 475 |
<objectName>EnergyFB</objectName> |
| 476 |
<x>8</x> |
| 477 |
<y>196</y> |
| 478 |
<width>500</width> |
| 479 |
<height>27</height> |
| 480 |
<uuid>{7a83bb1f-f25d-47e0-bf2d-9c5c86e0756b}</uuid> |
| 481 |
<visible>true</visible> |
| 482 |
<midichan>0</midichan> |
| 483 |
<midicc>0</midicc> |
| 484 |
<minimum>0.00000000</minimum> |
| 485 |
<maximum>1.00000000</maximum> |
| 486 |
<value>0.00000000</value> |
| 487 |
<mode>lin</mode> |
| 488 |
<mouseControl act="jump">continuous</mouseControl> |
| 489 |
<resolution>-1.00000000</resolution> |
| 490 |
<randomizable group="0">false</randomizable> |
| 491 |
</bsbObject> |
| 492 |
<bsbObject version="2" type="BSBDisplay"> |
| 493 |
<objectName>EnergyFB</objectName> |
| 494 |
<x>448</x> |
| 495 |
<y>213</y> |
| 496 |
<width>60</width> |
| 497 |
<height>30</height> |
| 498 |
<uuid>{7f8d2709-bf8c-46ab-83f0-36fc620b0d56}</uuid> |
| 499 |
<visible>true</visible> |
| 500 |
<midichan>0</midichan> |
| 501 |
<midicc>0</midicc> |
| 502 |
<label>0.000</label> |
| 503 |
<alignment>right</alignment> |
| 504 |
<font>Liberation Sans</font> |
| 505 |
<fontsize>9</fontsize> |
| 506 |
<precision>3</precision> |
| 507 |
<color> |
| 508 |
<r>0</r> |
| 509 |
<g>0</g> |
| 510 |
<b>0</b> |
| 511 |
</color> |
| 512 |
<bgcolor mode="nobackground"> |
| 513 |
<r>255</r> |
| 514 |
<g>255</g> |
| 515 |
<b>255</b> |
| 516 |
</bgcolor> |
| 517 |
<bordermode>noborder</bordermode> |
| 518 |
<borderradius>1</borderradius> |
| 519 |
<borderwidth>1</borderwidth> |
| 520 |
</bsbObject> |
| 521 |
<bsbObject version="2" type="BSBLabel"> |
| 522 |
<objectName/> |
| 523 |
<x>515</x> |
| 524 |
<y>2</y> |
| 525 |
<width>349</width> |
| 526 |
<height>380</height> |
| 527 |
<uuid>{74928ed2-b701-4668-9a11-74763d317e9b}</uuid> |
| 528 |
<visible>true</visible> |
| 529 |
<midichan>0</midichan> |
| 530 |
<midicc>0</midicc> |
| 531 |
<label>dripwater</label> |
| 532 |
<alignment>center</alignment> |
| 533 |
<font>Liberation Sans</font> |
| 534 |
<fontsize>18</fontsize> |
| 535 |
<precision>3</precision> |
| 536 |
<color> |
| 537 |
<r>0</r> |
| 538 |
<g>0</g> |
| 539 |
<b>0</b> |
| 540 |
</color> |
| 541 |
<bgcolor mode="background"> |
| 542 |
<r>147</r> |
| 543 |
<g>154</g> |
| 544 |
<b>255</b> |
| 545 |
</bgcolor> |
| 546 |
<bordermode>border</bordermode> |
| 547 |
<borderradius>5</borderradius> |
| 548 |
<borderwidth>2</borderwidth> |
| 549 |
</bsbObject> |
| 550 |
<bsbObject version="2" type="BSBLabel"> |
| 551 |
<objectName/> |
| 552 |
<x>517</x> |
| 553 |
<y>25</y> |
| 554 |
<width>345</width> |
| 555 |
<height>346</height> |
| 556 |
<uuid>{d4bdb5ce-87d8-4c8c-9c64-40ec2eed6f5a}</uuid> |
| 557 |
<visible>true</visible> |
| 558 |
<midichan>0</midichan> |
| 559 |
<midicc>0</midicc> |
| 560 |
<label>----------------------------------------------------------------------------------- |
| 561 |
dripwater is a semi-physical model of dripping water. It is one of the PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic Event Modeling) is an algorithmic approach for simulating collisions of multiple independent sound producing objects. Sustained textures are possible if internal damping is set at maximum (i.e. internal damping is insufficient to eventually stop the movement of the beads). In this example two methods of triggering the opcode are offered. The first is triggered using the button labelled 'single drip' and triggers a single cluster of drips. The second is triggered with the on/off switch labelled 'Turn the Tap On/Off' and triggers (through the use of the schedkwhen opcode) a continuous sequence of rhythmically spaced clusters of drips. The time gap between drip clusters is controlled using the 'Drip Speed' slider. This opcode produces quite erratic amplitude levels so it is advisable to set the amplitude slider quite low to allow some headroom.</label> |
| 562 |
<alignment>left</alignment> |
| 563 |
<font>Liberation Sans</font> |
| 564 |
<fontsize>14</fontsize> |
| 565 |
<precision>3</precision> |
| 566 |
<color> |
| 567 |
<r>0</r> |
| 568 |
<g>0</g> |
| 569 |
<b>0</b> |
| 570 |
</color> |
| 571 |
<bgcolor mode="nobackground"> |
| 572 |
<r>255</r> |
| 573 |
<g>255</g> |
| 574 |
<b>255</b> |
| 575 |
</bgcolor> |
| 576 |
<bordermode>noborder</bordermode> |
| 577 |
<borderradius>1</borderradius> |
| 578 |
<borderwidth>1</borderwidth> |
| 579 |
</bsbObject> |
| 580 |
<bsbObject version="2" type="BSBButton"> |
| 581 |
<objectName/> |
| 582 |
<x>8</x> |
| 583 |
<y>16</y> |
| 584 |
<width>100</width> |
| 585 |
<height>30</height> |
| 586 |
<uuid>{04d44ebe-12eb-4bb0-a3f5-9e4fd3e7830e}</uuid> |
| 587 |
<visible>true</visible> |
| 588 |
<midichan>0</midichan> |
| 589 |
<midicc>0</midicc> |
| 590 |
<type>event</type> |
| 591 |
<pressedValue>1.00000000</pressedValue> |
| 592 |
<stringvalue/> |
| 593 |
<text>Single Drip</text> |
| 594 |
<image>/</image> |
| 595 |
<eventLine>i 2 0 -1</eventLine> |
| 596 |
<latch>false</latch> |
| 597 |
<latched>false</latched> |
| 598 |
</bsbObject> |
| 599 |
<bsbObject version="2" type="BSBLabel"> |
| 600 |
<objectName/> |
| 601 |
<x>8</x> |
| 602 |
<y>249</y> |
| 603 |
<width>220</width> |
| 604 |
<height>30</height> |
| 605 |
<uuid>{ca67a321-de0d-4a0f-8efd-864d9a51098c}</uuid> |
| 606 |
<visible>true</visible> |
| 607 |
<midichan>0</midichan> |
| 608 |
<midicc>0</midicc> |
| 609 |
<label>Main Resonant Frequency (i-rate)</label> |
| 610 |
<alignment>left</alignment> |
| 611 |
<font>Liberation Sans</font> |
| 612 |
<fontsize>10</fontsize> |
| 613 |
<precision>3</precision> |
| 614 |
<color> |
| 615 |
<r>0</r> |
| 616 |
<g>0</g> |
| 617 |
<b>0</b> |
| 618 |
</color> |
| 619 |
<bgcolor mode="nobackground"> |
| 620 |
<r>255</r> |
| 621 |
<g>255</g> |
| 622 |
<b>255</b> |
| 623 |
</bgcolor> |
| 624 |
<bordermode>noborder</bordermode> |
| 625 |
<borderradius>1</borderradius> |
| 626 |
<borderwidth>1</borderwidth> |
| 627 |
</bsbObject> |
| 628 |
<bsbObject version="2" type="BSBHSlider"> |
| 629 |
<objectName>Freq</objectName> |
| 630 |
<x>8</x> |
| 631 |
<y>232</y> |
| 632 |
<width>500</width> |
| 633 |
<height>27</height> |
| 634 |
<uuid>{0341fedb-6323-4661-b4c3-8207291fcd90}</uuid> |
| 635 |
<visible>true</visible> |
| 636 |
<midichan>0</midichan> |
| 637 |
<midicc>0</midicc> |
| 638 |
<minimum>0.00000000</minimum> |
| 639 |
<maximum>1.00000000</maximum> |
| 640 |
<value>0.22000000</value> |
| 641 |
<mode>lin</mode> |
| 642 |
<mouseControl act="jump">continuous</mouseControl> |
| 643 |
<resolution>-1.00000000</resolution> |
| 644 |
<randomizable group="0">false</randomizable> |
| 645 |
</bsbObject> |
| 646 |
<bsbObject version="2" type="BSBDisplay"> |
| 647 |
<objectName>Freq_Value</objectName> |
| 648 |
<x>448</x> |
| 649 |
<y>249</y> |
| 650 |
<width>60</width> |
| 651 |
<height>30</height> |
| 652 |
<uuid>{3c428724-1329-4e7c-bdb5-6e1277f3c2ce}</uuid> |
| 653 |
<visible>true</visible> |
| 654 |
<midichan>0</midichan> |
| 655 |
<midicc>0</midicc> |
| 656 |
<label>450.306</label> |
| 657 |
<alignment>right</alignment> |
| 658 |
<font>Liberation Sans</font> |
| 659 |
<fontsize>9</fontsize> |
| 660 |
<precision>3</precision> |
| 661 |
<color> |
| 662 |
<r>0</r> |
| 663 |
<g>0</g> |
| 664 |
<b>0</b> |
| 665 |
</color> |
| 666 |
<bgcolor mode="nobackground"> |
| 667 |
<r>255</r> |
| 668 |
<g>255</g> |
| 669 |
<b>255</b> |
| 670 |
</bgcolor> |
| 671 |
<bordermode>noborder</bordermode> |
| 672 |
<borderradius>1</borderradius> |
| 673 |
<borderwidth>1</borderwidth> |
| 674 |
</bsbObject> |
| 675 |
<bsbObject version="2" type="BSBLabel"> |
| 676 |
<objectName/> |
| 677 |
<x>8</x> |
| 678 |
<y>284</y> |
| 679 |
<width>220</width> |
| 680 |
<height>30</height> |
| 681 |
<uuid>{fa0d93ef-ebd9-4f53-a86e-c3278e0a35d0}</uuid> |
| 682 |
<visible>true</visible> |
| 683 |
<midichan>0</midichan> |
| 684 |
<midicc>0</midicc> |
| 685 |
<label>1st Resonant Frequency (i-rate)</label> |
| 686 |
<alignment>left</alignment> |
| 687 |
<font>Liberation Sans</font> |
| 688 |
<fontsize>10</fontsize> |
| 689 |
<precision>3</precision> |
| 690 |
<color> |
| 691 |
<r>0</r> |
| 692 |
<g>0</g> |
| 693 |
<b>0</b> |
| 694 |
</color> |
| 695 |
<bgcolor mode="nobackground"> |
| 696 |
<r>255</r> |
| 697 |
<g>255</g> |
| 698 |
<b>255</b> |
| 699 |
</bgcolor> |
| 700 |
<bordermode>noborder</bordermode> |
| 701 |
<borderradius>1</borderradius> |
| 702 |
<borderwidth>1</borderwidth> |
| 703 |
</bsbObject> |
| 704 |
<bsbObject version="2" type="BSBHSlider"> |
| 705 |
<objectName>Freq1</objectName> |
| 706 |
<x>8</x> |
| 707 |
<y>267</y> |
| 708 |
<width>500</width> |
| 709 |
<height>27</height> |
| 710 |
<uuid>{0d1e6fed-dbaa-41fb-b87e-200d37910c8b}</uuid> |
| 711 |
<visible>true</visible> |
| 712 |
<midichan>0</midichan> |
| 713 |
<midicc>0</midicc> |
| 714 |
<minimum>0.00000000</minimum> |
| 715 |
<maximum>1.00000000</maximum> |
| 716 |
<value>0.29800001</value> |
| 717 |
<mode>lin</mode> |
| 718 |
<mouseControl act="jump">continuous</mouseControl> |
| 719 |
<resolution>-1.00000000</resolution> |
| 720 |
<randomizable group="0">false</randomizable> |
| 721 |
</bsbObject> |
| 722 |
<bsbObject version="2" type="BSBDisplay"> |
| 723 |
<objectName>Freq1_Value</objectName> |
| 724 |
<x>448</x> |
| 725 |
<y>284</y> |
| 726 |
<width>60</width> |
| 727 |
<height>30</height> |
| 728 |
<uuid>{91f7748f-d5d6-4b75-ae79-2c94fac05161}</uuid> |
| 729 |
<visible>true</visible> |
| 730 |
<midichan>0</midichan> |
| 731 |
<midicc>0</midicc> |
| 732 |
<label>600.436</label> |
| 733 |
<alignment>right</alignment> |
| 734 |
<font>Liberation Sans</font> |
| 735 |
<fontsize>9</fontsize> |
| 736 |
<precision>3</precision> |
| 737 |
<color> |
| 738 |
<r>0</r> |
| 739 |
<g>0</g> |
| 740 |
<b>0</b> |
| 741 |
</color> |
| 742 |
<bgcolor mode="nobackground"> |
| 743 |
<r>255</r> |
| 744 |
<g>255</g> |
| 745 |
<b>255</b> |
| 746 |
</bgcolor> |
| 747 |
<bordermode>noborder</bordermode> |
| 748 |
<borderradius>1</borderradius> |
| 749 |
<borderwidth>1</borderwidth> |
| 750 |
</bsbObject> |
| 751 |
<bsbObject version="2" type="BSBLabel"> |
| 752 |
<objectName/> |
| 753 |
<x>8</x> |
| 754 |
<y>318</y> |
| 755 |
<width>200</width> |
| 756 |
<height>30</height> |
| 757 |
<uuid>{f141fa04-d656-4cf2-89f7-449a21cc2b21}</uuid> |
| 758 |
<visible>true</visible> |
| 759 |
<midichan>0</midichan> |
| 760 |
<midicc>0</midicc> |
| 761 |
<label>2nd Resonant Frequency (i-rate)</label> |
| 762 |
<alignment>left</alignment> |
| 763 |
<font>Liberation Sans</font> |
| 764 |
<fontsize>10</fontsize> |
| 765 |
<precision>3</precision> |
| 766 |
<color> |
| 767 |
<r>0</r> |
| 768 |
<g>0</g> |
| 769 |
<b>0</b> |
| 770 |
</color> |
| 771 |
<bgcolor mode="nobackground"> |
| 772 |
<r>255</r> |
| 773 |
<g>255</g> |
| 774 |
<b>255</b> |
| 775 |
</bgcolor> |
| 776 |
<bordermode>noborder</bordermode> |
| 777 |
<borderradius>1</borderradius> |
| 778 |
<borderwidth>1</borderwidth> |
| 779 |
</bsbObject> |
| 780 |
<bsbObject version="2" type="BSBHSlider"> |
| 781 |
<objectName>Freq2</objectName> |
| 782 |
<x>8</x> |
| 783 |
<y>301</y> |
| 784 |
<width>500</width> |
| 785 |
<height>27</height> |
| 786 |
<uuid>{5f9e5340-c5e3-4362-8c84-1e09b5e9a084}</uuid> |
| 787 |
<visible>true</visible> |
| 788 |
<midichan>0</midichan> |
| 789 |
<midicc>0</midicc> |
| 790 |
<minimum>0.00000000</minimum> |
| 791 |
<maximum>1.00000000</maximum> |
| 792 |
<value>0.35900000</value> |
| 793 |
<mode>lin</mode> |
| 794 |
<mouseControl act="jump">continuous</mouseControl> |
| 795 |
<resolution>-1.00000000</resolution> |
| 796 |
<randomizable group="0">false</randomizable> |
| 797 |
</bsbObject> |
| 798 |
<bsbObject version="2" type="BSBDisplay"> |
| 799 |
<objectName>Freq2_Value</objectName> |
| 800 |
<x>448</x> |
| 801 |
<y>318</y> |
| 802 |
<width>60</width> |
| 803 |
<height>30</height> |
| 804 |
<uuid>{dd63cdf2-9df5-47f4-b8bc-34d67f45c6b1}</uuid> |
| 805 |
<visible>true</visible> |
| 806 |
<midichan>0</midichan> |
| 807 |
<midicc>0</midicc> |
| 808 |
<label>751.932</label> |
| 809 |
<alignment>right</alignment> |
| 810 |
<font>Liberation Sans</font> |
| 811 |
<fontsize>9</fontsize> |
| 812 |
<precision>3</precision> |
| 813 |
<color> |
| 814 |
<r>0</r> |
| 815 |
<g>0</g> |
| 816 |
<b>0</b> |
| 817 |
</color> |
| 818 |
<bgcolor mode="nobackground"> |
| 819 |
<r>255</r> |
| 820 |
<g>255</g> |
| 821 |
<b>255</b> |
| 822 |
</bgcolor> |
| 823 |
<bordermode>noborder</bordermode> |
| 824 |
<borderradius>1</borderradius> |
| 825 |
<borderwidth>1</borderwidth> |
| 826 |
</bsbObject> |
| 827 |
<bsbObject version="2" type="BSBLabel"> |
| 828 |
<objectName/> |
| 829 |
<x>8</x> |
| 830 |
<y>353</y> |
| 831 |
<width>220</width> |
| 832 |
<height>30</height> |
| 833 |
<uuid>{3750be8b-54c7-4fa6-8c2c-2a83071ca03a}</uuid> |
| 834 |
<visible>true</visible> |
| 835 |
<midichan>0</midichan> |
| 836 |
<midicc>0</midicc> |
| 837 |
<label>Drip Speed (i-rate)</label> |
| 838 |
<alignment>left</alignment> |
| 839 |
<font>Liberation Sans</font> |
| 840 |
<fontsize>10</fontsize> |
| 841 |
<precision>3</precision> |
| 842 |
<color> |
| 843 |
<r>0</r> |
| 844 |
<g>0</g> |
| 845 |
<b>0</b> |
| 846 |
</color> |
| 847 |
<bgcolor mode="nobackground"> |
| 848 |
<r>255</r> |
| 849 |
<g>255</g> |
| 850 |
<b>255</b> |
| 851 |
</bgcolor> |
| 852 |
<bordermode>noborder</bordermode> |
| 853 |
<borderradius>1</borderradius> |
| 854 |
<borderwidth>1</borderwidth> |
| 855 |
</bsbObject> |
| 856 |
<bsbObject version="2" type="BSBHSlider"> |
| 857 |
<objectName>DripSpeed</objectName> |
| 858 |
<x>8</x> |
| 859 |
<y>336</y> |
| 860 |
<width>500</width> |
| 861 |
<height>27</height> |
| 862 |
<uuid>{05fa803d-d951-4b74-8b73-889d979e519d}</uuid> |
| 863 |
<visible>true</visible> |
| 864 |
<midichan>0</midichan> |
| 865 |
<midicc>0</midicc> |
| 866 |
<minimum>0.10000000</minimum> |
| 867 |
<maximum>2.00000000</maximum> |
| 868 |
<value>0.50000000</value> |
| 869 |
<mode>lin</mode> |
| 870 |
<mouseControl act="jump">continuous</mouseControl> |
| 871 |
<resolution>-1.00000000</resolution> |
| 872 |
<randomizable group="0">false</randomizable> |
| 873 |
</bsbObject> |
| 874 |
<bsbObject version="2" type="BSBDisplay"> |
| 875 |
<objectName>DripSpeed</objectName> |
| 876 |
<x>448</x> |
| 877 |
<y>353</y> |
| 878 |
<width>60</width> |
| 879 |
<height>30</height> |
| 880 |
<uuid>{2ddd60f9-274b-489c-b51b-d0be37ffdc43}</uuid> |
| 881 |
<visible>true</visible> |
| 882 |
<midichan>0</midichan> |
| 883 |
<midicc>0</midicc> |
| 884 |
<label>0.500</label> |
| 885 |
<alignment>right</alignment> |
| 886 |
<font>Liberation Sans</font> |
| 887 |
<fontsize>9</fontsize> |
| 888 |
<precision>3</precision> |
| 889 |
<color> |
| 890 |
<r>0</r> |
| 891 |
<g>0</g> |
| 892 |
<b>0</b> |
| 893 |
</color> |
| 894 |
<bgcolor mode="nobackground"> |
| 895 |
<r>255</r> |
| 896 |
<g>255</g> |
| 897 |
<b>255</b> |
| 898 |
</bgcolor> |
| 899 |
<bordermode>noborder</bordermode> |
| 900 |
<borderradius>1</borderradius> |
| 901 |
<borderwidth>1</borderwidth> |
| 902 |
</bsbObject> |
| 903 |
</bsbPanel> |
| 904 |
<bsbPresets> |
| 905 |
</bsbPresets> |
| 906 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="true" loopStart="0" loopEnd="0"> </EventPanel> |