Debian Codegraph @

examples/moog.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 moog.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 kfreq = cpspch(p4)
19 kfiltq = p5
20 kfiltrate = 0.0002
21 kvibf = 5
22 kvamp = .01
23 ;low volume is needed
24 asig moog .15, kfreq, kfiltq, kfiltrate, kvibf, kvamp, 1, 2, 3
25 outs asig, asig
26
27 endin
28 </CsInstruments>
29 <CsScore>
30
31 f 1 0 8192 1 "mandpluk.aiff" 0 0 0
32 f 2 0 256 1 "impuls20.aiff" 0 0 0
33 f 3 0 256 10 1 ; sine
34
35 i 1 0 3 6.00 .1
36 i 1 + 3 6.05 .89
37 i 1 + 3 6.09 .50
38 e
39 </CsScore>
40 </CsoundSynthesizer>