Closed elydpg closed 6 years ago
Another nice catch @elyisgreat -- I've found the cause* and am working on a fix.
*Don't ask, it's a really weird edge case!
...OK, I'll explain :)
Voices ended up actually being a red herring. It turns out that there's a bug in the parser that has to do with ending a variable definition with another variable reference.
This works because the foo =
line ends with f
(not a variable):
bar = c d e
foo = bar f
piano: foo
But this fails with Unrecognized event: :name
because the reference to bar
isn't getting disambiguated from a "name" token into a "get variable" token.
bar = c d e
foo = bar
piano: foo
Should have a fix out shortly!
Fixed in 1.0.0-rc80.
Consider the following code:
Plays normally However,
Throws the error
[27713] ERROR Unrecognized event: :name
(this happens regardless of whether or not the variablemelody
is actually used or not). However,Plays normally.