Libraryless. Click here for Pure Java version (376L/4K/11K).
1 | !747 |
2 | |
3 | m { |
4 | static S text = "Nanu nan\u00fc"; // Yo |
5 | //static S text = "Nanu nanü"; // TODO: umlauts should work, it's just that they come out bad from the Java source it seems. |
6 | static S voice = "Alex"; //"Gudrun"; // Leopold |
7 | |
8 | static Activity androidContext; |
9 | |
10 | p { |
11 | File mp3 = new File(getProgramDir(), "bla.mp3"); |
12 | makeSpeechCereproc(text, voice, mp3); |
13 | androidPlayMp3(androidContext, mp3); |
14 | } |
15 | } |
Began life as a copy of #1001268
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, ufhdzwgrioxs, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001274 |
Snippet name: | Android: Speech test with playing |
Eternal ID of this version: | #1001274/1 |
Text MD5: | 8413773ea8639c0141b35b21a5277289 |
Transpilation MD5: | fa8fb81d8fcb13a566980254bf990118 |
Author: | stefan |
Category: | |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-06 13:00:02 |
Source code size: | 431 bytes / 15 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 605 / 695 |
Referenced in: | [show references] |