Debian Codegraph @

examples/oscbnk.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in No messages
5 -odac ;; -iadc -d ;;;RT audio I/O
6 ; For Non-realtime ouput leave only the line below:
7 ; -o oscbnk.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 ; By Stefano Cucchi 2020
17
18
19 instr 1
20
21 kcps = 300
22 kamd = 3
23 kfmd = 2
24 kpmd = 2.3
25 iovrlap = p4
26 iseed = 0.2
27 kl1minf = 1.1
28 kl1maxf = 2.3
29 kl2minf = 0.2
30 kl2maxf = 1.5
31 ilfomode = 64 + 16 + 8 + 2 ; LFO1 to amplitude + LFO1 to EQ + LFO2 to frequency + LFO2 to phase
32 keqminf = 20
33 keqmaxf = 12000
34 keqminl = 0.1
35 keqmaxl = 23
36 keqminq = 0.2
37 keqmaxq = 2
38 ieqmode = 1
39 kfn = 1
40
41 a1 oscbnk kcps, kamd, kfmd, kpmd, iovrlap, iseed, kl1minf, kl1maxf, kl2minf, kl2maxf, ilfomode, keqminf, keqmaxf, keqminl, keqmaxl, keqminq, keqmaxq, ieqmode, kfn, 2 ,2 ,2 ,2 ,2
42 kdeclick linseg 0, 0.3, 0.9, p3-0.6, 0.9, 0.3, 0
43 outs a1*0.003*kdeclick, a1*0.003*kdeclick
44 endin
45
46 </CsInstruments>
47 <CsScore>
48 f1 0 4096 10 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
49 f2 0 4096 10 1
50
51 i1 0 4 3
52 i1 5 4 32
53 e
54 </CsScore>
55 </CsoundSynthesizer>