Dittytoy allows you to create generative music using a minimalistic javascript API.
Dittytoy allows you to create generative music using a minimalistic javascript API.
All music on Dittytoy is generated entirely in code. So don't expect easy-to-use audio nodes to connect with virtual wires or a graphical user interface that allows you to define patterns easily: everything is code.
Dittytoy gives you complete freedom to generate sound. If you want to write a function that generates the entire sound wave of your ditty, you can. In that case, open this boilerplate and get started: #10 Minimal Sound Wave.
However, Dittytoy has several high-level building blocks that make creating sounds, musical patterns, and filters easier. We will explain these tools below. The API syntax is loosely based on the syntax of Sonic Pi.
This site is fun and is a great example of the web as a programmable platform.