| 1 |
|
| 2 |
<CsoundSynthesizer> |
| 3 |
<CsOptions> |
| 4 |
-m0 -odac --omacro:PAT=(kt*(kt>>5|kt>>8))>>(kt>>16) |
| 5 |
</CsOptions> |
| 6 |
<CsInstruments> |
| 7 |
|
| 8 |
sr = 48000 |
| 9 |
ksmps = 6 ; kr = 8kHz |
| 10 |
nchnls = 2 |
| 11 |
|
| 12 |
;; bytesong.csd by Tito Latini |
| 13 |
|
| 14 |
#define T #0# |
| 15 |
#define V #0# |
| 16 |
|
| 17 |
instr 1 |
| 18 |
kt init $T |
| 19 |
av init $V |
| 20 |
av = ($PAT) & 255 |
| 21 |
asrc = av << 7 |
| 22 |
aflt butlp asrc, 3500 |
| 23 |
aout dcblock aflt |
| 24 |
kt = kt+1 |
| 25 |
outs aout*0.7, aout*0.7 |
| 26 |
dispfft aout, 0.05, 2048 |
| 27 |
endin |
| 28 |
|
| 29 |
</CsInstruments> |
| 30 |
<CsScore> |
| 31 |
i 1 0 3600 |
| 32 |
</CsScore> |
| 33 |
</CsoundSynthesizer> |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
<bsbPanel> |
| 47 |
<label>Widgets</label> |
| 48 |
<objectName/> |
| 49 |
<x>72</x> |
| 50 |
<y>179</y> |
| 51 |
<width>400</width> |
| 52 |
<height>200</height> |
| 53 |
<visible>true</visible> |
| 54 |
<uuid/> |
| 55 |
<bgcolor mode="nobackground"> |
| 56 |
<r>231</r> |
| 57 |
<g>46</g> |
| 58 |
<b>255</b> |
| 59 |
</bgcolor> |
| 60 |
<bsbObject version="2" type="BSBScope"> |
| 61 |
<objectName/> |
| 62 |
<x>21</x> |
| 63 |
<y>16</y> |
| 64 |
<width>528</width> |
| 65 |
<height>220</height> |
| 66 |
<uuid>{e048b15c-0b74-442f-88ee-6406e94c82a0}</uuid> |
| 67 |
<visible>true</visible> |
| 68 |
<midichan>0</midichan> |
| 69 |
<midicc>0</midicc> |
| 70 |
<value>-255.00000000</value> |
| 71 |
<type>scope</type> |
| 72 |
<zoomx>8.00000000</zoomx> |
| 73 |
<zoomy>1.00000000</zoomy> |
| 74 |
<dispx>1.00000000</dispx> |
| 75 |
<dispy>1.00000000</dispy> |
| 76 |
<mode>0.00000000</mode> |
| 77 |
</bsbObject> |
| 78 |
<bsbObject version="2" type="BSBGraph"> |
| 79 |
<objectName/> |
| 80 |
<x>25</x> |
| 81 |
<y>248</y> |
| 82 |
<width>523</width> |
| 83 |
<height>227</height> |
| 84 |
<uuid>{14a02a2d-89a0-44ec-943b-fe02308ab41f}</uuid> |
| 85 |
<visible>true</visible> |
| 86 |
<midichan>0</midichan> |
| 87 |
<midicc>0</midicc> |
| 88 |
<value>0</value> |
| 89 |
<objectName2/> |
| 90 |
<zoomx>1.00000000</zoomx> |
| 91 |
<zoomy>1.00000000</zoomy> |
| 92 |
<dispx>1.00000000</dispx> |
| 93 |
<dispy>1.00000000</dispy> |
| 94 |
<modex>lin</modex> |
| 95 |
<modey>lin</modey> |
| 96 |
<all>true</all> |
| 97 |
</bsbObject> |
| 98 |
</bsbPanel> |
| 99 |
<bsbPresets> |
| 100 |
</bsbPresets> |