aboutsummaryrefslogtreecommitdiff
path: root/BUG4
diff options
context:
space:
mode:
Diffstat (limited to 'BUG4')
-rw-r--r--BUG4/instruments.udo6
1 files changed, 3 insertions, 3 deletions
diff --git a/BUG4/instruments.udo b/BUG4/instruments.udo
index 4656d1a..9b50db5 100644
--- a/BUG4/instruments.udo
+++ b/BUG4/instruments.udo
@@ -497,10 +497,10 @@ instr play_glitchread
ilen = ((1/(ifreq))*sr)*pow(2, round(random(0, 4)))
istart random 0, giglitchsamples-ilen
awindex phasor giglitchsamples / ilen
- aL table awindex*giglitchsamples, giglitchbufferL
- aR table awindex*giglitchsamples, giglitchbufferR
+ aL table (awindex*giglitchsamples)+istart, giglitchbufferL
+ aR table (awindex*giglitchsamples)+istart, giglitchbufferR
aL butterhp aL, 350
- aR butterhp aL, 350
+ aR butterhp aR, 350
aL *= 0.2 * iamp
aR *= 0.2 * iamp
if (random(0, 1) > 0.7) then