Generate playable beatmaps for Rhythia from any local audio file — fully offline, no manual charting.
Supports MP3, OGG, WAV, FLAC (FFmpeg enables M4A/AAC and other formats).
- Automatic BPM detection and beat tracking (or set
--bpmmanually) - Difficulty scale 1–10 (generator setting, not an official star rating)
- Exports
map.rhm(Rhythia),map.sspm(SSPM v2), andssqe_raw.txt - Deterministic output via
--seed
Requires Python 3.10+.
pip install -r requirements.txtFFmpeg is optional but recommended for non-WAV/OGG/FLAC inputs.
python rhythia_automap.py "song.mp3" --difficulty 5Generated files are saved to maps/<song_name>/ next to the script
(map.rhm, map.sspm, ssqe_raw.txt, audio.ogg, report.json).
Useful options:
python rhythia_automap.py song.mp3 -d 8 --bpm 174 --preview --overwrite-d, --difficulty— 1..10 (see table below)--style— procedural cursor steering:auto(default),flow,stream,jump,chaos,alternating,staircase,wave,burst,syncopated,mixed--bpm,--beat-offset-ms— override automatic beat tracking--offset-ms— shift notes in time--density,--max-nps— control note frequency--preview— also export OGG with ticks at note times-o, --out— custom output directory
Scale from 1 to 10. Each level has its own profile: note cap (NPS), cursor speed,
jump range, and rhythmic grid. Fractional values (e.g. 6.5) blend two levels.
| Level | Name | Feel |
|---|---|---|
| 1 | Beginner | Very sparse notes on the main beats, tiny steps |
| 2 | Easy | Beats only, short sweeps, comfortable pace |
| 3 | Easy Plus | First off-beats, two-note subdivisions, small steps |
| 4 | Normal | Steady beat map with occasional 8th notes and wider movement |
| 5 | Normal Plus | Regular 8ths and larger movement on stronger accents |
| 6 | Hard | 16th-note grid unlocked, faster cursor, occasional jumps |
| 7 | Hard Plus | Faster streams, sharper turns, and wider moves on strong accents |
| 8 | Very Hard | Dense streams, occasional bursts, and faster cursor movement |
| 9 | Expert | 32nd-note grid, very dense streams, and larger accent-driven moves |
| 10 | Extreme | Maximum timing density and movement range; extreme and often unplayable |
Levels 9–10 are intentionally extreme and may be unplayable for most people.
--style changes procedural cursor steering without changing the difficulty scale.
The generator does not use preset note sequences; movement responds to detected
onsets, beat position, and audio energy while respecting speed and jump limits.
auto— smooth procedural motion, with wider turns as difficulty and energy riseflow— smoother motion and smaller stepsstream— denser timing with smooth cursor motionjump— wider turns and moves on stronger musical accentsalternating— procedural changes in turning directionstaircase— gradual directional drift with movement limitswave— curved motion steered by changes in sound energyburst— denser timing with stronger accent-driven movementsyncopated— steering that reacts to off-beat note timingmixed— energy-driven motion with broader turns at higher difficultieschaos— seeded random movement, still respecting movement limits
Example: an easy-but-jumpy map — python rhythia_automap.py song.mp3 -d 3 --style jump
Run start_windows.bat for an interactive prompt, or run_diagnostic_windows.bat if generation fails (saves a detailed log).
Difficulty is a generator scale, not official stars. Always playtest maps before sharing.