Debian Codegraph @

examples/rezzy.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 rezzy.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 0dbfs = 1
14 nchnls = 2
15
16 instr 1
17
18 asaw vco2 .3, 110 ;sawtooth
19 kcf line 1760, p3, 220 ;vary cut-off frequency from 220 to 1280 Hz
20 kres = p4 ;vary resonance too
21 ares rezzy asaw, kcf, kres
22 asig balance ares, asaw
23 outs asig, asig
24
25 endin
26 </CsInstruments>
27 <CsScore>
28
29 i 1 0 4 10
30 i 1 + 4 30
31 i 1 + 4 120 ;lots of resonance
32 e
33 </CsScore>
34 </CsoundSynthesizer>