Debian Codegraph @

examples/in.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac -iadc ;;;realtime audio I/O
5 ; For Non-realtime ouput leave only the line below:
6 ; in.wav -W ;;; for file output any platform
7 </CsOptions>
8 <CsInstruments>
9
10 sr = 44100
11 ksmps = 32
12 nchnls = 2
13 0dbfs = 1
14
15 instr 1 ;1 channel in, two channels out
16
17 ain1 in ;grab your mic and sing
18 adel linseg 0, p3*.5, 0.02, p3*.5, 0 ;max delay time = 20ms
19 aout flanger ain1, adel, .7
20 fout "in_1.wav", 14, aout, aout ;write to stereo file,
21 outs aout, aout ;16 bits with header
22
23 endin
24 </CsInstruments>
25 <CsScore>
26
27 i 1 0 10
28 e
29 </CsScore>
30 </CsoundSynthesizer>