Made 2 utilities for working with .wav and .ogg files for Arma 3. Both expect drag and drop a bunch of files on the exe.
- sound_duration.exe – prints the durations of .wav and .ogg files in seconds in console (see title image)
- tracks2config.exe - does what sound_duration does + generates CfgMusic config template with durations, for example:
It writes config.cpp file in the same directory the tracks2config.exe is located. If config.cpp exists it writes config(1).cpp, etc. The prefix in TRACK_NAME and path in TRACK_PATH macros most likely will need tweaking after generation.