Debian Codegraph @

examples/logcurve.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in Silent
5 -odac -iadc -d ;;;realtime output
6 </CsOptions>
7 <CsInstruments>
8
9 sr = 48000
10 ksmps = 100
11 nchnls = 2
12
13 instr 1 ; logcurve test
14
15 kmod phasor 1/p3
16
17 kout logcurve kmod, p4
18
19 printks "kmod = %f kout = %f\\n", 0.1, kmod, kout
20
21 endin
22
23 </CsInstruments>
24 <CsScore>
25
26 i1 0 10 2
27 i1 10 10 30
28 i1 20 10 0.5
29
30 e
31 </CsScore>
32 </CsoundSynthesizer>