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

13
LINES

< > BotCompany Repo | #1009645 // maryTTS_english

JavaX fragment (include)

1  
lib 1009635 // marytts / voice-cmu
2  
lib 1009636 // marytts / english
3  
4  
static void maryTTS_english(S text) ctex {
5  
  AudioInputStream audio;
6  
  {
7  
    lock maryTTS_lock();
8  
    LocalMaryInterface mary = maryTTS_init();
9  
    mary.setLocale(localeEnglish());
10  
    audio = mary.generateAudio(text);
11  
  }
12  
  javaSound_playAudioInputStream(audio);
13  
}

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: #1009645
Snippet name: maryTTS_english
Eternal ID of this version: #1009645/4
Text MD5: e5cd70745e2466913b8ef12c8f9bf19b
Author: stefan
Category: javax / speech
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-12 20:37:42
Source code size: 348 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 479 / 513
Version history: 3 change(s)
Referenced in: [show references]