diff options
Diffstat (limited to 'BUG3/effects.udo')
-rw-r--r-- | BUG3/effects.udo | 27 |
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 |