mirror of
https://github.com/k2-fsa/sherpa-onnx.git
synced 2026-11-11 13:31:07 +08:00
Add Kotlin and Java API for KittenTTS (#2461)
This commit is contained in:
1 parent
090e4f4140
commit
bfbd603342
19 files changed
+297
-14
No files matched your search
@@ -176,7 +176,7 @@ public class NonStreamingTtsPiperEn {
|
||||
String waveFilename = "tts-piper-en.wav";
|
||||
audio.save(waveFilename);
|
||||
System.out.printf("-- elapsed : %.3f seconds\n", timeElapsedSeconds);
|
||||
System.out.printf("-- audio duration: %.3f seconds\n", timeElapsedSeconds);
|
||||
System.out.printf("-- audio duration: %.3f seconds\n", audioDuration);
|
||||
System.out.printf("-- real-time factor (RTF): %.3f\n", real_time_factor);
|
||||
System.out.printf("-- text: %s\n", text);
|
||||
System.out.printf("-- Saved to %s\n", waveFilename);
|
||||
|
||||
Reference in new issue
Block a user