7 lines
232 B
Python
7 lines
232 B
Python
from simfile.dir import SimfileDirectory
|
|
|
|
simfile_dir = SimfileDirectory(R"C:\StepMania\Songs\My Pack\My Song")
|
|
assets = simfile_dir.assets()
|
|
assert assets.music, "No music file"
|
|
with open(assets.music, "rb") as audio_file:
|
|
...
|