It fails too when i use the Microsoft sample TSV file (just changed path).
audio.output text
C:\speech\Output\wav_1.wav Sample text to synthesize.
C:\speech\Output\wav_2.wav Using the Speech CLI to run batch-synthesis.
C:\speech\Output\wav_3.wav Some more text to test capabilities.
Here is the exception.133120138775965417.2600.133120138776623192.spx.error.log :
System.NullReferenceException: Object reference not set to an instance of an object.
at Azure.AI.Details.Common.CLI.SynthesizeCommand.CheckSynthesizerInput() in D:\a_work\1\s\clis\source\cli\spx\commands\synthesize_command.cs:line 395
at Azure.AI.Details.Common.CLI.SynthesizeCommand.StartCommand() in D:\a_work\1\s\clis\source\cli\spx\commands\synthesize_command.cs:line 544
at Azure.AI.Details.Common.CLI.SynthesizeCommand.Synthesize() in D:\a_work\1\s\clis\source\cli\spx\commands\synthesize_command.cs:line 68
at Azure.AI.Details.Common.CLI.SynthesizeCommand.RunCommand() in D:\a_work\1\s\clis\source\cli\spx\commands\synthesize_command.cs:line 34
at Azure.AI.Details.Common.CLI.Program.DispatchRunCommand(ICommandValues values) in D:\a_work\1\s\clis\source\cli\spx\Program_SPX.cs:line 69
at Azure.AI.Details.Common.CLI.Command.RunCommandsInProc(Queue1 queue) in D:\a\_work\1\s\clis\source\cli\common\details\commands\command.cs:line 586 at Azure.AI.Details.Common.CLI.Command.<>c__DisplayClass20_0.<CheckExpectedRunInProcAsync>b__0() in D:\a\_work\1\s\clis\source\cli\common\details\commands\command.cs:line 568 at Azure.AI.Details.Common.CLI.Command.CheckExpectedOutputAsync(ICommandValues values, Queue
1 queue, Func1 func) in D:\a\_work\1\s\clis\source\cli\common\details\commands\command.cs:line 552 at Azure.AI.Details.Common.CLI.Command.CheckExpectedRunInProcAsync(ICommandValues values, Queue
1 queue) in D:\a_work\1\s\clis\source\cli\common\details\commands\command.cs:line 568
I don't know what the D:\ refers to, I don't have a D: drive on my PC. The error seems to concern "foreach" because this last command works well:
spx synthesize --text "Exemple de texte" --audio output C:\speech\output\wav_1.wav --voice fr-FR-BrigitteNeural