| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
</CsOptions> |
| 4 |
<CsInstruments> |
| 5 |
|
| 6 |
sr = 44100 |
| 7 |
ksmps = 128 |
| 8 |
nchnls = 2 |
| 9 |
0dbfs = 1 |
| 10 |
|
| 11 |
instr 1 |
| 12 |
kfreq invalue "freq" |
| 13 |
asig oscili 0.2, kfreq |
| 14 |
kpan oscil 1, 1, 1 |
| 15 |
apan = interp(lag(kpan, 0.1)) |
| 16 |
outs asig*apan, asig*(1-apan) |
| 17 |
endin |
| 18 |
|
| 19 |
|
| 20 |
</CsInstruments> |
| 21 |
<CsScore> |
| 22 |
f 1 0 4096 -7 1 2048 1 0 0 2048 0 |
| 23 |
|
| 24 |
i 1 0 1000 |
| 25 |
</CsScore> |
| 26 |
</CsoundSynthesizer> |
| 27 |
<bsbPanel> |
| 28 |
<label>Widgets</label> |
| 29 |
<objectName/> |
| 30 |
<x>326</x> |
| 31 |
<y>88</y> |
| 32 |
<width>491</width> |
| 33 |
<height>658</height> |
| 34 |
<visible>true</visible> |
| 35 |
<uuid/> |
| 36 |
<bgcolor mode="background"> |
| 37 |
<r>138</r> |
| 38 |
<g>149</g> |
| 39 |
<b>156</b> |
| 40 |
</bgcolor> |
| 41 |
<bsbObject type="BSBLabel" version="2"> |
| 42 |
<objectName/> |
| 43 |
<x>144</x> |
| 44 |
<y>1</y> |
| 45 |
<width>191</width> |
| 46 |
<height>39</height> |
| 47 |
<uuid>{22e4de93-d80c-453b-8a76-a6ad3bb5c4b8}</uuid> |
| 48 |
<visible>true</visible> |
| 49 |
<midichan>0</midichan> |
| 50 |
<midicc>-3</midicc> |
| 51 |
<description/> |
| 52 |
<label>Scope Widget</label> |
| 53 |
<alignment>center</alignment> |
| 54 |
<valignment>top</valignment> |
| 55 |
<font>Arial</font> |
| 56 |
<fontsize>24</fontsize> |
| 57 |
<precision>3</precision> |
| 58 |
<color> |
| 59 |
<r>0</r> |
| 60 |
<g>0</g> |
| 61 |
<b>0</b> |
| 62 |
</color> |
| 63 |
<bgcolor mode="nobackground"> |
| 64 |
<r>191</r> |
| 65 |
<g>204</g> |
| 66 |
<b>234</b> |
| 67 |
</bgcolor> |
| 68 |
<bordermode>noborder</bordermode> |
| 69 |
<borderradius>1</borderradius> |
| 70 |
<borderwidth>0</borderwidth> |
| 71 |
</bsbObject> |
| 72 |
<bsbObject type="BSBLabel" version="2"> |
| 73 |
<objectName/> |
| 74 |
<x>10</x> |
| 75 |
<y>41</y> |
| 76 |
<width>465</width> |
| 77 |
<height>44</height> |
| 78 |
<uuid>{5a8df46b-c8e6-46ce-bb0d-80380ff2884a}</uuid> |
| 79 |
<visible>true</visible> |
| 80 |
<midichan>0</midichan> |
| 81 |
<midicc>-3</midicc> |
| 82 |
<description/> |
| 83 |
<label>The Scope widget is an oscilloscope which can show the output of Csound. The oscilloscope can show individual channels or a sum of all output channels. Clicking on a Scope widget freezes it.</label> |
| 84 |
<alignment>left</alignment> |
| 85 |
<valignment>top</valignment> |
| 86 |
<font>Arial</font> |
| 87 |
<fontsize>10</fontsize> |
| 88 |
<precision>3</precision> |
| 89 |
<color> |
| 90 |
<r>0</r> |
| 91 |
<g>0</g> |
| 92 |
<b>0</b> |
| 93 |
</color> |
| 94 |
<bgcolor mode="background"> |
| 95 |
<r>191</r> |
| 96 |
<g>204</g> |
| 97 |
<b>234</b> |
| 98 |
</bgcolor> |
| 99 |
<bordermode>noborder</bordermode> |
| 100 |
<borderradius>5</borderradius> |
| 101 |
<borderwidth>0</borderwidth> |
| 102 |
</bsbObject> |
| 103 |
<bsbObject type="BSBScope" version="2"> |
| 104 |
<objectName/> |
| 105 |
<x>10</x> |
| 106 |
<y>90</y> |
| 107 |
<width>465</width> |
| 108 |
<height>95</height> |
| 109 |
<uuid>{14105eb1-daf6-406d-845b-f4f1895cb1f3}</uuid> |
| 110 |
<visible>true</visible> |
| 111 |
<midichan>0</midichan> |
| 112 |
<midicc>-3</midicc> |
| 113 |
<description/> |
| 114 |
<value>1.00000000</value> |
| 115 |
<type>scope</type> |
| 116 |
<zoomx>2.00000000</zoomx> |
| 117 |
<zoomy>1.00000000</zoomy> |
| 118 |
<dispx>1.00000000</dispx> |
| 119 |
<dispy>1.00000000</dispy> |
| 120 |
<mode>0.00000000</mode> |
| 121 |
<triggermode>NoTrigger</triggermode> |
| 122 |
</bsbObject> |
| 123 |
<bsbObject type="BSBScope" version="2"> |
| 124 |
<objectName/> |
| 125 |
<x>10</x> |
| 126 |
<y>190</y> |
| 127 |
<width>465</width> |
| 128 |
<height>95</height> |
| 129 |
<uuid>{09dd2a94-dcc8-49cc-b819-890da8bd1506}</uuid> |
| 130 |
<visible>true</visible> |
| 131 |
<midichan>0</midichan> |
| 132 |
<midicc>-3</midicc> |
| 133 |
<description/> |
| 134 |
<value>2.00000000</value> |
| 135 |
<type>scope</type> |
| 136 |
<zoomx>2.00000000</zoomx> |
| 137 |
<zoomy>1.00000000</zoomy> |
| 138 |
<dispx>1.00000000</dispx> |
| 139 |
<dispy>1.00000000</dispy> |
| 140 |
<mode>0.00000000</mode> |
| 141 |
<triggermode>NoTrigger</triggermode> |
| 142 |
</bsbObject> |
| 143 |
<bsbObject type="BSBScope" version="2"> |
| 144 |
<objectName/> |
| 145 |
<x>10</x> |
| 146 |
<y>290</y> |
| 147 |
<width>465</width> |
| 148 |
<height>95</height> |
| 149 |
<uuid>{41f59e5e-61e3-445d-833a-7b9624803ad9}</uuid> |
| 150 |
<visible>true</visible> |
| 151 |
<midichan>0</midichan> |
| 152 |
<midicc>-3</midicc> |
| 153 |
<description>With trigger</description> |
| 154 |
<value>-255.00000000</value> |
| 155 |
<type>scope</type> |
| 156 |
<zoomx>2.00000000</zoomx> |
| 157 |
<zoomy>1.00000000</zoomy> |
| 158 |
<dispx>1.00000000</dispx> |
| 159 |
<dispy>1.00000000</dispy> |
| 160 |
<mode>0.00000000</mode> |
| 161 |
<triggermode>TriggerUp</triggermode> |
| 162 |
</bsbObject> |
| 163 |
<bsbObject type="BSBScope" version="2"> |
| 164 |
<objectName/> |
| 165 |
<x>10</x> |
| 166 |
<y>435</y> |
| 167 |
<width>231</width> |
| 168 |
<height>90</height> |
| 169 |
<uuid>{b65d33f6-9d4a-4330-acdb-a097f4ca52b2}</uuid> |
| 170 |
<visible>true</visible> |
| 171 |
<midichan>0</midichan> |
| 172 |
<midicc>-3</midicc> |
| 173 |
<description/> |
| 174 |
<value>-255.00000000</value> |
| 175 |
<type>scope</type> |
| 176 |
<zoomx>8.00000000</zoomx> |
| 177 |
<zoomy>1.00000000</zoomy> |
| 178 |
<dispx>1.00000000</dispx> |
| 179 |
<dispy>1.00000000</dispy> |
| 180 |
<mode>0.00000000</mode> |
| 181 |
<triggermode>NoTrigger</triggermode> |
| 182 |
</bsbObject> |
| 183 |
<bsbObject type="BSBLabel" version="2"> |
| 184 |
<objectName/> |
| 185 |
<x>10</x> |
| 186 |
<y>390</y> |
| 187 |
<width>465</width> |
| 188 |
<height>40</height> |
| 189 |
<uuid>{7c7b875f-7bff-4359-9a43-ebc3ca6b92ac}</uuid> |
| 190 |
<visible>true</visible> |
| 191 |
<midichan>0</midichan> |
| 192 |
<midicc>-3</midicc> |
| 193 |
<description/> |
| 194 |
<label>The decimation property averages sample, allowing a larger time frame to be displayed. The default without decimation is one audio sample per screen pixel.</label> |
| 195 |
<alignment>left</alignment> |
| 196 |
<valignment>top</valignment> |
| 197 |
<font>Liberation Sans</font> |
| 198 |
<fontsize>10</fontsize> |
| 199 |
<precision>3</precision> |
| 200 |
<color> |
| 201 |
<r>0</r> |
| 202 |
<g>0</g> |
| 203 |
<b>0</b> |
| 204 |
</color> |
| 205 |
<bgcolor mode="background"> |
| 206 |
<r>191</r> |
| 207 |
<g>204</g> |
| 208 |
<b>234</b> |
| 209 |
</bgcolor> |
| 210 |
<bordermode>false</bordermode> |
| 211 |
<borderradius>5</borderradius> |
| 212 |
<borderwidth>0</borderwidth> |
| 213 |
</bsbObject> |
| 214 |
<bsbObject type="BSBScope" version="2"> |
| 215 |
<objectName/> |
| 216 |
<x>250</x> |
| 217 |
<y>435</y> |
| 218 |
<width>226</width> |
| 219 |
<height>90</height> |
| 220 |
<uuid>{edce6d38-8f7b-435e-8ced-a81d92e1af20}</uuid> |
| 221 |
<visible>true</visible> |
| 222 |
<midichan>0</midichan> |
| 223 |
<midicc>-3</midicc> |
| 224 |
<description>With trigger up</description> |
| 225 |
<value>-255.00000000</value> |
| 226 |
<type>scope</type> |
| 227 |
<zoomx>1.00000000</zoomx> |
| 228 |
<zoomy>1.00000000</zoomy> |
| 229 |
<dispx>1.00000000</dispx> |
| 230 |
<dispy>1.00000000</dispy> |
| 231 |
<mode>0.00000000</mode> |
| 232 |
<triggermode>TriggerUp</triggermode> |
| 233 |
</bsbObject> |
| 234 |
<bsbObject type="BSBScope" version="2"> |
| 235 |
<objectName/> |
| 236 |
<x>10</x> |
| 237 |
<y>535</y> |
| 238 |
<width>84</width> |
| 239 |
<height>84</height> |
| 240 |
<uuid>{cf5bf13a-2037-4bbc-a089-279ff65e160d}</uuid> |
| 241 |
<visible>true</visible> |
| 242 |
<midichan>0</midichan> |
| 243 |
<midicc>-3</midicc> |
| 244 |
<description/> |
| 245 |
<value>-1.00000000</value> |
| 246 |
<type>lissajou</type> |
| 247 |
<zoomx>2.00000000</zoomx> |
| 248 |
<zoomy>1.00000000</zoomy> |
| 249 |
<dispx>1.00000000</dispx> |
| 250 |
<dispy>1.00000000</dispy> |
| 251 |
<mode>0.00000000</mode> |
| 252 |
<triggermode>NoTrigger</triggermode> |
| 253 |
</bsbObject> |
| 254 |
<bsbObject type="BSBScope" version="2"> |
| 255 |
<objectName/> |
| 256 |
<x>100</x> |
| 257 |
<y>535</y> |
| 258 |
<width>84</width> |
| 259 |
<height>84</height> |
| 260 |
<uuid>{fa0440bd-3026-4686-8df8-6562dcbc37fe}</uuid> |
| 261 |
<visible>true</visible> |
| 262 |
<midichan>0</midichan> |
| 263 |
<midicc>-3</midicc> |
| 264 |
<description/> |
| 265 |
<value>-1.00000000</value> |
| 266 |
<type>poincare</type> |
| 267 |
<zoomx>2.00000000</zoomx> |
| 268 |
<zoomy>1.00000000</zoomy> |
| 269 |
<dispx>1.00000000</dispx> |
| 270 |
<dispy>1.00000000</dispy> |
| 271 |
<mode>0.00000000</mode> |
| 272 |
<triggermode>NoTrigger</triggermode> |
| 273 |
</bsbObject> |
| 274 |
<bsbObject type="BSBLabel" version="2"> |
| 275 |
<objectName/> |
| 276 |
<x>195</x> |
| 277 |
<y>535</y> |
| 278 |
<width>281</width> |
| 279 |
<height>82</height> |
| 280 |
<uuid>{8263c934-5d38-47ba-a842-06c9e6981ef6}</uuid> |
| 281 |
<visible>true</visible> |
| 282 |
<midichan>0</midichan> |
| 283 |
<midicc>-3</midicc> |
| 284 |
<description/> |
| 285 |
<label>The Scope widget can also show Lissajou and Poincare graphs. The decimation parameter in these cases determines the "zoom".</label> |
| 286 |
<alignment>left</alignment> |
| 287 |
<valignment>top</valignment> |
| 288 |
<font>Arial</font> |
| 289 |
<fontsize>10</fontsize> |
| 290 |
<precision>3</precision> |
| 291 |
<color> |
| 292 |
<r>0</r> |
| 293 |
<g>0</g> |
| 294 |
<b>0</b> |
| 295 |
</color> |
| 296 |
<bgcolor mode="background"> |
| 297 |
<r>191</r> |
| 298 |
<g>204</g> |
| 299 |
<b>234</b> |
| 300 |
</bgcolor> |
| 301 |
<bordermode>noborder</bordermode> |
| 302 |
<borderradius>5</borderradius> |
| 303 |
<borderwidth>0</borderwidth> |
| 304 |
</bsbObject> |
| 305 |
<bsbObject type="BSBKnob" version="2"> |
| 306 |
<objectName>freq</objectName> |
| 307 |
<x>500</x> |
| 308 |
<y>155</y> |
| 309 |
<width>80</width> |
| 310 |
<height>80</height> |
| 311 |
<uuid>{a8e7f48f-cdfd-4b90-8620-34b479088dc6}</uuid> |
| 312 |
<visible>true</visible> |
| 313 |
<midichan>0</midichan> |
| 314 |
<midicc>0</midicc> |
| 315 |
<description/> |
| 316 |
<minimum>100.00000000</minimum> |
| 317 |
<maximum>2000.00000000</maximum> |
| 318 |
<value>717.50000000</value> |
| 319 |
<mode>lin</mode> |
| 320 |
<mouseControl act="">continuous</mouseControl> |
| 321 |
<resolution>0.01000000</resolution> |
| 322 |
<randomizable group="0">false</randomizable> |
| 323 |
<color> |
| 324 |
<r>255</r> |
| 325 |
<g>170</g> |
| 326 |
<b>0</b> |
| 327 |
</color> |
| 328 |
<textcolor>#ffaa00</textcolor> |
| 329 |
<border>0</border> |
| 330 |
<borderColor>#512900</borderColor> |
| 331 |
<showvalue>true</showvalue> |
| 332 |
<flatstyle>true</flatstyle> |
| 333 |
<integerMode>true</integerMode> |
| 334 |
</bsbObject> |
| 335 |
<bsbObject type="BSBLabel" version="2"> |
| 336 |
<objectName/> |
| 337 |
<x>500</x> |
| 338 |
<y>240</y> |
| 339 |
<width>83</width> |
| 340 |
<height>38</height> |
| 341 |
<uuid>{f7bc5048-75ac-4422-9b37-e03695421ebd}</uuid> |
| 342 |
<visible>true</visible> |
| 343 |
<midichan>0</midichan> |
| 344 |
<midicc>-3</midicc> |
| 345 |
<description/> |
| 346 |
<label>Signal Frequency</label> |
| 347 |
<alignment>center</alignment> |
| 348 |
<valignment>center</valignment> |
| 349 |
<font>Liberation Sans</font> |
| 350 |
<fontsize>12</fontsize> |
| 351 |
<precision>3</precision> |
| 352 |
<color> |
| 353 |
<r>255</r> |
| 354 |
<g>170</g> |
| 355 |
<b>0</b> |
| 356 |
</color> |
| 357 |
<bgcolor mode="nobackground"> |
| 358 |
<r>255</r> |
| 359 |
<g>255</g> |
| 360 |
<b>255</b> |
| 361 |
</bgcolor> |
| 362 |
<bordermode>false</bordermode> |
| 363 |
<borderradius>1</borderradius> |
| 364 |
<borderwidth>0</borderwidth> |
| 365 |
</bsbObject> |
| 366 |
<bsbObject type="BSBLabel" version="2"> |
| 367 |
<objectName/> |
| 368 |
<x>396</x> |
| 369 |
<y>88</y> |
| 370 |
<width>80</width> |
| 371 |
<height>25</height> |
| 372 |
<uuid>{ff10449d-c7e7-44fe-ab19-7a9ea63b7d45}</uuid> |
| 373 |
<visible>true</visible> |
| 374 |
<midichan>0</midichan> |
| 375 |
<midicc>-3</midicc> |
| 376 |
<description/> |
| 377 |
<label>No trigger</label> |
| 378 |
<alignment>right</alignment> |
| 379 |
<valignment>center</valignment> |
| 380 |
<font>Liberation Sans</font> |
| 381 |
<fontsize>12</fontsize> |
| 382 |
<precision>3</precision> |
| 383 |
<color> |
| 384 |
<r>255</r> |
| 385 |
<g>170</g> |
| 386 |
<b>0</b> |
| 387 |
</color> |
| 388 |
<bgcolor mode="nobackground"> |
| 389 |
<r>255</r> |
| 390 |
<g>255</g> |
| 391 |
<b>255</b> |
| 392 |
</bgcolor> |
| 393 |
<bordermode>false</bordermode> |
| 394 |
<borderradius>1</borderradius> |
| 395 |
<borderwidth>0</borderwidth> |
| 396 |
</bsbObject> |
| 397 |
<bsbObject type="BSBLabel" version="2"> |
| 398 |
<objectName/> |
| 399 |
<x>394</x> |
| 400 |
<y>188</y> |
| 401 |
<width>80</width> |
| 402 |
<height>25</height> |
| 403 |
<uuid>{9bb7b498-b8b1-46e5-ac6c-119ca88cef38}</uuid> |
| 404 |
<visible>true</visible> |
| 405 |
<midichan>0</midichan> |
| 406 |
<midicc>-3</midicc> |
| 407 |
<description/> |
| 408 |
<label>No trigger</label> |
| 409 |
<alignment>right</alignment> |
| 410 |
<valignment>center</valignment> |
| 411 |
<font>Liberation Sans</font> |
| 412 |
<fontsize>12</fontsize> |
| 413 |
<precision>3</precision> |
| 414 |
<color> |
| 415 |
<r>255</r> |
| 416 |
<g>170</g> |
| 417 |
<b>0</b> |
| 418 |
</color> |
| 419 |
<bgcolor mode="nobackground"> |
| 420 |
<r>255</r> |
| 421 |
<g>255</g> |
| 422 |
<b>255</b> |
| 423 |
</bgcolor> |
| 424 |
<bordermode>false</bordermode> |
| 425 |
<borderradius>1</borderradius> |
| 426 |
<borderwidth>0</borderwidth> |
| 427 |
</bsbObject> |
| 428 |
<bsbObject type="BSBLabel" version="2"> |
| 429 |
<objectName/> |
| 430 |
<x>396</x> |
| 431 |
<y>291</y> |
| 432 |
<width>80</width> |
| 433 |
<height>25</height> |
| 434 |
<uuid>{4ea1f73b-b11b-436a-97bb-8b1d0e618499}</uuid> |
| 435 |
<visible>true</visible> |
| 436 |
<midichan>0</midichan> |
| 437 |
<midicc>-3</midicc> |
| 438 |
<description/> |
| 439 |
<label>With trigger |
| 440 |
</label> |
| 441 |
<alignment>right</alignment> |
| 442 |
<valignment>center</valignment> |
| 443 |
<font>Liberation Sans</font> |
| 444 |
<fontsize>12</fontsize> |
| 445 |
<precision>3</precision> |
| 446 |
<color> |
| 447 |
<r>255</r> |
| 448 |
<g>170</g> |
| 449 |
<b>0</b> |
| 450 |
</color> |
| 451 |
<bgcolor mode="nobackground"> |
| 452 |
<r>255</r> |
| 453 |
<g>255</g> |
| 454 |
<b>255</b> |
| 455 |
</bgcolor> |
| 456 |
<bordermode>false</bordermode> |
| 457 |
<borderradius>1</borderradius> |
| 458 |
<borderwidth>0</borderwidth> |
| 459 |
</bsbObject> |
| 460 |
<bsbObject type="BSBLabel" version="2"> |
| 461 |
<objectName/> |
| 462 |
<x>397</x> |
| 463 |
<y>434</y> |
| 464 |
<width>80</width> |
| 465 |
<height>25</height> |
| 466 |
<uuid>{a5f816e1-bf92-4c2d-b56e-c86e35431271}</uuid> |
| 467 |
<visible>true</visible> |
| 468 |
<midichan>0</midichan> |
| 469 |
<midicc>-3</midicc> |
| 470 |
<description/> |
| 471 |
<label>With trigger |
| 472 |
</label> |
| 473 |
<alignment>right</alignment> |
| 474 |
<valignment>center</valignment> |
| 475 |
<font>Liberation Sans</font> |
| 476 |
<fontsize>12</fontsize> |
| 477 |
<precision>3</precision> |
| 478 |
<color> |
| 479 |
<r>255</r> |
| 480 |
<g>170</g> |
| 481 |
<b>0</b> |
| 482 |
</color> |
| 483 |
<bgcolor mode="nobackground"> |
| 484 |
<r>255</r> |
| 485 |
<g>255</g> |
| 486 |
<b>255</b> |
| 487 |
</bgcolor> |
| 488 |
<bordermode>false</bordermode> |
| 489 |
<borderradius>1</borderradius> |
| 490 |
<borderwidth>0</borderwidth> |
| 491 |
</bsbObject> |
| 492 |
</bsbPanel> |
| 493 |
<bsbPresets> |
| 494 |
</bsbPresets> |