Debian Codegraph @

examples/pan2.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 pan2.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 kline line 0, p3, 1 ; straight line
21 ain oscili .6, 440, giSine ; audio signal..
22 aL,aR pan2 ain, kline ; sent across image
23 outs aL, aR
24
25 endin
26 </CsInstruments>
27 <CsScore>
28 i1 0 5
29 e
30 </CsScore>
31 </CsoundSynthesizer>