Notes node
Bouncing Balls
A physics playground that turns bouncing balls into music — balls glide inside a container shape and fire a note, quantized to a musical scale, every time they hit a wall. Gravity doesn't pull them down; the bounce pattern writes the melody.

What it does
Bouncing Balls is a note node: it makes, filters or changes notes before a synth plays them. It has no input and gives notes out, so it starts a chain.
Try it
Set the scale to Minor Pentatonic and let the balls compose a hypnotic, generative loop.
Bouncing Balls (Pentatonic)Metallic ResonatorReverb
Inputs and outputs
Inputs
- None. It starts a chain.
Outputs
- notes out
Controls
Every control with a range can be driven by a modulator, a note, an audio level or a sketch.
| Control | Range or options | Default |
|---|---|---|
| shape | Circle, Square, Triangle | 0 |
| balls | 1 to 12 | 4 |
| size | 0.02 to 0.15 | 0.0599999987 |
| speed | 0.05 to 2 | 0.600000024 |
| lo | 0 to 127 | 48 |
| hi | 0 to 127 | 84 |
Example patch
This patch wires Bouncing Balls to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.
infinite-patch 1
rev 2
# Bouncing Balls: a starting patch for the Bouncing Balls node
node 1 Notes Bouncing Balls
id node
pos 520 300
end
node 2 Synths Analog
id voice
pos 1080 300
end
node 3 Utility Audio Out
id speakers
pos 1640 300
end
note voice 0 node
aud speakers 0 voice