Created
March 20, 2024 08:15
-
-
Save unRARed/c058671578e12bde646691a772a9c1c3 to your computer and use it in GitHub Desktop.
Make wav files compatible with the Spark Wav Trigger board
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
mkdir fixed | |
# WAV Files need to be Stereo, 44100, 16bit and have no metadata | |
for file in *.wav; do ffmpeg -y -i $file -ac 2 -ar 44100 -sample_fmt s16 -map_metadata -1 -fflags +bitexact -flags:v +bitexact -flags:a +bitexact fixed/$file; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment