Debian Codegraph @

examples/ceil-2.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 ceil-2.wav -W ;;; for file output any platform
8
9 ; By Stefano Cucchi - 2020
10
11 </CsOptions>
12 <CsInstruments>
13
14 sr = 44100
15 ksmps = 32
16 nchnls = 2
17 0dbfs = 1
18
19 instr 1
20
21 kcps = 100
22 kcar = 1
23 kmod = p4
24
25 kndx oscil 30, .25/p3, 1
26 kndx ceil kndx
27
28 asig foscili .5, kcps, kcar, kmod, kndx, 1
29 outs asig, asig
30
31 endin
32 </CsInstruments>
33 <CsScore>
34
35 f 1 0 16384 10 1
36
37 i 1 0 10 1.5
38 e
39 </CsScore>
40 </CsoundSynthesizer>