Debian Codegraph @

examples/expsega.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in No messages
5 -odac ;;;RT audio out
6 ; For Non-realtime ouput leave only the line below:
7 ; -o expsega.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 ; by Kevin Conder, Menno Knevel 2021
12
13 sr = 44100
14 ksmps = 32
15 nchnls = 2
16 0dbfs = 1
17
18 instr 1
19
20 aenv expsega 0.01, 0.1, 1, 0.1, 0.01 ; Define a short percussive amplitude envelope
21 a1 oscili aenv, 440
22 outs a1, a1
23
24 endin
25
26 </CsInstruments>
27 <CsScore>
28 i 1 0 1
29 i 1 1 1
30 i 1 2 1
31 i 1 3 3
32 e
33 </CsScore>
34 </CsoundSynthesizer>