Debian Codegraph @

examples/outc.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 outc.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 nchnls = 5
14 0dbfs = 1
15
16 instr 1
17
18 asig vco2 .05, 30 ; sawtooth waveform at low volume
19
20 kcut line 100, p3, 30 ; Vary cutoff frequency
21 kresonance = 7
22 inumlayer = 2
23 asig lowresx asig, kcut, kresonance, inumlayer
24 ; output same sound to 5 channels
25 outc asig,asig,asig,asig,asig
26
27 endin
28 </CsInstruments>
29 <CsScore>
30
31 i 1 0 30
32 e
33 </CsScore>
34 </CsoundSynthesizer>