Euclidean Rhythms⌗

This example demonstrates how to create rhythmic patterns using the Euclidean algorithm, which distributes a number of beats as evenly as possible across a given number of steps.

Random Walk Melody Generator⌗

This example shows how to generate melodies using a random walk algorithm.

L-System Music Generation⌗

This example uses Lindenmayer Systems (L-Systems) to generate musical patterns. L-Systems are a type of formal grammar that can create complex, organic-like structures through simple recursive rules.

Granular Synthesis⌗

This example showcases granular synthesis using Tone.js. Granular synthesis is a sound synthesis method that operates on microscopic pieces of sound (grains). This demo allows you to experiment with various parameters of granular synthesis in real-time.