tts에.플레이하도록 수정

This commit is contained in:
backuppc
2026-02-09 13:21:42 +09:00
parent 3d5e2bc1e6
commit 7409528fbd
5 changed files with 190 additions and 4 deletions

View File

@@ -55,6 +55,9 @@ namespace Supertonic.WinForms
Helper.WriteWavFile(outputPath, result.wav, _tts.SampleRate);
Log($"Saved: {outputPath}");
// Play the generated WAV file immediately
Helper.PlayWavFile(outputPath);
MessageBox.Show($"Synthesis completed successfully!\nSaved to: {outputPath}");
}
catch (Exception ex)