aboutsummaryrefslogtreecommitdiff
path: root/BUG3/effects.udo
diff options
context:
space:
mode:
authorRichard Knight <q@1bpm.net>2021-10-31 04:35:16 +0000
committerRichard Knight <q@1bpm.net>2021-10-31 04:35:16 +0000
commit4a2d04c8cd3b4640084b41ca65a54a6615625ce9 (patch)
treede4439781c46e99f52944e0eb586abc6ae30e0ef /BUG3/effects.udo
parentff5405cc2fd290d3d6715fb58e1ee5a6569b85e0 (diff)
downloadcsd-unfixedbugs1-4a2d04c8cd3b4640084b41ca65a54a6615625ce9.tar.gz
csd-unfixedbugs1-4a2d04c8cd3b4640084b41ca65a54a6615625ce9.tar.bz2
csd-unfixedbugs1-4a2d04c8cd3b4640084b41ca65a54a6615625ce9.zip
beta completion of BUG3
Diffstat (limited to 'BUG3/effects.udo')
-rw-r--r--BUG3/effects.udo27
1 files changed, 26 insertions, 1 deletions
diff --git a/BUG3/effects.udo b/BUG3/effects.udo
index 40d9c80..abfe622 100644
--- a/BUG3/effects.udo
+++ b/BUG3/effects.udo
@@ -1,6 +1,29 @@
#ifndef UDO_EFFECTS
#define UDO_EFFECTS ##
+/*
+ Debugger - Unfixed Bugs : BUG #3
+ Audio effects
+*/
+
+
+/*
+ A stereo chorus opcode with multiple voices
+ By Bhob Rainey
+
+ al, ar ensembleChorus ain, kdelay, kdpth, kminrate, kmaxrate, inumvoice, iwave
+
+ al, ar audio output
+
+ ain audio input
+ kdelay delay time in seconds
+ kdepth chorus depth in seconds
+ kminrate min lfo rate cps
+ kmaxrate max lfo rate cps
+ inumvoice number of voices
+ iwave function table for the lfo wave (sine, triangle, etc).
+
+*/
opcode ensembleChorus, aa, akkkkiip
ain, kdelay, kdpth, kmin, kmax, inumvoice, iwave, icount xin
incr = 1/(inumvoice)
@@ -13,7 +36,7 @@ out:
max:
imax = i(kmax)
if (kmax != imax) then
- reinit max
+ reinit max
endif
iratemax unirand imax
@@ -25,4 +48,6 @@ max:
xout al, ar
endop
+
+
#end