Debian Codegraph @

examples/gogobel.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 gogobel.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 kfreq = 200
19 ihrd = 0.5
20 ipos = p4
21 kvibf = 6.0
22 kvamp = 0.3
23
24 asig gogobel .9, kfreq, ihrd, ipos, 1, 6.0, 0.3, 2
25 outs asig, asig
26 endin
27 </CsInstruments>
28 <CsScore>
29 ;audio file
30 f 1 0 256 1 "marmstk1.wav" 0 0 0
31 ;sine wave for the vibrato
32 f 2 0 128 10 1
33
34 i 1 0.5 0.5 0.01
35 i 1 + 0.5 0.561
36 i 1 + 0.5 0.9
37 e
38 </CsScore>
39 </CsoundSynthesizer>