Debian Codegraph @

examples/jitter2.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 jitter2.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 ktotamp init p4
19 kamp1 init .5
20 kcps1 init 10
21 kamp2 init .5
22 kcps2 init 2
23 kamp3 init .5
24 kcps3 init 3
25
26 kj2 jitter2 ktotamp, kamp1, kcps1, kamp2, kcps2, kamp3, kcps3
27 aout pluck 1, 200+kj2, 1000, 0, 1
28 aout dcblock aout
29 outs aout, aout
30
31 endin
32 </CsInstruments>
33 <CsScore>
34
35 i 1 0 15 2 ;a bit jitter
36 i 1 8 15 10 ;some more
37 i 1 16 15 20 ;lots more
38 e
39 </CsScore>
40 </CsoundSynthesizer>