aboutsummaryrefslogtreecommitdiff
path: root/examples/test.csd
diff options
context:
space:
mode:
authorRichard Knight <q@1bpm.net>2025-06-20 18:33:18 +0100
committerRichard Knight <q@1bpm.net>2025-06-20 18:33:18 +0100
commit5d31136bd3be537866dc867d2c2bc094e3222dde (patch)
tree5ff06fe8f055203bbc3918adef9e24a10a69452b /examples/test.csd
downloadcsound-bitbitch-master.tar.gz
csound-bitbitch-master.tar.bz2
csound-bitbitch-master.zip
initialHEADmaster
Diffstat (limited to 'examples/test.csd')
-rw-r--r--examples/test.csd35
1 files changed, 35 insertions, 0 deletions
diff --git a/examples/test.csd b/examples/test.csd
new file mode 100644
index 0000000..bcd1da5
--- /dev/null
+++ b/examples/test.csd
@@ -0,0 +1,35 @@
+<CsoundSynthesizer>
+<CsOptions>
+-odac
+</CsOptions>
+<CsInstruments>
+sr = 44100
+kr = 4410
+nchnls = 2
+0dbfs = 1
+seed 0
+
+
+instr 1
+ ipan = p4
+ kdensity = random:k(random:k(0, 1), random:k(0.1, 0.9))
+ krepeattrig = abs(oscil(1.5, random:k(3, 14)))
+ kbufread = abs(oscil(1, random:k(7, 13)))
+ kbufmode = int(random:k(0, 2))
+ a1 bitchrandom 1, kdensity, krepeattrig, kbufread, kbufmode
+ a2 bitchglitch a1, oscil:k(0.1, random:k(25, 35)), abs(oscil:k(2, random:k(0.1, 0.5))) ;bitchpeaker a1, 2048
+ a3 bitchwreck a2, 1024, abs(oscil:k(2, random:k(0.2, 0.8)))
+ a5 bitchwreck a3, 1024, abs(oscil:k(2, random:k(2, 6)))
+ ;a6 waveset a5, abs(oscil:k(20, random:k(0.1, 0.5)))
+ outs a5*ipan, a5*(1-ipan)
+endin
+
+
+
+</CsInstruments>
+<CsScore>
+i1 0 60 0.75
+i1 0 60 0.25
+
+</CsScore>
+</CsoundSynthesizer>