Debian Codegraph @

examples/valpass-2.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 valpass-2.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 giSine ftgen 0, 0, 65536, 10, 1 ;sine wave
17
18 instr 1
19
20 asig diskin2 "drumsMlp.wav", 1, 0, 1
21 krvt line 0.01, p3, p3 ;reverb time
22 adepth = p4 ;sine depth
23 krate = 0.3 ;sine rate (speed)
24 adel oscil 0.5, krate, giSine ;delay time oscillator (LFO)
25 adel = ((adel+0.5)*adepth) ;scale and offset LFO
26 aout valpass asig, krvt, adel*0.01, 0.5
27 outs aout, aout
28
29 endin
30 </CsInstruments>
31 <CsScore>
32
33 i1 0 10 1
34 i1 11 10 5
35 e
36 </CsScore>
37 </CsoundSynthesizer>
38
39