Debian Codegraph @

examples/outall.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;realtime audio out
5 ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o oscil3.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 nchnls = 2
14 0dbfs = 1
15
16 instr 1
17
18 kamp = .6
19 kcps = 440
20 ifn = p4
21
22 asig oscil3 kamp, kcps, ifn
23 outall asig
24
25 endin
26 </CsInstruments>
27 <CsScore>
28 f1 0 128 10 1 ; Sine with a small amount of data
29 f2 0 128 10 1 0.5 0.3 0.25 0.2 0.167 0.14 0.125 .111 ; Sawtooth with a small amount of data
30 f3 0 128 10 1 0 0.3 0 0.2 0 0.14 0 .111 ; Square with a small amount of data
31 f4 0 128 10 1 1 1 1 0.7 0.5 0.3 0.1 ; Pulse with a small amount of data
32
33 i 1 0 2 1
34 i 2 3 2 1
35 i 1 6 2 2
36 i 2 9 2 2
37 i 1 12 2 3
38 i 2 15 2 3
39 i 1 18 2 4
40 i 2 21 2 4
41
42 e
43 </CsScore>
44 </CsoundSynthesizer>