From 4a2d04c8cd3b4640084b41ca65a54a6615625ce9 Mon Sep 17 00:00:00 2001 From: Richard Knight Date: Sun, 31 Oct 2021 04:35:16 +0000 Subject: beta completion of BUG3 --- BUG3/effects.udo | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'BUG3/effects.udo') 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 -- cgit v1.2.3