Debian Codegraph @

examples/expcurve.csd

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