aboutsummaryrefslogtreecommitdiff
path: root/BUG4/BUG4.csd
diff options
context:
space:
mode:
Diffstat (limited to 'BUG4/BUG4.csd')
-rw-r--r--BUG4/BUG4.csd5
1 files changed, 3 insertions, 2 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