我正在尝试开发一个应用程序,一旦语音“发声器”的细微差别文本完成,就会在 android 手机上生成音频 .wav 文件。谁能让我知道如何做到这一点。这是我的代码示例:
static Vocalizer voc;
voc = _speechKit.createVocalizerWithLanguage("en_US", vocalizerListener, new Handler());
String value = "This is a sample Text";
voc.speakString(value, getApplication().getApplicationContext());
//here I want to import the audio file from the "void speakString()"