Skip to content

Instantly share code, notes, and snippets.

@espio999
Created September 12, 2021 01:18
Show Gist options
  • Save espio999/9251da3087a6a10833c5d9edd85a15fe to your computer and use it in GitHub Desktop.
Save espio999/9251da3087a6a10833c5d9edd85a15fe to your computer and use it in GitHub Desktop.
Convert to AAC-LC with qaac
$s_folder = "D:\temp\2020\20201204\source"
$d_folder = "D:\temp\2020\20201204\destination"
$bps = 48
$csv = import-csv -path .\test.csv
foreach ($myline in $csv){
$s_path = $s_folder + '\' + $myline.source
$d_path = $d_folder + '\' + $myline.destination
.\qaac64.exe $s_path -o $d_path -v $bps -r $myline.sampling --artist $myline.artist --album $myline.album --genre $myline.genre
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment