Logo

Ambiguity Locator and Counter Script

Register Log In Back To Forums

Post #1 · Posted at 2024-04-23 01:35:23pm 1.5 weeks ago

Offline Landpaddle
Landpaddle Avatar Member
37 Posts
Not Set
Reg. 2022-11-16

I created a Python script to show the exact locations of ambiguous steps in .sm and .ssc files for Single Play charts. Ambiguous steps are considered DU jumps or D->U / U->D steps after a neutral position. The script explains where and how steps resolve by current note, current measure, and the line in the measure. The script also creates a JSON file as output with a count of each type of ambiguous jump or step and its subtypes.

The "Ambiguity Hunter.py" script is available here:
https://drive.google.com/drive/folders/1VX-aPpDzcZctLAUaknCuqndHabENbMsH?usp=sharing

Limitations:
- Does not account for holds due to greatly increasing the complexity of the problem
- Does not account for footswitches in the middle of ambiguous sections

To use the analyzer, change the "rootdir" line to the path of the parent folder you wish to analyze. When run, the script will traverse the folder and all subfolders to search for Stepmania files.
Register Log In Back To Forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 4% · Database: 4% · Server Time: 2024-05-04 04:21:46
This page took 0.003 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language