aboutsummaryrefslogtreecommitdiff
path: root/examples/memson-t3.csd
diff options
context:
space:
mode:
authorRichard Knight <q@1bpm.net>2021-08-16 02:56:49 +0100
committerRichard Knight <q@1bpm.net>2021-08-16 02:56:49 +0100
commit2e854bcb40d535957b589ad02e3f280e00b47865 (patch)
tree8fe2abbc86130af2d2ff74bbce943a68f2ec4c6d /examples/memson-t3.csd
downloadcsound-datacore-2e854bcb40d535957b589ad02e3f280e00b47865.tar.gz
csound-datacore-2e854bcb40d535957b589ad02e3f280e00b47865.tar.bz2
csound-datacore-2e854bcb40d535957b589ad02e3f280e00b47865.zip
pre strip down
Diffstat (limited to 'examples/memson-t3.csd')
-rw-r--r--examples/memson-t3.csd28
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/memson-t3.csd b/examples/memson-t3.csd
new file mode 100644
index 0000000..81b9cad
--- /dev/null
+++ b/examples/memson-t3.csd
@@ -0,0 +1,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>