I need to find a silence in a mp3 file. Simple as that.
For example:
- Find a silence GREATER than X seconds in "file.mp3", then send an errorcode 0 if X seconds of silence found, or errorcode 1 if not found the silence.
I can try it in Batch, VBS, Ruby or Python (Cause I have all to practice, but I only know Batch). I have no idea of music libs and that things...
No matter if I need 3rd party software to do that job like CommandLine APPS...
Note: The silence can be in the middle of the mp3 file too. For example in the files called "Hidden tracks" that is: 1 song + 1 large silence of minutes + another song (All in only 1 mp3 file) So I need something to search X selince into the entire file, Not only near the end of the file...
Note 2: I need to do it in Windows.
Any ideas please?