Debian Codegraph @

examples/poscil3.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 real audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o poscil3.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 giSine ftgen 0, 0, 2^10, 10, 1
17
18 instr 1
19
20 krnd randomh 40, 440, 1 ; produce random values
21 ain poscil3 .6, krnd, giSine
22 kline line 1, p3, 0 ; straight line
23 aL,aR pan2 ain, kline ; sent across image
24 outs aL, aR
25
26 endin
27 </CsInstruments>
28 <CsScore>
29 i1 0 10
30 e
31 </CsScore>
32 </CsoundSynthesizer>