| 1 |
;Written by Iain McCurdy, 2009 |
| 2 |
|
| 3 |
; Modified for QuteCsound by René, January 2011 |
| 4 |
; Tested on Ubuntu 10.04 with csound-float 5.13.0 and QuteCsound svn rev 817 |
| 5 |
|
| 6 |
;Notes on modifications from original csd: |
| 7 |
; Add table(s) for exp slider |
| 8 |
; Add limits for min/max frequencies |
| 9 |
|
| 10 |
|
| 11 |
;my flags on Ubuntu: -dm0 -iadc -odac -+rtaudio=jack -b16 -B4096 -+rtmidi=null |
| 12 |
<CsoundSynthesizer> |
| 13 |
<CsOptions> |
| 14 |
|
| 15 |
</CsOptions> |
| 16 |
<CsInstruments> |
| 17 |
sr = 44100 ;SAMPLE RATE |
| 18 |
ksmps = 64 ;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 |
giExp10000 ftgen 0, 0, 129, -25, 0, 20.0, 128, 10000.0 ;TABLE FOR EXP SLIDER |
| 24 |
|
| 25 |
|
| 26 |
instr 10 ;GUI |
| 27 |
klimit init 0 |
| 28 |
idelta = 10.0 |
| 29 |
|
| 30 |
ktrig metro 10 |
| 31 |
if (ktrig == 1) then |
| 32 |
gkInGain invalue "Input_Gain" |
| 33 |
gkGateThresh invalue "Gate_Threshold" |
| 34 |
kmincps invalue "Min_Freq" |
| 35 |
gkmincps tablei kmincps, giExp10000, 1 |
| 36 |
kmaxcps invalue "Max_Freq" |
| 37 |
gkmaxcps tablei kmaxcps, giExp10000, 1 |
| 38 |
|
| 39 |
if gkmincps > gkmaxcps - idelta then |
| 40 |
gkmincps = gkmaxcps - idelta |
| 41 |
klimit = 1 |
| 42 |
else |
| 43 |
klimit = 0 |
| 44 |
endif |
| 45 |
outvalue "Min_Freq_Value", gkmincps |
| 46 |
outvalue "Max_Freq_Value", gkmaxcps |
| 47 |
outvalue "Limit", klimit |
| 48 |
endif |
| 49 |
endin |
| 50 |
|
| 51 |
instr 1 |
| 52 |
aL inch 1 ;READ FIRST/LEFT AUDIO INPUT TO THE COMPUTER |
| 53 |
aL = aL * gkInGain ;RESCALE AUDIO SIGNAL USING INPUT GAIN CONTROL |
| 54 |
|
| 55 |
;;;;;;;;;AUDIO GATE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 56 |
afollow follow2 aL, .0001, .03 ;CREATE A AMPLITUDE FOLLOWING UNIPOLAR SIGNAL |
| 57 |
kfollow downsamp afollow ;DOWNSAMPLE TO CREATE A K-RATE VERSION OF THE AMPLITUDE FOLLOWING SIGNAL |
| 58 |
kgate = (kfollow<gkGateThresh?0:1) ;CREATE A GATE SIGNAL (EITHER 1 OR ZERO DEPENDING UPON COMPARISON WITH THE THRESHOLD VALUE |
| 59 |
kgateport port kgate,.01 ;SMOOTH THE OPENING AND CLOSING OF THE GATE TO PREVENT CLICKS |
| 60 |
aL = aL*kgateport ;APPLY THE GATING SIGNAL |
| 61 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 62 |
|
| 63 |
;CREATE A PITCH TRACKING VARIABLE AND AN AMPLITUDE TRACKING VARIABLE USING THE 'pitchamdf' OPCODE - IMPROVED RESULTS CAN BE ACHIEVED BY FIRST ATTENUATING THE AMPLITUDE OF THE INPUT SIGNAL, YOU WILL NOTICE THAT 'aL' IS FIRST DIVIDED BY 10 |
| 64 |
kSwitch changed gkmincps, gkmaxcps ;GENERATE A MOMENTARY '1' PULSE IN OUTPUT 'kSwitch' IF ANY OF THE SCANNED INPUT VARIABLES CHANGE. (OUTPUT 'kSwitch' IS NORMALLY ZERO) |
| 65 |
if kSwitch=1 then ;IF A CHANGE HAS BEEN DETECTED... |
| 66 |
reinit UPDATE ;BEGIN A REINITIALISATION PASS BEGINNING AT LABEL 'UPDATE' |
| 67 |
endif ;END OF CONDITIONAL BRANCHING |
| 68 |
|
| 69 |
UPDATE: ;LABEL |
| 70 |
kcps, krms pitchamdf aL, i(gkmincps), i(gkmaxcps) ;TRACK PITCH AND RMS |
| 71 |
rireturn ;END OF INITIALISATION PASS |
| 72 |
|
| 73 |
arms interp krms*10 ;RECALIBRATE THE AMPLITUDE FOLLOWING SIGNAL UPWARDS - ALSO INTERPOLATE TO CREATE AN A-RATE SIGNAL TO PREVENT CLICKS AS THE AMPLITUDE FLUCTUATES |
| 74 |
asig oscili 1, kcps, 1 ;CREATE A SYNTHESIZED TONE THAT MIMICS THE FREQUENCY AND AMPLITUDE ATTRIBUTES OF THE INPUT SIGNAL |
| 75 |
ares gain asig, krms |
| 76 |
outs ares, ares ;SEND THE SYNTHESIZED TONE TO THE OUTPUTS |
| 77 |
|
| 78 |
;;;;;;;;UPDATE METERS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 79 |
ktrigger metro 20 ;UPDATE RATE FOR METERS |
| 80 |
if kgate = 0 then ;IF GATE IS ON... |
| 81 |
krms = 0 ;SET RMS TO MINIMUM - THIS IS TO PREVENT ERRATIC METER MOVEMENT WHEN GATE IS ON |
| 82 |
kcps = 20 ;SET CPS TO MINIMUM - THIS IS TO PREVENT ERRATIC METER MOVEMENT WHEN GATE IS ON |
| 83 |
endif ;END OF CONDITIONAL BRANCHING |
| 84 |
|
| 85 |
if ktrigger = 1 then |
| 86 |
outvalue "rms", krms ;UPDATE GUI METERS |
| 87 |
outvalue "cps", log10(kcps) ;UPDATE GUI METERS |
| 88 |
endif |
| 89 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 90 |
endin |
| 91 |
</CsInstruments> |
| 92 |
<CsScore> |
| 93 |
f 1 0 1024 10 1 .2 .15 .1 .2 .1 .05 .02 .01 ;A RICH TONE - USED BY THE PITCH TRACKING SYNTHESIZER |
| 94 |
f 2 0 131072 10 1 ;A SINE WAVE |
| 95 |
|
| 96 |
;INSTR | START | DURATION |
| 97 |
i 10 0 3600 ;GUI AND AUDIO INPUTS |
| 98 |
</CsScore> |
| 99 |
</CsoundSynthesizer><bsbPanel> |
| 100 |
<label>Widgets</label> |
| 101 |
<objectName/> |
| 102 |
<x>72</x> |
| 103 |
<y>179</y> |
| 104 |
<width>400</width> |
| 105 |
<height>200</height> |
| 106 |
<visible>true</visible> |
| 107 |
<uuid/> |
| 108 |
<bgcolor mode="background"> |
| 109 |
<r>241</r> |
| 110 |
<g>226</g> |
| 111 |
<b>185</b> |
| 112 |
</bgcolor> |
| 113 |
<bsbObject version="2" type="BSBLabel"> |
| 114 |
<objectName/> |
| 115 |
<x>2</x> |
| 116 |
<y>2</y> |
| 117 |
<width>514</width> |
| 118 |
<height>300</height> |
| 119 |
<uuid>{aa607456-d368-4d59-8497-d16d608404c3}</uuid> |
| 120 |
<visible>true</visible> |
| 121 |
<midichan>0</midichan> |
| 122 |
<midicc>0</midicc> |
| 123 |
<label>pitchamdf</label> |
| 124 |
<alignment>center</alignment> |
| 125 |
<font>Liberation Sans</font> |
| 126 |
<fontsize>18</fontsize> |
| 127 |
<precision>3</precision> |
| 128 |
<color> |
| 129 |
<r>0</r> |
| 130 |
<g>0</g> |
| 131 |
<b>0</b> |
| 132 |
</color> |
| 133 |
<bgcolor mode="background"> |
| 134 |
<r>158</r> |
| 135 |
<g>220</g> |
| 136 |
<b>158</b> |
| 137 |
</bgcolor> |
| 138 |
<bordermode>border</bordermode> |
| 139 |
<borderradius>5</borderradius> |
| 140 |
<borderwidth>2</borderwidth> |
| 141 |
</bsbObject> |
| 142 |
<bsbObject version="2" type="BSBLabel"> |
| 143 |
<objectName/> |
| 144 |
<x>519</x> |
| 145 |
<y>2</y> |
| 146 |
<width>566</width> |
| 147 |
<height>300</height> |
| 148 |
<uuid>{cebe7e5c-304d-4db6-8da2-0e27c0616bab}</uuid> |
| 149 |
<visible>true</visible> |
| 150 |
<midichan>0</midichan> |
| 151 |
<midicc>0</midicc> |
| 152 |
<label>pitchamdf</label> |
| 153 |
<alignment>center</alignment> |
| 154 |
<font>Liberation Sans</font> |
| 155 |
<fontsize>18</fontsize> |
| 156 |
<precision>3</precision> |
| 157 |
<color> |
| 158 |
<r>0</r> |
| 159 |
<g>0</g> |
| 160 |
<b>0</b> |
| 161 |
</color> |
| 162 |
<bgcolor mode="background"> |
| 163 |
<r>158</r> |
| 164 |
<g>220</g> |
| 165 |
<b>158</b> |
| 166 |
</bgcolor> |
| 167 |
<bordermode>border</bordermode> |
| 168 |
<borderradius>5</borderradius> |
| 169 |
<borderwidth>2</borderwidth> |
| 170 |
</bsbObject> |
| 171 |
<bsbObject version="2" type="BSBLabel"> |
| 172 |
<objectName/> |
| 173 |
<x>520</x> |
| 174 |
<y>18</y> |
| 175 |
<width>563</width> |
| 176 |
<height>280</height> |
| 177 |
<uuid>{c24a85f3-363e-476e-81da-37729ad65bb7}</uuid> |
| 178 |
<visible>true</visible> |
| 179 |
<midichan>0</midichan> |
| 180 |
<midicc>0</midicc> |
| 181 |
<label>------------------------------------------------------------------------------------------------------------------------------------------ |
| 182 |
This example presents a simple demonstration of the 'pitchamdf' opcode, used for pitch and amplitude tracking. It requires a live audio input so you should have a microphone connected to your computer and get ready to sing into it! |
| 183 |
'Pitchamdf' outputs two k-rate variables and for frequency and the other for the amplitude of an input audio signal. For clarity, the usage of this data in this example is quite trivial in that it is used merely as input data for the frequency and amplitude of a simple synthesizing oscillator. With a little imagination, many more interesting applications are possible. Careful adjustment of the controls for minimum and maximum allowed frequencies can improve the pitch tracker's accuracy. I have added a basic noise gate to prevent ambient noise being tracked between intentional notes being played or sung. You can fine-tune the threshold of this noise gate. I have added meters that allow you to monitor the pitch tracker's output visually. An alternative opcode for pitch and amplitude tracking worth investigating is 'pitch'. Pitch tracking is a much more involved and CPU intensive process than amplitude tracking. If you only require amplitude tracking it is recommended that you use either the 'follow' or 'follow2' opcodes.</label> |
| 184 |
<alignment>left</alignment> |
| 185 |
<font>Liberation Sans</font> |
| 186 |
<fontsize>14</fontsize> |
| 187 |
<precision>3</precision> |
| 188 |
<color> |
| 189 |
<r>0</r> |
| 190 |
<g>0</g> |
| 191 |
<b>0</b> |
| 192 |
</color> |
| 193 |
<bgcolor mode="nobackground"> |
| 194 |
<r>158</r> |
| 195 |
<g>220</g> |
| 196 |
<b>158</b> |
| 197 |
</bgcolor> |
| 198 |
<bordermode>noborder</bordermode> |
| 199 |
<borderradius>1</borderradius> |
| 200 |
<borderwidth>1</borderwidth> |
| 201 |
</bsbObject> |
| 202 |
<bsbObject version="2" type="BSBLabel"> |
| 203 |
<objectName/> |
| 204 |
<x>8</x> |
| 205 |
<y>180</y> |
| 206 |
<width>180</width> |
| 207 |
<height>30</height> |
| 208 |
<uuid>{63ab529c-3f14-4886-8215-fd6e8f1a37ce}</uuid> |
| 209 |
<visible>true</visible> |
| 210 |
<midichan>0</midichan> |
| 211 |
<midicc>0</midicc> |
| 212 |
<label>Maximum Frequency (cps)</label> |
| 213 |
<alignment>left</alignment> |
| 214 |
<font>Liberation Sans</font> |
| 215 |
<fontsize>10</fontsize> |
| 216 |
<precision>3</precision> |
| 217 |
<color> |
| 218 |
<r>0</r> |
| 219 |
<g>0</g> |
| 220 |
<b>0</b> |
| 221 |
</color> |
| 222 |
<bgcolor mode="nobackground"> |
| 223 |
<r>255</r> |
| 224 |
<g>255</g> |
| 225 |
<b>255</b> |
| 226 |
</bgcolor> |
| 227 |
<bordermode>noborder</bordermode> |
| 228 |
<borderradius>1</borderradius> |
| 229 |
<borderwidth>1</borderwidth> |
| 230 |
</bsbObject> |
| 231 |
<bsbObject version="2" type="BSBHSlider"> |
| 232 |
<objectName>Max_Freq</objectName> |
| 233 |
<x>8</x> |
| 234 |
<y>163</y> |
| 235 |
<width>500</width> |
| 236 |
<height>27</height> |
| 237 |
<uuid>{a7c37920-a18a-446b-8b66-6a1119503da0}</uuid> |
| 238 |
<visible>true</visible> |
| 239 |
<midichan>0</midichan> |
| 240 |
<midicc>0</midicc> |
| 241 |
<minimum>0.00000000</minimum> |
| 242 |
<maximum>1.00000000</maximum> |
| 243 |
<value>0.55200000</value> |
| 244 |
<mode>lin</mode> |
| 245 |
<mouseControl act="jump">continuous</mouseControl> |
| 246 |
<resolution>-1.00000000</resolution> |
| 247 |
<randomizable group="0">false</randomizable> |
| 248 |
</bsbObject> |
| 249 |
<bsbObject version="2" type="BSBDisplay"> |
| 250 |
<objectName>Max_Freq_Value</objectName> |
| 251 |
<x>448</x> |
| 252 |
<y>180</y> |
| 253 |
<width>60</width> |
| 254 |
<height>30</height> |
| 255 |
<uuid>{b453c0e4-809f-4074-94fd-506ebb68f3b8}</uuid> |
| 256 |
<visible>true</visible> |
| 257 |
<midichan>0</midichan> |
| 258 |
<midicc>0</midicc> |
| 259 |
<label>617.985</label> |
| 260 |
<alignment>right</alignment> |
| 261 |
<font>Liberation Sans</font> |
| 262 |
<fontsize>9</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="BSBLabel"> |
| 279 |
<objectName/> |
| 280 |
<x>8</x> |
| 281 |
<y>73</y> |
| 282 |
<width>180</width> |
| 283 |
<height>30</height> |
| 284 |
<uuid>{93cc32a5-c161-4212-baeb-c28b120f89a8}</uuid> |
| 285 |
<visible>true</visible> |
| 286 |
<midichan>0</midichan> |
| 287 |
<midicc>0</midicc> |
| 288 |
<label>Input Gain</label> |
| 289 |
<alignment>left</alignment> |
| 290 |
<font>Liberation Sans</font> |
| 291 |
<fontsize>10</fontsize> |
| 292 |
<precision>3</precision> |
| 293 |
<color> |
| 294 |
<r>0</r> |
| 295 |
<g>0</g> |
| 296 |
<b>0</b> |
| 297 |
</color> |
| 298 |
<bgcolor mode="nobackground"> |
| 299 |
<r>255</r> |
| 300 |
<g>255</g> |
| 301 |
<b>255</b> |
| 302 |
</bgcolor> |
| 303 |
<bordermode>noborder</bordermode> |
| 304 |
<borderradius>1</borderradius> |
| 305 |
<borderwidth>1</borderwidth> |
| 306 |
</bsbObject> |
| 307 |
<bsbObject version="2" type="BSBHSlider"> |
| 308 |
<objectName>Input_Gain</objectName> |
| 309 |
<x>8</x> |
| 310 |
<y>56</y> |
| 311 |
<width>500</width> |
| 312 |
<height>27</height> |
| 313 |
<uuid>{107836e5-a726-4a83-83b5-c368481d9a48}</uuid> |
| 314 |
<visible>true</visible> |
| 315 |
<midichan>0</midichan> |
| 316 |
<midicc>0</midicc> |
| 317 |
<minimum>0.00000000</minimum> |
| 318 |
<maximum>2.00000000</maximum> |
| 319 |
<value>1.00000000</value> |
| 320 |
<mode>lin</mode> |
| 321 |
<mouseControl act="jump">continuous</mouseControl> |
| 322 |
<resolution>-1.00000000</resolution> |
| 323 |
<randomizable group="0">false</randomizable> |
| 324 |
</bsbObject> |
| 325 |
<bsbObject version="2" type="BSBDisplay"> |
| 326 |
<objectName>Input_Gain</objectName> |
| 327 |
<x>448</x> |
| 328 |
<y>73</y> |
| 329 |
<width>60</width> |
| 330 |
<height>30</height> |
| 331 |
<uuid>{71f0e6eb-f79d-4cd7-80f7-a22cc355e64f}</uuid> |
| 332 |
<visible>true</visible> |
| 333 |
<midichan>0</midichan> |
| 334 |
<midicc>0</midicc> |
| 335 |
<label>1.000</label> |
| 336 |
<alignment>right</alignment> |
| 337 |
<font>Liberation Sans</font> |
| 338 |
<fontsize>9</fontsize> |
| 339 |
<precision>3</precision> |
| 340 |
<color> |
| 341 |
<r>0</r> |
| 342 |
<g>0</g> |
| 343 |
<b>0</b> |
| 344 |
</color> |
| 345 |
<bgcolor mode="nobackground"> |
| 346 |
<r>255</r> |
| 347 |
<g>255</g> |
| 348 |
<b>255</b> |
| 349 |
</bgcolor> |
| 350 |
<bordermode>noborder</bordermode> |
| 351 |
<borderradius>1</borderradius> |
| 352 |
<borderwidth>1</borderwidth> |
| 353 |
</bsbObject> |
| 354 |
<bsbObject version="2" type="BSBLabel"> |
| 355 |
<objectName/> |
| 356 |
<x>8</x> |
| 357 |
<y>109</y> |
| 358 |
<width>180</width> |
| 359 |
<height>30</height> |
| 360 |
<uuid>{e193ffd3-920b-40d4-9eaa-bd11dad75bff}</uuid> |
| 361 |
<visible>true</visible> |
| 362 |
<midichan>0</midichan> |
| 363 |
<midicc>0</midicc> |
| 364 |
<label>Gate Threshold</label> |
| 365 |
<alignment>left</alignment> |
| 366 |
<font>Liberation Sans</font> |
| 367 |
<fontsize>10</fontsize> |
| 368 |
<precision>3</precision> |
| 369 |
<color> |
| 370 |
<r>0</r> |
| 371 |
<g>0</g> |
| 372 |
<b>0</b> |
| 373 |
</color> |
| 374 |
<bgcolor mode="nobackground"> |
| 375 |
<r>255</r> |
| 376 |
<g>255</g> |
| 377 |
<b>255</b> |
| 378 |
</bgcolor> |
| 379 |
<bordermode>noborder</bordermode> |
| 380 |
<borderradius>1</borderradius> |
| 381 |
<borderwidth>1</borderwidth> |
| 382 |
</bsbObject> |
| 383 |
<bsbObject version="2" type="BSBHSlider"> |
| 384 |
<objectName>Gate_Threshold</objectName> |
| 385 |
<x>8</x> |
| 386 |
<y>92</y> |
| 387 |
<width>500</width> |
| 388 |
<height>27</height> |
| 389 |
<uuid>{e4aa4e7b-5b74-4a61-8bd7-4beea2c0bb93}</uuid> |
| 390 |
<visible>true</visible> |
| 391 |
<midichan>0</midichan> |
| 392 |
<midicc>0</midicc> |
| 393 |
<minimum>0.00000000</minimum> |
| 394 |
<maximum>0.30000000</maximum> |
| 395 |
<value>0.01980000</value> |
| 396 |
<mode>lin</mode> |
| 397 |
<mouseControl act="jump">continuous</mouseControl> |
| 398 |
<resolution>-1.00000000</resolution> |
| 399 |
<randomizable group="0">false</randomizable> |
| 400 |
</bsbObject> |
| 401 |
<bsbObject version="2" type="BSBDisplay"> |
| 402 |
<objectName>Gate_Threshold</objectName> |
| 403 |
<x>448</x> |
| 404 |
<y>109</y> |
| 405 |
<width>60</width> |
| 406 |
<height>30</height> |
| 407 |
<uuid>{dc879380-3a9e-4939-b482-a0b4ee46dac5}</uuid> |
| 408 |
<visible>true</visible> |
| 409 |
<midichan>0</midichan> |
| 410 |
<midicc>0</midicc> |
| 411 |
<label>0.020</label> |
| 412 |
<alignment>right</alignment> |
| 413 |
<font>Liberation Sans</font> |
| 414 |
<fontsize>9</fontsize> |
| 415 |
<precision>3</precision> |
| 416 |
<color> |
| 417 |
<r>0</r> |
| 418 |
<g>0</g> |
| 419 |
<b>0</b> |
| 420 |
</color> |
| 421 |
<bgcolor mode="nobackground"> |
| 422 |
<r>255</r> |
| 423 |
<g>255</g> |
| 424 |
<b>255</b> |
| 425 |
</bgcolor> |
| 426 |
<bordermode>noborder</bordermode> |
| 427 |
<borderradius>1</borderradius> |
| 428 |
<borderwidth>1</borderwidth> |
| 429 |
</bsbObject> |
| 430 |
<bsbObject version="2" type="BSBLabel"> |
| 431 |
<objectName/> |
| 432 |
<x>8</x> |
| 433 |
<y>145</y> |
| 434 |
<width>180</width> |
| 435 |
<height>30</height> |
| 436 |
<uuid>{866a933e-0c0d-493a-84af-29f3557f8e4a}</uuid> |
| 437 |
<visible>true</visible> |
| 438 |
<midichan>0</midichan> |
| 439 |
<midicc>0</midicc> |
| 440 |
<label>Minimum Frequency (cps)</label> |
| 441 |
<alignment>left</alignment> |
| 442 |
<font>Liberation Sans</font> |
| 443 |
<fontsize>10</fontsize> |
| 444 |
<precision>3</precision> |
| 445 |
<color> |
| 446 |
<r>0</r> |
| 447 |
<g>0</g> |
| 448 |
<b>0</b> |
| 449 |
</color> |
| 450 |
<bgcolor mode="nobackground"> |
| 451 |
<r>255</r> |
| 452 |
<g>255</g> |
| 453 |
<b>255</b> |
| 454 |
</bgcolor> |
| 455 |
<bordermode>noborder</bordermode> |
| 456 |
<borderradius>1</borderradius> |
| 457 |
<borderwidth>1</borderwidth> |
| 458 |
</bsbObject> |
| 459 |
<bsbObject version="2" type="BSBHSlider"> |
| 460 |
<objectName>Min_Freq</objectName> |
| 461 |
<x>8</x> |
| 462 |
<y>128</y> |
| 463 |
<width>500</width> |
| 464 |
<height>27</height> |
| 465 |
<uuid>{fbbd0dd3-c206-4214-aa5e-10d42b909252}</uuid> |
| 466 |
<visible>true</visible> |
| 467 |
<midichan>0</midichan> |
| 468 |
<midicc>0</midicc> |
| 469 |
<minimum>0.00000000</minimum> |
| 470 |
<maximum>1.00000000</maximum> |
| 471 |
<value>0.26800000</value> |
| 472 |
<mode>lin</mode> |
| 473 |
<mouseControl act="jump">continuous</mouseControl> |
| 474 |
<resolution>-1.00000000</resolution> |
| 475 |
<randomizable group="0">false</randomizable> |
| 476 |
</bsbObject> |
| 477 |
<bsbObject version="2" type="BSBDisplay"> |
| 478 |
<objectName>Min_Freq_Value</objectName> |
| 479 |
<x>448</x> |
| 480 |
<y>145</y> |
| 481 |
<width>60</width> |
| 482 |
<height>30</height> |
| 483 |
<uuid>{31c3cb1b-308f-47cd-9396-c81d85a1c30a}</uuid> |
| 484 |
<visible>true</visible> |
| 485 |
<midichan>0</midichan> |
| 486 |
<midicc>0</midicc> |
| 487 |
<label>105.795</label> |
| 488 |
<alignment>right</alignment> |
| 489 |
<font>Liberation Sans</font> |
| 490 |
<fontsize>9</fontsize> |
| 491 |
<precision>3</precision> |
| 492 |
<color> |
| 493 |
<r>0</r> |
| 494 |
<g>0</g> |
| 495 |
<b>0</b> |
| 496 |
</color> |
| 497 |
<bgcolor mode="nobackground"> |
| 498 |
<r>255</r> |
| 499 |
<g>255</g> |
| 500 |
<b>255</b> |
| 501 |
</bgcolor> |
| 502 |
<bordermode>noborder</bordermode> |
| 503 |
<borderradius>1</borderradius> |
| 504 |
<borderwidth>1</borderwidth> |
| 505 |
</bsbObject> |
| 506 |
<bsbObject version="2" type="BSBButton"> |
| 507 |
<objectName/> |
| 508 |
<x>6</x> |
| 509 |
<y>6</y> |
| 510 |
<width>100</width> |
| 511 |
<height>30</height> |
| 512 |
<uuid>{78037c31-527b-4eba-beba-f939296eb729}</uuid> |
| 513 |
<visible>true</visible> |
| 514 |
<midichan>0</midichan> |
| 515 |
<midicc>0</midicc> |
| 516 |
<type>event</type> |
| 517 |
<pressedValue>1.00000000</pressedValue> |
| 518 |
<stringvalue/> |
| 519 |
<text> On / Off</text> |
| 520 |
<image>/</image> |
| 521 |
<eventLine>i1 0 -1</eventLine> |
| 522 |
<latch>true</latch> |
| 523 |
<latched>false</latched> |
| 524 |
</bsbObject> |
| 525 |
<bsbObject version="2" type="BSBController"> |
| 526 |
<objectName>rms</objectName> |
| 527 |
<x>8</x> |
| 528 |
<y>226</y> |
| 529 |
<width>500</width> |
| 530 |
<height>10</height> |
| 531 |
<uuid>{6d7a1ba4-fb93-4386-9ab8-498172ff97e3}</uuid> |
| 532 |
<visible>true</visible> |
| 533 |
<midichan>0</midichan> |
| 534 |
<midicc>0</midicc> |
| 535 |
<objectName2/> |
| 536 |
<xMin>0.00000000</xMin> |
| 537 |
<xMax>1.00000000</xMax> |
| 538 |
<yMin>0.00000000</yMin> |
| 539 |
<yMax>1.00000000</yMax> |
| 540 |
<xValue>0.04192121</xValue> |
| 541 |
<yValue>0.00000000</yValue> |
| 542 |
<type>fill</type> |
| 543 |
<pointsize>1</pointsize> |
| 544 |
<fadeSpeed>0.00000000</fadeSpeed> |
| 545 |
<mouseControl act="press">jump</mouseControl> |
| 546 |
<color> |
| 547 |
<r>0</r> |
| 548 |
<g>234</g> |
| 549 |
<b>0</b> |
| 550 |
</color> |
| 551 |
<randomizable mode="both" group="0">false</randomizable> |
| 552 |
<bgcolor> |
| 553 |
<r>0</r> |
| 554 |
<g>0</g> |
| 555 |
<b>0</b> |
| 556 |
</bgcolor> |
| 557 |
</bsbObject> |
| 558 |
<bsbObject version="2" type="BSBLabel"> |
| 559 |
<objectName/> |
| 560 |
<x>8</x> |
| 561 |
<y>234</y> |
| 562 |
<width>60</width> |
| 563 |
<height>30</height> |
| 564 |
<uuid>{6e554bee-8b48-4edd-b180-7d48199200ef}</uuid> |
| 565 |
<visible>true</visible> |
| 566 |
<midichan>0</midichan> |
| 567 |
<midicc>0</midicc> |
| 568 |
<label>rms</label> |
| 569 |
<alignment>left</alignment> |
| 570 |
<font>Liberation Sans</font> |
| 571 |
<fontsize>10</fontsize> |
| 572 |
<precision>3</precision> |
| 573 |
<color> |
| 574 |
<r>0</r> |
| 575 |
<g>0</g> |
| 576 |
<b>0</b> |
| 577 |
</color> |
| 578 |
<bgcolor mode="nobackground"> |
| 579 |
<r>255</r> |
| 580 |
<g>255</g> |
| 581 |
<b>255</b> |
| 582 |
</bgcolor> |
| 583 |
<bordermode>noborder</bordermode> |
| 584 |
<borderradius>1</borderradius> |
| 585 |
<borderwidth>1</borderwidth> |
| 586 |
</bsbObject> |
| 587 |
<bsbObject version="2" type="BSBController"> |
| 588 |
<objectName>cps</objectName> |
| 589 |
<x>8</x> |
| 590 |
<y>261</y> |
| 591 |
<width>500</width> |
| 592 |
<height>10</height> |
| 593 |
<uuid>{8ea565dd-f7f8-491d-a403-ffe0ea30dda6}</uuid> |
| 594 |
<visible>true</visible> |
| 595 |
<midichan>0</midichan> |
| 596 |
<midicc>0</midicc> |
| 597 |
<objectName2/> |
| 598 |
<xMin>0.00000000</xMin> |
| 599 |
<xMax>5.00000000</xMax> |
| 600 |
<yMin>0.00000000</yMin> |
| 601 |
<yMax>1.00000000</yMax> |
| 602 |
<xValue>2.24476480</xValue> |
| 603 |
<yValue>0.00000000</yValue> |
| 604 |
<type>fill</type> |
| 605 |
<pointsize>1</pointsize> |
| 606 |
<fadeSpeed>0.00000000</fadeSpeed> |
| 607 |
<mouseControl act="press">jump</mouseControl> |
| 608 |
<color> |
| 609 |
<r>0</r> |
| 610 |
<g>234</g> |
| 611 |
<b>0</b> |
| 612 |
</color> |
| 613 |
<randomizable mode="both" group="0">false</randomizable> |
| 614 |
<bgcolor> |
| 615 |
<r>0</r> |
| 616 |
<g>0</g> |
| 617 |
<b>0</b> |
| 618 |
</bgcolor> |
| 619 |
</bsbObject> |
| 620 |
<bsbObject version="2" type="BSBLabel"> |
| 621 |
<objectName/> |
| 622 |
<x>8</x> |
| 623 |
<y>269</y> |
| 624 |
<width>60</width> |
| 625 |
<height>30</height> |
| 626 |
<uuid>{13f39f2d-425c-4a77-a2dc-9569d9048cfa}</uuid> |
| 627 |
<visible>true</visible> |
| 628 |
<midichan>0</midichan> |
| 629 |
<midicc>0</midicc> |
| 630 |
<label>cps</label> |
| 631 |
<alignment>left</alignment> |
| 632 |
<font>Liberation Sans</font> |
| 633 |
<fontsize>10</fontsize> |
| 634 |
<precision>3</precision> |
| 635 |
<color> |
| 636 |
<r>0</r> |
| 637 |
<g>0</g> |
| 638 |
<b>0</b> |
| 639 |
</color> |
| 640 |
<bgcolor mode="nobackground"> |
| 641 |
<r>255</r> |
| 642 |
<g>255</g> |
| 643 |
<b>255</b> |
| 644 |
</bgcolor> |
| 645 |
<bordermode>noborder</bordermode> |
| 646 |
<borderradius>1</borderradius> |
| 647 |
<borderwidth>1</borderwidth> |
| 648 |
</bsbObject> |
| 649 |
<bsbObject version="2" type="BSBController"> |
| 650 |
<objectName>Limit</objectName> |
| 651 |
<x>438</x> |
| 652 |
<y>199</y> |
| 653 |
<width>70</width> |
| 654 |
<height>20</height> |
| 655 |
<uuid>{4862a393-c371-4b97-b288-d6561f337911}</uuid> |
| 656 |
<visible>true</visible> |
| 657 |
<midichan>0</midichan> |
| 658 |
<midicc>0</midicc> |
| 659 |
<objectName2/> |
| 660 |
<xMin>0.00000000</xMin> |
| 661 |
<xMax>1.00000000</xMax> |
| 662 |
<yMin>0.00000000</yMin> |
| 663 |
<yMax>1.00000000</yMax> |
| 664 |
<xValue>0.00000000</xValue> |
| 665 |
<yValue>0.00000000</yValue> |
| 666 |
<type>fill</type> |
| 667 |
<pointsize>1</pointsize> |
| 668 |
<fadeSpeed>0.00000000</fadeSpeed> |
| 669 |
<mouseControl act="press">jump</mouseControl> |
| 670 |
<color> |
| 671 |
<r>255</r> |
| 672 |
<g>0</g> |
| 673 |
<b>0</b> |
| 674 |
</color> |
| 675 |
<randomizable mode="both" group="0">false</randomizable> |
| 676 |
<bgcolor> |
| 677 |
<r>0</r> |
| 678 |
<g>0</g> |
| 679 |
<b>0</b> |
| 680 |
</bgcolor> |
| 681 |
</bsbObject> |
| 682 |
<bsbObject version="2" type="BSBLabel"> |
| 683 |
<objectName/> |
| 684 |
<x>438</x> |
| 685 |
<y>198</y> |
| 686 |
<width>70</width> |
| 687 |
<height>20</height> |
| 688 |
<uuid>{98a2d52e-ef0c-4b6a-879a-2e7bc94bc844}</uuid> |
| 689 |
<visible>true</visible> |
| 690 |
<midichan>0</midichan> |
| 691 |
<midicc>0</midicc> |
| 692 |
<label>Min > Max !</label> |
| 693 |
<alignment>center</alignment> |
| 694 |
<font>Liberation Sans</font> |
| 695 |
<fontsize>10</fontsize> |
| 696 |
<precision>3</precision> |
| 697 |
<color> |
| 698 |
<r>0</r> |
| 699 |
<g>0</g> |
| 700 |
<b>0</b> |
| 701 |
</color> |
| 702 |
<bgcolor mode="nobackground"> |
| 703 |
<r>255</r> |
| 704 |
<g>255</g> |
| 705 |
<b>255</b> |
| 706 |
</bgcolor> |
| 707 |
<bordermode>noborder</bordermode> |
| 708 |
<borderradius>1</borderradius> |
| 709 |
<borderwidth>1</borderwidth> |
| 710 |
</bsbObject> |
| 711 |
</bsbPanel> |
| 712 |
<bsbPresets> |
| 713 |
</bsbPresets> |
| 714 |
<EventPanel name="" tempo="60.00000000" loop="8.00000000" x="913" y="162" width="655" height="346" visible="false" loopStart="0" loopEnd="0"> </EventPanel> |