Open art-from-the-machine opened 1 month ago
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.
Text-To-Speech Error: Cannot access local variable 'samplerate' where it is not associated with a value