Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1009717 // maryTTS_german2 - TODO: better voice selection

JavaX fragment (include)

//lib 1009635 // marytts / voice-cmu
lib 1009638 // marytts / german
lib 1009716 // marytts / German voice?

static void maryTTS_german2(S text) ctex {
  AudioInputStream audio;
  {
    lock maryTTS_lock();
    LocalMaryInterface mary = maryTTS_init();
    mary.setLocale(localeGerman());
    audio = mary.generateAudio(text);
  }
  javaSound_playAudioInputStream(audio);
}

Author comment

Began life as a copy of #1009641

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009717
Snippet name: maryTTS_german2 - TODO: better voice selection
Eternal ID of this version: #1009717/1
Text MD5: 7b70f870eec88838c7e997f9972c0ff9
Author: stefan
Category: javax / speech
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-15 01:37:16
Source code size: 388 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 331 / 381
Referenced in: [show references]