| 1 |
<CsoundSynthesizer> |
| 2 |
<CsOptions> |
| 3 |
; Select audio/midi flags here according to platform |
| 4 |
; Audio out Audio in No messages |
| 5 |
-odac -iadc -d ;;;RT audio I/O |
| 6 |
</CsOptions> |
| 7 |
<CsInstruments> |
| 8 |
|
| 9 |
sr=44100 |
| 10 |
ksmps=128 |
| 11 |
nchnls=2 |
| 12 |
|
| 13 |
;Example by Andres Cabrera 2007 |
| 14 |
|
| 15 |
inumlinesX = 3 |
| 16 |
inumlinesY = 3 |
| 17 |
iwidth = 200 |
| 18 |
iheight = 200 |
| 19 |
ix = 20 |
| 20 |
iy = 20 |
| 21 |
|
| 22 |
FLpanel "FLhvsBox", 400, 240, -1, -1, 5, 1, 1 |
| 23 |
ihandle FLhvsBox inumlinesX, inumlinesY, iwidth, iheight, ix, iy ; [, image] |
| 24 |
FLpanelEnd |
| 25 |
|
| 26 |
FLrun |
| 27 |
|
| 28 |
0dbfs = 1 |
| 29 |
|
| 30 |
instr 1 |
| 31 |
|
| 32 |
endin |
| 33 |
|
| 34 |
</CsInstruments> |
| 35 |
<CsScore> |
| 36 |
i 1 0 120 |
| 37 |
e |
| 38 |
|
| 39 |
</CsScore> |
| 40 |
</CsoundSynthesizer> |