Mantella
Mantella copied to clipboard
xVASynth Error with samplerate
Text-To-Speech Error: Cannot access local variable 'samplerate' where it is not associated with a value
I wasn't able to reproduce but I made an attempt to fix this here: #334
I assume it happens here if the batch synth fails before that for what ever reason and there is no file to read the samplerate from. The try/catch block catches this but the subsequent call to write requires the samplerate that does not exist. Pulling the write into the try/catch should fix this.