Debian Codegraph @

examples/fmmetal.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 fmmetal.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 = 440
19 kvdepth = 0
20 kvrate = 0
21 ifn1 = 1
22 ifn2 = 2
23 ifn3 = 2
24 ifn4 = 1
25 ivfn = 1
26 kc2 = p5
27
28 kc1 line p4, p3, 1
29 asig fmmetal .5, kfreq, kc1, kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4, ivfn
30 outs asig, asig
31
32 endin
33 </CsInstruments>
34 <CsScore>
35 ; sine wave.
36 f 1 0 32768 10 1
37 ; the "twopeaks.aiff" audio file.
38 f 2 0 256 1 "twopeaks.aiff" 0 0 0
39
40
41 i 1 0 4 6 5
42 i 1 5 4 .2 10
43 e
44 </CsScore>
45 </CsoundSynthesizer>