2019-07-19から1日間の記事一覧
powershell で複数ファイルをそれぞれ処理する 拡張子の変更がめんどい。batの方が楽? ls *.pcm | foreach { &'N:\Program Files (x86)\sox-14-4-2\sox.exe' -t raw -b 16 -e signed -c 1 -r 16k $_.name ($_.name -replace "pcm","wav") }
powershell で複数ファイルをそれぞれ処理する 拡張子の変更がめんどい。batの方が楽? ls *.pcm | foreach { &'N:\Program Files (x86)\sox-14-4-2\sox.exe' -t raw -b 16 -e signed -c 1 -r 16k $_.name ($_.name -replace "pcm","wav") }