Skip to content

Taoshix/FindMapFromPattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FindMapFromPattern

Scans your osu! maps to see if you have any maps that matches the reference rhythm using the time difference between objects with a default leeway of +-1ms to account for osu! rounding errors.

Real life usecase

The Danish osu! community wanted to figure out what beatmap was in a video where they only had the audio from the keyboard tapping and some of notes visible, and they also knew the beatmap was 174BPM.
I told them that I could probably make a script to search through all of your beatmaps for the specific pattern. Then, someone in the community recreated the section of the beatmap from the video in the beatmap editor and the process and result can be seen below:

Reference rhythm

Recreate the rhythm in the osu! beatmap editor and then save. Afterwards copy the contents of the .osu file into reference.osu in the same directory as the find_pattern.py script.
It does not care about the note type, which means that you can even substitude slider ends with hit circles if you want.

osu.2025.01.18.-.14.14.02.01.mp4

Running the program

python find_pattern.py

image

Result

Side by side comparison from original video and the found beatmap in the editor

2025-01-18_13-36-35-VEED.mp4

About

Scans your osu maps to see if you have any maps that matches the reference pattern

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages