Debian Codegraph @

examples/rnd31_time.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_time.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
17 instr 1
18
19 i1 rnd31 1, 0.5, 0 ; i-rate random numbers with linear distribution,
20 i2 rnd31 1, 0.5 ; seeding from the current time. (Note that the seed
21 i3 rnd31 1, 0.5 ; was used only in the first call.)
22
23 print i1
24 print i2
25 print i3
26
27 endin
28
29 </CsInstruments>
30 <CsScore>
31
32 i 1 0 0
33 e
34 </CsScore>
35 </CsoundSynthesizer>