Debian Codegraph @

examples/rnd31_krate.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in
5 -n ; no sound
6 ; For Non-realtime ouput leave only the line below:
7 ; -o rnd31_krate.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 k1 rnd31 1, 0, 10 ; Create random numbers at k-rate in the range -1 to 1
19 printks "k1=%f\\n", 0.1, k1 ; with a uniform distribution, seed=10.
20
21 endin
22
23 </CsInstruments>
24 <CsScore>
25
26 i 1 0 .3
27 e
28 </CsScore>
29 </CsoundSynthesizer>