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).

1  
!7
2  
3  
cmodule VoiceOutputThroughPhone > DynPrintLogAndEnabled {
4  
  transient TimedCache<S> last = new(5.0);
5  
  
6  
  start {
7  
    dm_require("#1027047/OIC");
8  
    dm_registerAs voiceOutputModule();
9  
  }
10  
  
11  
  // API
12  
  
13  
  void say(S text) {
14  
    print("Saying on phone: " + text);
15  
    dm_call instancesConnector('sendToChannel, "voiceOutput", text);
16  
  }
17  
}

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: 227 / 823
Version history: 2 change(s)
Referenced in: [show references]