Debian Codegraph @

examples/strset.csd

raw
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 = 1
11 nchnls = 1
12
13 ;Example by Andres Cabrera 2008
14
15 ; \\n is used to denote "new line"
16 strset 1, "String 1\\n"
17 strset 2, "String 2\\n"
18
19 instr 1
20 Str strget p4
21 prints Str
22 endin
23
24
25 </CsInstruments>
26 <CsScore>
27 ; p4 is used to select string
28 i 1 0 1 1
29 i 1 3 1 2
30 </CsScore>
31 </CsoundSynthesizer>