Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
macのsayコマンドを使用してwaveファイルを作成しようとしていますが、次のエラーが発生します。
$「こんにちは」と言う-ohi.wav 出力ファイルを開くことができませんでした:fmt?
$「こんにちは」と言う-ohi.wav
出力ファイルを開くことができませんでした:fmt?
でも、
$ say --file-format =? WAVE WAVE(.wav)[lpcm、ulaw、alaw]
$ say --file-format =?
WAVE WAVE(.wav)[lpcm、ulaw、alaw]
ウェーブファイルを出力するように言う方法はありますか?
ファイル拡張子からファイル形式を推測しますが、データ形式を指定する必要があります。
say -o hi.wav --data-format=LEF32@22050 "hello"