Debian Codegraph @

examples/moogvcf.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 moogvcf.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 ; iscale does not need to be set here because already 0dbfs = 1
18 aout vco .3, 220, 1 ; Use a nice sawtooth waveform.
19 kfco line 200, p3, 2000 ; filter-cutoff frequency from .2 to 2 KHz
20 krez init p4
21 asig moogvcf aout, kfco, krez
22 outs asig, asig
23
24 endin
25 </CsInstruments>
26 <CsScore>
27 ;a sine wave
28 f 1 0 16384 10 1
29
30 i 1 0 3 .1
31 i 1 + 3 .7
32 i 1 + 3 .95
33 e
34 </CsScore>
35 </CsoundSynthesizer>