1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
<CsoundSynthesizer>
<CsOptions>
; Select audio/midi flags here according to platform
; Audio out Audio in No messages
-odac -iadc -d ;;;RT audio I/O
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 1
nchnls = 1
;Example by Andres Cabrera 2008
; \\n is used to denote "new line"
strset 1, "String 1\\n"
strset 2, "String 2\\n"
instr 1
Str strget p4
prints Str
endin
</CsInstruments>
<CsScore>
; p4 is used to select string
i 1 0 1 1
i 1 3 1 2
</CsScore>
</CsoundSynthesizer>
|