Debian Codegraph @

examples/equal.csd

raw
1 <CsoundSynthesizer>
2
3 <CsOptions>
4 ; Select audio/midi flags here according to platform
5 ; Audio out Audio in No messages
6 -odac -iadc -d ;;;RT audio I/O
7 ; For Non-realtime ouput leave only the line below:
8 ; -o equal.wav -W ;;; for file output any platform
9 </CsOptions>
10
11 <CsInstruments>
12
13 ; Initialize the global variables.
14 sr = 44100
15 kr = 44100
16 ksmps = 1
17 nchnls = 1
18
19
20 instr 1
21 ; Assign a value to the variable i1.
22 i1 = 1234
23
24 ; Print the value of the i1 variable.
25 print i1
26
27 endin
28
29 </CsInstruments>
30
31 <CsScore>
32
33 ; Play Instrument #1 for one second.
34 i 1 0 1
35 e
36
37 </CsScore>
38
39 </CsoundSynthesizer>
40