Debian Codegraph @

examples/tvconv.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 -odac
4 </CsOptions>
5 <CsInstruments>
6 sr = 44100
7 ksmps = 32
8 nchnls = 2
9 0dbfs = 1
10
11 instr 1
12
13 asig diskin "fox.wav",1,0,1
14 air diskin "drumsMlp.wav",1,0,1
15 air buthp air/0dbfs,1000
16 k1 linseg 0,p3/3,0,0,1,2*p3/3,1
17 a1 oscili k1, 0.5, 1
18 a2 oscili k1, 0.6, 1
19 asig tvconv asig,air,1-a2,1-a1,256,1024
20 asig clip asig,1,0dbfs
21 outs asig, asig
22
23 endin
24
25 </CsInstruments>
26 <CsScore>
27 f1 0 1024 7 0 512 0 1 1 511 1
28 i1 0 30
29 e
30 </CsScore>
31 </CsoundSynthesizer>