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

  1. 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.

  2. 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.

  3. 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.

  4. 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

Pick a track and a difficulty. Your browser detects the rhythm and builds the chart on your device.
Local heuristic charts · instant

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.

Unranked: your own song

Load a song to preview its map

0:000:00
Play mode

Charts come from the on-device Lite heuristic, not the original PyTorch research model described below.

03 · Research architecture

The original ManiaMapper model

This PyTorch BiLSTM audio encoder and causal LSTM pattern decoder — about 6.97M parameters — is the original research design. The web mapper above uses Lovable AI instead; no PyTorch weights are bundled in this app.
  1. 01

    Audio file

    any song
  2. 02

    Librosa analysis

    BPMbeatsonsetsmel spectrogramchromaspectral features
  3. 03

    Beat grid

    time steps aligned to beats
  4. 04

    Encoder + Decoder

    mania_model.ptdifficulty-conditionedautoregressive
  5. 05

    Note assignment

    column selectionmin-gaprebalancing
  6. 06

    Speed variation

    optional
  7. 07

    .osu writer

    timing + hit objects
  8. 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

One documented training run over 50 epochs on human-made 4K maps.

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

LevelHPODMax chordTarget npsTarget LN %
Easy6612.54%
Normal7724.57%
Hard8829.510%
Insane99316.012%

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.