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

13
LINES

< > BotCompany Repo | #1009641 // maryTTS_german - TODO: better voice selection

JavaX fragment (include)

//lib 1009635 // marytts / voice-cmu
lib 1009638 // marytts / german
lib 1009649 // marytts / voice-bits3 (German voice)

static void maryTTS_german(S text) ctex {
  AudioInputStream audio;
  lock maryTTS_lock();
  LocalMaryInterface mary = maryTTS_init();
  mary.setLocale(localeGerman());
  audio = mary.generateAudio(text);
  //javaSound_playAudioInputStream(audio);
  playAudioInputStream_safe(audio, prepareProgramFile("mary.wav"));
}

Author comment

Began life as a copy of #1009632

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: #1009641
Snippet name: maryTTS_german - TODO: better voice selection
Eternal ID of this version: #1009641/11
Text MD5: 6d17299a0fa7d8f60826259862767a64
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 02:06:14
Source code size: 453 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 489 / 530
Version history: 10 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009645 - maryTTS_english
#1009717 - maryTTS_german2 - TODO: better voice selection