Last active
November 11, 2022 15:47
-
-
Save lisaah/8621700 to your computer and use it in GitHub Desktop.
Simple batch script to convert .aiff files in current directory into .wav and put them in a directory. Didn't feel like setting sox as an environment variable so it's called directly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM Dependency: | |
REM SoX: http://sox.sourceforge.net/ | |
mkdir converted_wav | |
for %%f in (*.aiff) do ( | |
"C:\Program Files (x86)\sox-14-4-1\sox" %%~nf.aiff "converted_wav/%%~nf.wav" | |
) | |
pause |
Hi! I Wonder if it would work on the opposite side? Wav to Aiff? Thanks?
It's been a long time since I've used this, but I don't see why not. You'd just need to feed in .wav files and specify the output as .aiff instead. https://sox.sourceforge.net/sox.html documentation is probably best reference.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I Wonder if it would work on the opposite side? Wav to Aiff?
Thanks?