aboutsummaryrefslogtreecommitdiffstats
path: root/test.alv
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-02-02 11:45:54 +0000
committers-ol <s-ol@users.noreply.github.com>2020-02-02 13:14:01 +0000
commita3eed74cb931d268aa2da93e15d885cba1937afa (patch)
tree3f2c028d1df82de8c798dd43d2d579ec4aae276e /test.alv
parentmacros and scopes (diff)
downloadalive-a3eed74cb931d268aa2da93e15d885cba1937afa.tar.gz
alive-a3eed74cb931d268aa2da93e15d885cba1937afa.zip
fix README
Diffstat (limited to 'test.alv')
-rw-r--r--test.alv19
1 files changed, 6 insertions, 13 deletions
diff --git a/test.alv b/test.alv
index 692c3be..f84e43c 100644
--- a/test.alv
+++ b/test.alv
@@ -1,14 +1,7 @@
-#(this is equivalent to:
- (def osc (require 'osc'))
- (def out osc/out))
-([2]use ([1]require 'osc'))
-
-#(there should probably be a shorthand for this,
- but i'm not sure what to call it.
- maybe it could be just
- (require time) - note its a symbol not a string here)
-([4]def time ([3]require 'time'))
+([2]use ([1]require 'math'))
+([4]use ([3]require 'osc'))
+([6]use ([5]require 'time'))
-([6]out '127.0.0.1' 9000 '/param/radius/set' ([5]time/lfo 0.5))
-([8]out '127.0.0.1' 9000 '/param/offset/set' ([7]time/lfo 1.2 'saw'))
-
+([8]out '127.0.0.1' 9000 '/param/radius/set' ([11]mix 0.3 0.5 ([7]lfo 1.8)))
+([10]out '127.0.0.1' 9000 '/param/offset/set' ([13]+ ([9]lfo 0.2 'sin')
+ ([12]lfo 0.5 'sin')))