Debian Codegraph @

examples/barmodel.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 ; Audio out Audio in No messages
5 -odac -iadc -d ;;;RT audio I/O
6 ; For Non-realtime ouput leave only the line below:
7 ; -o barmodel.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 ; Initialize the global variables.
12 sr = 44100
13 kr = 4410
14 ksmps = 10
15 nchnls = 1
16
17 ; Instrument #1.
18 instr 1
19 aq barmodel 1, 1, p4, 0.001, 0.23, 5, p5, p6, p7
20 out aq
21 endin
22
23
24 </CsInstruments>
25 <CsScore>
26
27
28 i1 0.0 0.5 3 0.2 500 0.05
29 i1 0.5 0.5 -3 0.3 1000 0.05
30 i1 1.0 0.5 -3 0.4 1000 0.1
31 i1 1.5 4.0 -3 0.5 800 0.05
32 e
33 /* barmodel */
34
35 </CsScore>
36 </CsoundSynthesizer>