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
The problem: Iterating on the last part of a dance party project (near the end of the song) can be very, very slow because you have to listen through the first part of the song in real-time every time you want to test your changes.
Proposed solution: Add a debug feature for starting playback at a particular measure.
Considerations:
Dance Party code is highly stateful (creating dancers, setting effects, etc) so instead of only executing student code that occurs after measure n we probably need to "fast-forward" through all of their code up to that point, executing events before measure n sequentially and as fast as possible. (This roughly mirrors the behavior of sinon's fake timers tick() method.)
The text was updated successfully, but these errors were encountered:
The problem: Iterating on the last part of a dance party project (near the end of the song) can be very, very slow because you have to listen through the first part of the song in real-time every time you want to test your changes.
Proposed solution: Add a debug feature for starting playback at a particular measure.
Considerations:
Dance Party code is highly stateful (creating dancers, setting effects, etc) so instead of only executing student code that occurs after measure
n
we probably need to "fast-forward" through all of their code up to that point, executing events before measuren
sequentially and as fast as possible. (This roughly mirrors the behavior ofsinon
's fake timerstick()
method.)The text was updated successfully, but these errors were encountered: