Debian Codegraph @

examples/exp.csd

raw
1 <CsoundSynthesizer>
2
3 <CsOptions>
4
5 ; Select audio/midi flags here according to platform
6 -odac ;;;realtime audio out
7 ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
8 ; For Non-realtime ouput leave only the line below:
9
10 </CsOptions>
11 <CsInstruments>
12
13 ; By Stefano Cucchi 2020
14
15 sr = 44100
16 ksmps = 32
17 nchnls = 2
18 0dbfs =1
19
20
21 instr 1
22 i1 = exp(2)
23 ; BASE = e (2,71828 18284 59045 23536...)
24 ; EXPONENT = 2
25 print i1
26 endin
27
28
29
30 </CsInstruments>
31 <CsScore>
32 i 1 0 1
33 e
34 </CsScore>
35 </CsoundSynthesizer>