title: Convert WAV to AIFF with ffmpeg
body: <p>How can I convert a wav file to an AIF file with ffmpeg?</p>
  
  <p>I need to make various files one in 16 Bit, one in 24 bit and one in 32 Bit.</p>
  
  <p>I also need to make different sample rates. E.g one in 176,400 kHz and one in 44,100 kHz.</p>
  
  <p>I know <code>ffmpeg -i input-file.wav output-file.aif</code> will convert the file but I am not sure about the rest.</p>
  
  <p><a href="https://www.ffmpeg.org/general.html#Audio-Codecs" rel="nofollow noreferrer">https://www.ffmpeg.org/general.html#Audio-Codecs</a> says ffmpeg supports AIFF but there is no documentation on the AIFF encoding: <a href="https://en.wikipedia.org/wiki/Audio_Interchange_File_Format#AIFF-C_common_compression_types" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Audio_Interchange_File_Format#AIFF-C_common_compression_types</a></p>