1 | lib 1009633 // MaryTTS |
2 | lib 1009636 // marytts / english - always needed? |
3 | |
4 | import javax.sound.sampled.AudioInputStream; |
5 | |
6 | import marytts.LocalMaryInterface; |
7 | import marytts.exceptions.MaryConfigurationException; |
8 | import marytts.exceptions.SynthesisException; |
9 | import marytts.util.data.audio.MaryAudioUtils; |
10 | |
11 | static LocalMaryInterface maryTTS_init_mary; |
12 | static Lock maryTTS_init_lock = lock(); |
13 | |
14 | static LocalMaryInterface maryTTS_init() ctex { |
15 | lock maryTTS_init_lock; |
16 | if (maryTTS_init_mary == null) { |
17 | print("Starting MaryTTS..."); |
18 | fixContextClassLoader(); |
19 | maryTTS_init_mary = new LocalMaryInterface; |
20 | } |
21 | ret maryTTS_init_mary; |
22 | } |
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: | #1009639 |
Snippet name: | maryTTS_init |
Eternal ID of this version: | #1009639/5 |
Text MD5: | eba04f110bab3a6f51089c7a4ba8d810 |
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:39:24 |
Source code size: | 662 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 507 / 518 |
Version history: | 4 change(s) |
Referenced in: | [show references] |