Debian Codegraph @

examples/mincer.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 mincer.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 sr = 44100
12 ksmps = 32
13 nchnls = 2
14 0dbfs = 1
15
16 instr 1
17
18 idur = p3
19 ilock = p4
20 ipitch = 1
21 itimescale = 0.5
22 iamp = 0.8
23
24 atime line 0,idur,idur*itimescale
25 asig mincer atime, iamp, ipitch, 1, ilock
26 outs asig, asig
27
28 endin
29 </CsInstruments>
30 <CsScore>
31 f 1 0 0 1 "fox.wav" 0 0 0
32
33 i 1 0 5 0 ;not locked
34 i 1 6 5 1 ;locked
35
36 e
37
38 </CsScore>
39 </CsoundSynthesizer>