aboutsummaryrefslogtreecommitdiff
path: root/examples/memson-t3.csd
blob: 81b9cad97e9c418484d7174f670b2c05dc8eaea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>
sr = 44100
kr = 441
nchnls = 2
0dbfs = 1
seed 0


instr 1
        ips[] memps
        ipid = ips[int(random(0, lenarray(ips)-1))]
	ifn mem2tab ipid, 1

        a1 loscil 1, 1, ifn, 1
	a1 dcblock a1*0.1

        outs a1, a1
endin

</CsInstruments>
<CsScore>
i1 0 60
</CsScore>
</CsoundSynthesizer>