AI pattern generation · osu!mania 4K · 4 difficulties
ManiaMapper
AI-generated osu!mania 4K beatmaps from any song.
- 127
- research maps
- 4
- difficulties
- 90.1%
- research acc.*
*training-set accuracy
Reviewer guide · 2 minutes
How to try ManiaMapper
- 01
Pick a song
Open Song library and choose a featured or community track (or upload your own), pick a difficulty, then generate a map. Audio analysis stays in your browser.
- 02
Play it
Open Full screen player, turn on Play mode and hit the lanes with A, S, ; and ' as circles reach the bottom receptors.
- 03
Read your results
After the song you get a rank (SS to F), a miss timeline, early/late timing graph and per-key hit bars.
- 04
Compare & export
Log in to post your best score to the per-song leaderboard, or download the .osz to play in osu!.
What to look for: notes that land on the beat, harder difficulties getting denser with chords and long notes, and server-checked scores. Charts are built by a local heuristic in your browser.
02 · Mapper
Map your own song
Difficulty
Detected BPM
—
Total notes
—
Notes / sec
—
Long notes
—
What Lite does
Spectral flux finds onsets, autocorrelation estimates BPM, and an adaptive threshold places notes. Chords follow strong hits, long notes follow sustained energy, and columns are rebalanced automatically.
Load a song to preview its map
Charts come from the on-device Lite heuristic, not the original PyTorch research model described below.
03 · Research architecture
The original ManiaMapper model
- 01
Audio file
any song - 02
Librosa analysis
BPMbeatsonsetsmel spectrogramchromaspectral features - 03
Beat grid
time steps aligned to beats - 04
Encoder + Decoder
mania_model.ptdifficulty-conditionedautoregressive - 05
Note assignment
column selectionmin-gaprebalancing - 06
Speed variation
optional - 07
.osu writer
timing + hit objects - 08
.osz package
ready to import
Architecture
~6.97M parameters- Input
(B, T, 130) = 114 audio features + 16 cross-difficulty context
Difficulty embedding: 4 levels → 32-dim
- Encoder
2 × multi-scale depthwise conv blocks, kernels 3 / 5 / 9 / 13 / 25
4-layer BiLSTM, 384-dim
- Decoder
Causal 2-layer LSTM, 256 hidden
+ 64-dim embedding of the previously placed event
- Heads
Per difficulty: hit (4 columns) · LN start (4) · LN duration (4)
+ 18-class pattern head
04 · Training results
What it learned from
Usable maps
127 / 151 scanned
Easy 14 · Normal 21 · Hard 52 · Insane 40
Training sequences
2,408
of 256 steps each
Regular notes
222,013
hit objects
Long notes
45,807
hold objects
Total loss per epoch
15.64 → 0.30 · log scale
Pattern accuracy per epoch
7.9% → 90.1% · training set
Difficulty presets
| Level | HP | OD | Max chord | Target nps | Target LN % |
|---|---|---|---|---|---|
| Easy | 6 | 6 | 1 | 2.5 | 4% |
| Normal | 7 | 7 | 2 | 4.5 | 7% |
| Hard | 8 | 8 | 2 | 9.5 | 10% |
| Insane | 9 | 9 | 3 | 16.0 | 12% |
Honest limitations
- 90.1% is training-set accuracy — there is no held-out validation split.
- There's no automated playability metric, so map quality is a human judgement.
- 4K only.
- A single documented training run.