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

15
LINES

< > BotCompany Repo | #1001274 // Android: Speech test with playing

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (376L/4K/11K).

!747

m {
  static S text = "Nanu nan\u00fc"; // Yo
  //static S text = "Nanu nanü"; // TODO: umlauts should work, it's just that they come out bad from the Java source it seems.
  static S voice = "Alex"; //"Gudrun"; // Leopold
  
  static Activity androidContext;
  
  p {
    File mp3 = new File(getProgramDir(), "bla.mp3");
    makeSpeechCereproc(text, voice, mp3);
    androidPlayMp3(androidContext, mp3);
  }
}

Author comment

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: 536 / 605
Referenced in: [show references]