Debian Codegraph @

examples/STKBlowBotl.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 RT audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o STKBlowBotl.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 ipch = p4
19 kv1 line p5, p3, p6 ;gain of noise
20 kv4 line 100, p3, 70 ;volume
21
22 asig STKBlowBotl cpspch(ipch), 1, 4, kv1, 11, 10, 1, 50, 128, kv4
23 asig = asig * .5 ;too loud
24 outs asig, asig
25 endin
26
27 </CsInstruments>
28 <CsScore>
29
30 i 1 0 2 9.00 20 100
31 i 1 + 5 8.03 120 0
32 e
33 </CsScore>
34 </CsoundSynthesizer>