Auto-Mapping Rhythm Game That Lets You Play ANY Sound

Hey guys, last night I was bored and I recently started getting back into rhythm games (I used to be extremely into them in 2021) and started thinking back to an old idea I had where players could submit a soundid and the game automaps the song for them so they can play it. Now, at the time, I was not as good as scripting so I didn’t even know where to start.

However, last night I was thinking about how to do this, and I realized I could read the sound’s playbackloudness and store each sample of the sound where it went above a volume threshold in a table of timestamps where the player would have to hit.

It worked! At first the reading/analysis part of mapping was suuuuuper slow as the entire sound needed to be played/streamed but I then came up with the idea of splitting the sound up into 1 second fragments and reading them asynchronously (with a limit), and it ended up extremely efficient. I ended up tweaking a lot of stuff to make it less janky (it was very janky at first) and added functionality for players to upload and customize their automappings. I used a weighted chance system to replicate patterns (left to right) usually seen in rhythm game mappings so the maps seemed less like a program generated them (a bunch of notes in the same columns).

It’s still obviously not perfect because the only thing determining if a note gets stored is its loudness and this sometimes does not detect every note, therefore I am planning on adding an editor to the automaps so players can tweak them.

Anyways, enough of my rambling, here’s a video of the game. (If you just want to see gameplay and not more explanation, skip to 0:23)

Play Any Song on Roblox! (Automapping Rhythm Game) - YouTube

1 Like