Debian Codegraph @

examples/streson.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;realtime audio out
5 ;-iadc ;;;uncomment -iadc if realtime audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o streson.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 0dbfs = 1
14 nchnls = 2
15
16 instr 1
17
18 asig diskin2 "fox.wav", 1, 0, 1
19
20 kfr = p4
21 ifdbgain = 0.90
22
23 astr streson asig, kfr, ifdbgain
24 asig clip astr, 0, 1
25 outs asig, asig
26
27 endin
28 </CsInstruments>
29 <CsScore>
30
31 i 1 0 1 20
32 i 1 + . >
33 i 1 + . >
34 i 1 + . >
35 i 1 + . >
36 i 1 + . >
37 i 1 + . 1000
38 e
39 </CsScore>
40 </CsoundSynthesizer>