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

17
LINES

< > BotCompany Repo | #1027066 // Voice Output Through Phone Bridge Module for Raspi -> phone -> headset]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (4667L/23K).

!7

cmodule VoiceOutputThroughPhone > DynPrintLogAndEnabled {
  transient TimedCache<S> last = new(5.0);
  
  start {
    dm_require("#1027047/OIC");
    dm_registerAs voiceOutputModule();
  }
  
  // API
  
  void say(S text) {
    print("Saying on phone: " + text);
    dm_call instancesConnector('sendToChannel, "voiceOutput", text);
  }
}

Author comment

Began life as a copy of #1027056

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027066
Snippet name: Voice Output Through Phone Bridge Module for Raspi -> phone -> headset]
Eternal ID of this version: #1027066/3
Text MD5: 04825029c97f8a021cd240faea0be6ae
Transpilation MD5: 8a0efda4ae4c24100165baac10c75d60
Author: stefan
Category: javax / stefan's os / speech
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-16 18:50:01
Source code size: 358 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 730
Version history: 2 change(s)
Referenced in: [show references]