aboutsummaryrefslogtreecommitdiffhomepage
path: root/applause.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applause.lua')
-rw-r--r--applause.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applause.lua b/applause.lua
index e8f1306..9348cf3 100644
--- a/applause.lua
+++ b/applause.lua
@@ -564,7 +564,7 @@ samplerate = 44100
-- These are functions, so we can round the result
-- automatically
function sec(x) return math.floor(samplerate*(x or 1)) end
-function msec(x) return secs((x or 1)/1000) end
+function msec(x) return sec((x or 1)/1000) end
-- Wave forms
function SawOsc(freq)