Debian Codegraph @

examples/jspline.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 jspline.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 kamp init p4
19 kcpsmin init 2
20 kcpsmax init 20
21
22 ksp jspline kamp, kcpsmin, kcpsmax
23 aout pluck 1, 200+ksp, 1000, 0, 1
24 aout dcblock aout ;remove DC
25 outs aout, aout
26
27 endin
28 </CsInstruments>
29 <CsScore>
30
31 i 1 0 10 2 ;a bit jitter
32 i 1 8 10 10 ;some more
33 i 1 16 10 20 ;lots more
34 e
35 </CsScore>
36 </CsoundSynthesizer>