Permalink
Browse files

number literals work again

  • Loading branch information...
1 parent b07879b commit 274cea786745ba8c0982bccd4a66c6842535bb11 Florian Paul Schmidt committed May 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/test_cpp_event.lua
@@ -5,7 +5,7 @@ e = jiss.engine()
-- os.execute("sleep 2")
-tick = e:get_samplerate()/20
+tick = e:get_samplerate()/24
pre = [[
#include "jissing.h"
@@ -19,7 +19,7 @@ e:exec_cpp_event(cpp_event(pre,
e.storage_append<int>(0); // create an int entry in the c+ storage
e.storage_append(
synth(e.get_samplerate(), (float)e.get_buffersize(),
- n<0>(), n<0>(), n<1>(),
+ _0, _0, _1,
sin(_const(440), _const(0.0))));
]]
))

0 comments on commit 274cea7

Please sign in to comment.