From e9f20b8a1a3e58c8832bf4bc74afb1c7917fd07e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 9 Apr 2015 02:02:41 +0200 Subject: added custom interactive Lua interpreter for evaluating applause expressions * implements Stream:play() using Jack as the audio backend --- applause.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applause.lua') 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) -- cgit v1.2.3