バッチのインプット形式
複数のインプットファイルをバッチ(一括)で処理する場合、対象の音声ファイルとオプションのスクリプトを指定する方法には、以下の2つがあります。
ディレクトリでのインプット
スプレッドシートでのインプット(
.csv
ファイル)
ディレクトリでのインプット
この方法では、バッチ処理するインプットファイルを1つのディレクトリにすべてまとめます。スクリプトを使用する場合は、各スクリプトファイルも個別の.txt
ファイルにします。

p364_025.wav
という音声ファイルのスクリプトはp364_025.txt
というように、各スクリプト.txtファイルには、同名の音声ファイルのスクリプトが保存されています。
スプレッドシートでのインプット(.csvファイル)
.csv形式のスプレッドシートをインプットさせる方法もあります。最初の列には音声ファイルのパスを記述し、2列目には対応するスクリプトを記述します。スクリプトの列は省略することもできます。
D:\Voiceover_01\audio\p364_025.wav,Hey point that thing at someone else
D:\Voiceover_01\audio\p364_026.wav,<sgx mode="Fearful">I just heard from the scout there is a convoy approaching</sgx>
D:\Voiceover_01\audio\p364_027.wav,"So I just walked up the beach, and there was this great thing coming out of the water so I ran I hope it's not following me"
また、音声ファイルの参照には相対パスを使用することもできます。
p364_025.wav,Hey point that thing at someone else
p364_026.wav,<sgx mode="Fearful">I just heard from the scout there is a convoy approaching</sgx>
p364_027.wav,"So I just walked up the beach, and there was this great thing coming out of the water so I ran I hope it's not following me"
相対パスは、.csvファイルの場所を基準ディレクトリとして解決されます。たとえば、上記ファイルがD:\Voiceover_01\batch_01.csv
としたら、各相対パスはディレクトリD:\Voiceover_01\
を基準として展開されます。