Rhythm
Intermediate
12 min

How to Make a Bouncing Ball Synced to Music

Learn how to sync a bouncing ball to music, creating satisfying sound visualizers for TikTok, Reels, and YouTube Shorts.

01

What is Rhythmic Mode?

Rhythmic Mode is our signature feature that maps ball collision events to musical notes. When a ball strikes the boundary or another ball, it triggers a sound based on its position, velocity, and the musical scale you have selected. This creates a natural audiovisual harmony where the simulation becomes a musical instrument.

02

Choosing a Musical Scale

The Creator Studio supports multiple musical scales including Major, Minor, Pentatonic, Blues, and Chromatic. Each scale changes the "mood" of your simulation. Pentatonic is the most forgiving — almost every collision sounds pleasant. Minor scales create tension and drama, perfect for cinematic content. Select your scale from the Audio panel in the right sidebar.

Key Tips
  • Pentatonic scale is best for beginners — it is nearly impossible to create dissonant sounds.
  • Try the Blues scale for a jazzy, relaxed vibe.
  • Use Chromatic sparingly — it gives full tonal range but can sound chaotic.
03

Mapping Collision Velocity to Volume

By default, harder collisions produce louder notes and softer collisions produce quieter ones. This creates dynamic range in your audio. You can adjust the velocity-to-volume curve in the Audio settings — a linear curve gives predictable results, while a logarithmic curve emphasizes softer impacts, creating a more ambient soundscape.

Technical Specifications
  • Velocity mapping curves: Linear, Logarithmic, Exponential, Step
  • Volume range: 0dB to -60dB
  • Note duration range: 50ms to 2000ms
04

Syncing to External Audio Tracks

For social media content, you often want to sync your simulation to a trending song. Use the BPM Sync feature to set the simulation tempo to match your audio track. Enter the BPM of your song, and the spawner will release balls at musically relevant intervals. Combined with the beat-reactive gravity feature, your simulation will pulse in time with the music.

Key Tips
  • Use a BPM detection tool to find the exact tempo of your chosen track.
  • Enable "Beat Gravity" to make gravity pulse stronger on each beat.
  • Record the simulation first, then layer the audio track in your video editor for perfect sync.
05

Advanced: Custom Instrument Mapping

Power users can assign different instruments to different ball colors or sizes. For example, large balls can trigger deep bass drums while small balls play high-pitched chimes. This creates a rich, layered audio experience. Access this through the Advanced Audio panel under "Instrument Mapping".