I am trying to create wave files using mac’s say command, however, I get the following error:
$ say "hello" -o hi.wav
Opening output file failed: fmt?
although,
$ say –file-format=?
WAVE WAVE (.wav) [lpcm,ulaw,alaw]
Is there some way I can get say to output a wave file?
It infers the file format from the file extension, but you need to specify the data format: