Debian Codegraph @

examples/poisson2.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 RT audio input is needed too
6 ; For Non-realtime ouput leave only the line below:
7 ; -o poisson2.wav -W ;;; for file output any platform
8
9 ; By Stefano Cucchi - 2024
10 </CsOptions>
11 <CsInstruments>
12
13 sr = 44100
14 ksmps = 1024
15 nchnls = 2
16 0dbfs = 1
17
18 instr 1
19
20 kpitch poisson p4
21 printk (ksmps/sr),kpitch ;prints every k-period
22
23 a1 oscili 0.3, kpitch, 1
24 outs a1, a1
25
26 endin
27
28 </CsInstruments>
29 <CsScore>
30
31 f1 0 4096 10 1 0.1 0 0.2 0 0.3 0 0.1
32
33 i 1 0 5 100
34 i 1 + 5 200
35 e
36 </CsScore>
37 </CsoundSynthesizer>