Debian Codegraph @

examples/include.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in
5 -odac -iadc ;;;RT audio I/O
6 ; For Non-realtime ouput leave only the line below:
7 ; -o include.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 kr = 4410
13 ksmps = 10
14 nchnls = 1
15
16 ; Instrument #1 - a basic oscillator.
17 instr 1
18 kamp = 10000
19 kcps = 440
20 ifn = 1
21
22 a1 oscil kamp, kcps, ifn
23 out a1
24 endin
25
26
27 </CsInstruments>
28 <CsScore>
29
30 ; Include the file for Table #1.
31 #include "table1.inc"
32
33 ; Play Instrument #1 for 2 seconds.
34 i 1 0 2
35 e
36
37
38 </CsScore>
39 </CsoundSynthesizer>