Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
example of phase_poll nil error
- Loading branch information
Showing
with
8 additions
and
9 deletions.
-
+8
−9
gemini.lua
|
|
@@ -69,13 +69,19 @@ function init() |
|
|
|
|
|
counter = metro.init(count, 0.01, -1) |
|
|
counter:start() |
|
|
|
|
|
re = metro.init() |
|
|
re.time = 0.03 |
|
|
re.event = function() |
|
|
arc_redraw() |
|
|
end |
|
|
re:start() |
|
|
end |
|
|
|
|
|
function count() |
|
|
redraw() |
|
|
end |
|
|
|
|
|
|
|
|
local function reset_voice() |
|
|
engine.seek(0) |
|
|
end |
|
|
@@ -285,11 +291,4 @@ arc_redraw = function() |
|
|
a:segment(4, 0, 6.28, 3) |
|
|
|
|
|
a:refresh() |
|
|
end |
|
|
|
|
|
re = metro.init() |
|
|
re.time = 0.03 |
|
|
re.event = function() |
|
|
arc_redraw() |
|
|
end |
|
|
re:start()
|
|
|
end
|