The problem it solves
What you listen to while running has a surprisingly large effect on pacing. Most runners know the feeling: around twenty minutes in, the stride starts following a 128 BPM song, the rhythm breaks, and breathing goes with it. Finding a playlist that stays at 180 BPM is hard, and the songs you actually like are almost never at that tempo.
This site gives that control back to the runner. You import a song you already enjoy, the tool detects its tempo, shifts it to your target cadence (180 by default, or any value from 50 to 200), and can layer a footstep, hand drum or EDM beat on top. Adjusted tracks can be merged in order into a single MP3 on the export page.
Why it was built
The author teaches programming and runs regularly. The tool started from a simple personal need: the songs I wanted to hear did not match the cadence I wanted to run, and the available options either required uploading audio to a server or simply sped up playback until the vocals sounded wrong.
Because of that background, I preferred to take the problem apart and implement it myself. The result is a pure front-end approach: no upload, no backend, no WASM, all in JavaScript inside the browser. Once the principles were clear, I wrote them down, which is how the guides and the technical article came about.
Technical approach
The core is made of verifiable implementations rather than concept demos.
- Tempo detection: an RMS energy envelope feeds onset strength, then autocorrelation searches 35 to 240 BPM. Comb weighting and subdivision folding resolve octave ambiguity, for example the ambiguous 52 versus 155 case.
- Pitch-preserving stretch: WSOLA time-domain stretching. The synthesis hop is fixed at 512 samples, the analysis hop depends on the ratio, and the most similar waveform is searched within plus or minus 256 samples (about 5.8 ms) before triangular-window overlap-add. Duration changes, pitch does not.
- Beat overlay: percussion is generated at the target cadence and aligned with the stretched audio. In nearest-cadence mode the song is first moved to a tempo that divides the target evenly, so each beat covers a whole number of steps.
- MP3 export: lamejs encodes at 128 kbps mono. Work is chunked and yields to the main thread between blocks so the tab never hard-freezes.
- Local storage: results and PCM data live in IndexedDB, with a three-song in-memory cache. Nothing is sent to a server.
How we write
Two rules. First, read the actual source before writing, so the guide describes what the code does rather than what a textbook says it should do. Second, state the limits. Large stretch ratios smear cymbals, tempo detection can be fooled by live recordings, and export is MP3 only. Those points are in the body of the articles, not buried in a footnote.
A tool site earns trust less by how confidently it lists strengths and more by whether it is willing to put the weaknesses on the page.
What we do not do
- We do not upload or store your audio on a server.
- We do not give sports medicine advice. For cadence and injury risk, ask a qualified coach or doctor.
- We do not sell courses or subscriptions. The tool is free.
- We never disguise third-party advertising as a download button or system prompt.
Contact
If something breaks, an article is wrong, or you want a topic covered, please use the contact page. Including your browser, the source file format, the detected tempo and the target cadence usually makes diagnosis much faster.