You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the code does not specify "wait", the input value block initiates and the previous (e.g. previous set heading) block does not complete its execution.
The visual output from tests above were made by repeatedly inputting the value of 5. With wait, the output is as expected, without wait things begin to drift.
It is also notable that the direction the mouse appears to be heading is not always correct in either scenario (at least not for me for these tests).
the input block pauses execution while it waits for the input. Maybe a race condition of some sort? I don't think it would be a problem to add a short pause before stopping.
The program works as expected if you add a no-clock block. The problem is that the note is being truncated because of its trying to get into sync and so the graphics are clipped. I don't think this is worth fixing in Music Blocks 1.0.
(Note: Probably not specific to "set heading")
If the code does not specify "wait", the input value block initiates and the previous (e.g. previous set heading) block does not complete its execution.
without wait
with wait
test code
Set-Heading-and-Input-Needs-Wait.html.zip
The text was updated successfully, but these errors were encountered: