Need to be able to read sound file length, which could be something like 4.8999 seconds and make it 5 seconds by padding out with silence after the sound. It would need to always pad out to nearest (upwards) full second.
It will be for use in a .net 4.5 winforms project. I will run it across all sound files in a folder and then it will overwrite the existing file. Files are in .wav format.
Attached to the project is an example set of wavs
Code will need to get all files in folder, then loop through reading time of file, calculate silence needed at end, and add to file, save it and continue