Skip to content

Instantly share code, notes, and snippets.

@tatmos
Created October 4, 2019 01:59
Show Gist options
  • Save tatmos/03cf4c5948f41939b9ac0b0cf419a1bb to your computer and use it in GitHub Desktop.
Save tatmos/03cf4c5948f41939b9ac0b0cf419a1bb to your computer and use it in GitHub Desktop.
複数のFloat32bit波形とかを16bit波形に変換するバッチファイル。 波形のあるフォルダにこのbatを置いて、outフォルダを作って、batを実行する。 あらかじめ、ffmpegのインストールとパス通しておく。
for %%f in (*.wav) do (ffmpeg -i "%%~nf".wav -acodec pcm_s16le -f wav ./out/"%%~nf".wav)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment