Skip to content

Instantly share code, notes, and snippets.

@lukehorvat
Created January 15, 2013 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukehorvat/4538250 to your computer and use it in GitHub Desktop.
Save lukehorvat/4538250 to your computer and use it in GitHub Desktop.
Batch file for fixing WAVs exported from Sibelius. Uses SoX to process files.
cd %~dp0
mkdir converted
FOR %%A IN (%*) DO (
sox %%A "converted/%%~nxA" reverse trim 4.3 reverse trim 0.3 gain -n -1
lame -V7 converted/%%~nxA
)
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment