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

13
LINES

< > BotCompany Repo | #1009645 // maryTTS_english

JavaX fragment (include)

lib 1009635 // marytts / voice-cmu
lib 1009636 // marytts / english

static void maryTTS_english(S text) ctex {
  AudioInputStream audio;
  {
    lock maryTTS_lock();
    LocalMaryInterface mary = maryTTS_init();
    mary.setLocale(localeEnglish());
    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: #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: 480 / 514
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)