Debian Codegraph @

examples/ATSsinnoi.csd

raw
1 <CsoundSynthesizer>
2 <CsOptions>
3 ; Select audio/midi flags here according to platform
4 -odac ;;;RT 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 ATSsinnoi.wav -W ;;; for file output any platform
8 </CsOptions>
9 <CsInstruments>
10
11 ; by Menno Knevel - 2021
12
13 sr = 44100
14 ksmps = 32
15 nchnls = 2
16 0dbfs = 1
17
18 ires1 system_i 1,{{ atsa -h.5 -c1 drumsMlp.wav drumsMlp1.ats }}
19 ires2 system_i 1,{{ atsa drumsMlp.wav drumsMlp2.ats }} ; default settings -h.25 -c4
20
21
22 instr 1
23
24 ktime line 0, p3, 2
25
26 aout ATSsinnoi ktime, 1, 1, 1, p4, p5
27 outs aout*.4, aout*.4
28 endin
29
30 </CsInstruments>
31 <CsScore>
32 s
33 ; atsfile partial
34 i 1 0 2 "drumsMlp1.ats" 3
35 i 1 3 2 "drumsMlp2.ats" 3
36 s
37 i 1 0 2 "drumsMlp1.ats" 13
38 i 1 3 2 "drumsMlp2.ats" 13
39 s
40 i 1 0 2 "drumsMlp1.ats" 30
41 i 1 3 2 "drumsMlp2.ats" 30
42
43 e
44 </CsScore>
45 </CsoundSynthesizer>