SOUNDCLEAN
SOUNDCLEAN is a house-keeping script for audio for Red Alert 2 and Yuri's Revenge mods, it doesn't specifically look for errors, just organizes sound(md).ini. It requires that and audio.idx (located in language.mix -> audio.mix) extracted into the game directory. Like other scripts, it is run via a batchfile on Windows, and creates a sndclean.log file with a record of the changes, along with a newly cleaned sound(md).ini replacement.
Before using SOUNDCLEAN, it should be extracted to the game directory, and a copy of the TCL runtimes (version 8.3+) have to be installed, available through Activestate, link below.
To configure SOUNDCLEAN to read the INI (and IDX) and save the log to the right directory, the sndcheck.tcl will have to be edited to manually set the path for the game, the specific filenames used by the mod, and any optional settings. Pay close attention to the 'ra2dir' example path, TCL doesn't support backslash for path navigation, it uses the UNIX system of forwardslash.
SOUNDCLEAN can be set to backup the old sound(md).ini with a timestamp and make a new cleaned version, or it can be set to create sound(NEW).ini while preserving the original file. Being as it is a rather simple process of cleaning the INI, the likelihood of erroneous changes is virtually zero, provided the sound(md).ini was in good order already. For error checking sound(md).ini (and the rest of a mod relating to sounds) get SOUNDCHECK.