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)

1  
//lib 1009635 // marytts / voice-cmu
2  
lib 1009638 // marytts / german
3  
lib 1009649 // marytts / voice-bits3 (German voice)
4  
5  
static void maryTTS_german(S text) ctex {
6  
  AudioInputStream audio;
7  
  lock maryTTS_lock();
8  
  LocalMaryInterface mary = maryTTS_init();
9  
  mary.setLocale(localeGerman());
10  
  audio = mary.generateAudio(text);
11  
  //javaSound_playAudioInputStream(audio);
12  
  playAudioInputStream_safe(audio, prepareProgramFile("mary.wav"));
13  
}

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: 490 / 531
Version history: 10 change(s)
Referenced in: [show references]