aboutsummaryrefslogtreecommitdiffstats
path: root/lib/time.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-02-03 13:41:05 +0000
committers-ol <s-ol@users.noreply.github.com>2020-02-03 13:41:05 +0000
commit08022c13ba1c4cd932a59f4b6ac7d964606f747e (patch)
treea9cd222563b881d7317169b5097fe092f86f4a1e /lib/time.moon
parentForward references (diff)
downloadalive-08022c13ba1c4cd932a59f4b6ac7d964606f747e.tar.gz
alive-08022c13ba1c4cd932a59f4b6ac7d964606f747e.zip
50% of functions
Diffstat (limited to 'lib/time.moon')
-rw-r--r--lib/time.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/time.moon b/lib/time.moon
index 4fe5d7c..3252b9f 100644
--- a/lib/time.moon
+++ b/lib/time.moon
@@ -6,9 +6,9 @@ class lfo extends Op
super ...
@phase = 0
-
default_wave = Const 'str', 'sin'
setup: (@freq, @wave=default_wave) =>
+ L\trace "setup #{@}, freq=#{@freq}, wave=#{@wave}"
update: (dt) =>
@phase += dt * @freq\get!