BeatDash

How AI Turns Your Music Into Game Levels (On-Device, No Uploads)

When you drop a song into BeatDash and get a playable level seconds later, it feels a bit like magic. It is not — it is a pipeline of signal processing and machine learning running entirely on your device. Here is how a raw audio file becomes a rhythm game chart, step by step.

Why on-device matters

Most "AI" features mean uploading your data to someone's server. BeatDash does the opposite: the neural network ships to you. The model runs inside your browser in a background worker using ONNX Runtime Web — accelerated by WebGPU where available, with a WASM fallback so it works on older hardware too.

Two big wins follow:

Step 1: Decoding and listening for structure

The browser decodes your MP3, WAV, OGG, or FLAC into raw audio samples. The pipeline then slices the audio into tiny overlapping windows and extracts spectral features — essentially a frame-by-frame fingerprint of which frequencies are active and how hard they hit.

Drums, for example, produce sharp broadband spikes. A vocal melody produces sustained mid-frequency energy. The features make those patterns visible to the model.

Step 2: The neural network finds the beat

The features feed into BDN's rhythm analysis pipeline, which estimates two things per frame:

Raw activations are probabilities, so a post-processing step turns them into a clean beat grid: the exact timestamps a human would tap along to. This grid is the skeleton every note will hang on.

Step 3: From beats to gameplay

A beat grid alone is not a level — it is a metronome. The chart generator layers musicality and game design on top:

The result is a chart that breathes with the song instead of just ticking along with it. If the neural model cannot run on your device, a rule-based analyzer (classic onset detection and tempo estimation) steps in so generation always succeeds.

Live Audio: the same pipeline, in real time

Live Audio reuses this entire pipeline on a rolling window of whatever your computer is playing. The "lead time" setting you see in the setup panel is literally the size of the model's look-ahead buffer — a few seconds of context so notes are placed with musical awareness rather than pure reaction.

Why this approach wins

Hand-authored charts are beautiful but finite; licensed catalogs are expensive and region-locked. On-device generation flips the economics: every song ever recorded is a potential level, and the cost of a new chart is a few seconds of your own hardware's time.

That is the bet BeatDash is built on — and you can hear the difference. Try it with a song you love, or see which genres produce the best levels.

Play BeatDash free in your browser

No download, no sign-up — pick a song and start slicing notes in seconds.

Play BeatDash Now