Debian Codegraph @

examples/weibull.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 weibull.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 ; every run time same values
17
18 ktri weibull 100, 1
19 printk .2, ktri ; look
20 aout oscili 0.8, 440+ktri, 1 ; & listen
21 outs aout, aout
22 endin
23
24 instr 2 ; every run time different values
25
26 seed 0
27 ktri weibull 100, 1
28 printk .2, ktri ; look
29 aout oscili 0.8, 440+ktri, 1 ; & listen
30 outs aout, aout
31 endin
32
33 instr 3 ; every run time different values
34
35 seed 0
36 ktri weibull 100, 10 ; closer to ksigma..
37 printk .2, ktri ; look
38 aout oscili 0.8, 440+ktri, 1 ; & listen
39 outs aout, aout
40 endin
41 </CsInstruments>
42 <CsScore>
43 ; sine wave
44 f 1 0 16384 10 1
45
46 i 1 0 2
47 i 2 3 2
48 i 3 6 2
49 e
50 </CsScore>
51 </CsoundSynthesizer>
52