Debian Codegraph @

examples/dripwater.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 dripwater.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 imaxshake = p4
19 ifreq = p5
20 ifreq1 = p6
21 ifreq2 = p7
22
23 ;low amplitude
24 adrp dripwater .1, 0.09, 10, .9, imaxshake, ifreq, ifreq1, ifreq2
25 asig clip adrp, 2, 0.9 ; avoid drips that drip too loud
26 outs asig, asig
27
28 endin
29 </CsInstruments>
30 <CsScore>
31
32 {100 CNT
33
34 i1 [0.1 * $CNT] 0.5 0.5 430 1000 800
35
36 }
37
38 e
39 </CsScore>
40 </CsoundSynthesizer>