A second building block of Dittytoy is the loop. You can use a loop to define a repeating music pattern.
Each loop runs in its own worker/thread. So by using multiple loops, you can parallelize your ditty, which makes it a convenient way to optimize your ditty if it doesn't perform well.
dittytoy.net/syntax#loops
#dittytoy #tutorial
Log in to post a comment.
// #04 Loops. DittyToy 2022.// The MIT License.