aboutsummaryrefslogtreecommitdiff
path: root/BUG4
diff options
context:
space:
mode:
Diffstat (limited to 'BUG4')
-rw-r--r--BUG4/BUG4.csd5
-rw-r--r--BUG4/bid.udo2
-rw-r--r--BUG4/instruments.udo6
3 files changed, 7 insertions, 6 deletions
diff --git a/BUG4/BUG4.csd b/BUG4/BUG4.csd
index 59d2e50..243b946 100644
--- a/BUG4/BUG4.csd
+++ b/BUG4/BUG4.csd
@@ -18,7 +18,7 @@
sr = 44100
ksmps = 100
nchnls = 2
-0dbfs = 1
+0dbfs = 1.1
seed 0
#define NOFILEIO ## ; file IO with readfi not supported on all platforms: disables bid_loadfile
@@ -114,7 +114,8 @@ gitimetrack times
instr notify_change
isection = p4
itime times
- if (isection == -1) then
+
+ if ((isection >= gibid_maxsection) || isection == -1) then
tt_notify(sprintf"Complete, runtime: %s", tt_parsetime(itime)))
exitnow
else
diff --git a/BUG4/bid.udo b/BUG4/bid.udo
index a5eea11..61891b3 100644
--- a/BUG4/bid.udo
+++ b/BUG4/bid.udo
@@ -1,7 +1,7 @@
#ifndef UDO_BID
#define UDO_BID ##
/*
- Debugger - Unfixed Bugs : BUG #4
+ Debugger - Unfixed Bugs : BUG #3
Bug Infested Directive file parser v1 and tools
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