Created
December 9, 2017 18:41
-
-
Save Sciss/c7efa2fafc79323db11713492901bb21 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
val dirIn = file("/data/projects/Maeanderungen/materials/audio_work") | |
(dirIn/"rhizom").children.map { fIn => | |
import sys.process._ | |
val fOut = dirIn/"rhizom_mp3"/s"${fIn.replaceExt("mp3").name}" | |
Seq("lame", "--noreplaygain", "-b", "256", "-h", fIn.path, fOut.path).!! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment