Debian Codegraph @

examples/wgpluck2.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in
5 -odac ;;;RT audio out
6 ; For Non-realtime ouput leave only the line below:
7 ; -o wgpluck2.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 ; by Menno Knevel 2021
12
13 sr = 44100
14 ksmps = 32
15 nchnls = 2
16 0dbfs = 1
17
18 instr 1
19
20 iplk = p4
21 kamp = .7
22 icps = 220
23 kpick = 0.75
24 krefl = p5
25
26 apluck wgpluck2 iplk, kamp, icps, kpick, krefl
27 apluck dcblock2 apluck
28 outs apluck, apluck
29
30 endin
31
32 </CsInstruments>
33 <CsScore>
34 ; pluck reflection
35 i 1 0 1 0 0.9
36 i 1 + 1 < .
37 i 1 + 1 < .
38 i 1 + 1 1 .
39
40 i 1 5 5 .75 0.7
41 i 1 + 5 .05 0.7
42 e
43 </CsScore>
44 </CsoundSynthesizer>