Uses 911K of libraries. Click here for Pure Java version (6054L/30K).
!7 cmodule RepeatSpeechInput > DynPrintLogAndEnabled { transient TimedCache<S> last = new(5.0); start { dm_onUserUtterance(s -> { ret if !enabled || emptyOrEqAny(s, last!, "?"); last.set(s); print("Repeating: " + s); dm_call instancesConnector('sendToChannel, "voiceOutput", s); }); } }
Began life as a copy of #1019682
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: | #1027056 |
Snippet name: | Send Speech Input To Instances Connector [Test Bridge Module for Raspi -> phone -> headset] |
Eternal ID of this version: | #1027056/3 |
Text MD5: | 7778c40be90e1dc84f7c8cbf35cd84bf |
Transpilation MD5: | c85f6d9a113392f5df561fb9b923986a |
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 15:26:15 |
Source code size: | 341 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 296 / 884 |
Version history: | 2 change(s) |
Referenced in: | [show references] |