Debian Codegraph @

examples/plltrack.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 plltrack.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 kd = p4
19 a1 diskin2 "fox.wav", 1,0,1
20 apitch, aloc plltrack a1, kd
21 krms rms a1
22 krms port krms, 0.01
23 asig buzz krms, apitch, 10, 1
24 outs asig, asig ;mix in some dry signal as well
25
26 endin
27 </CsInstruments>
28 <CsScore>
29 f1 0 65536 10 1 ;sine wave
30
31 i 1 0 6 0.1
32 i 1 7 6 0.3 ;more feedback
33
34 e
35 </CsScore>
36 </CsoundSynthesizer>