aboutsummaryrefslogtreecommitdiff
path: root/examples/bitch_average.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/bitch_average.csd
downloadcsound-bitbitch-master.tar.gz
csound-bitbitch-master.tar.bz2
csound-bitbitch-master.zip
initialHEADmaster
Diffstat (limited to 'examples/bitch_average.csd')
-rw-r--r--examples/bitch_average.csd38
1 files changed, 38 insertions, 0 deletions
diff --git a/examples/bitch_average.csd b/examples/bitch_average.csd
new file mode 100644
index 0000000..1ade270
--- /dev/null
+++ b/examples/bitch_average.csd
@@ -0,0 +1,38 @@
+<CsoundSynthesizer>
+<CsOptions>
+-odac
+;-o/tmp/out/4.wav
+</CsOptions>
+<CsInstruments>
+
+sr = 48000
+kr = 48000
+nchnls = 2
+0dbfs = 1
+
+instr 1
+ Sfile = "/store/Store/Documents/Audio/Audio/Random/2021/Sonics Tuned Pieces/Guitar - Plectrum Light Chorus/86.0.wav"
+ ;Sfile = "/store/Store/Documents/Audio/Audio/Random/2021/Sonics Tuned Pieces/HurdyGurdy/61.0.wav"
+ ;Sfile = "/tmp/t.wav"
+ aL, aR diskin Sfile, 1
+ aL *= 0.6
+ aR *= 0.6
+ p3 = filelen(Sfile) + 2
+ ibase = 1600
+ aL bitchpeaker aL, ibase - 2
+ aR bitchpeaker aR, ibase + 2
+ aL bitchwreck aL, 0.1, abs:k(oscil:k(2, 2.9))
+ aR bitchwreck aR, 0.1, abs:k(oscil:k(2, 1.1))
+ outs aL, aR
+
+endin
+
+</CsInstruments>
+; ==============================================
+<CsScore>
+i1 0 60
+
+
+</CsScore>
+</CsoundSynthesizer>
+