Uses 1319K of libraries. Click here for Pure Java version (10771L/55K).
!7 cmodule RepeatSpeechInputWithSwitcheroo > DynPrintLogAndEnabled { transient TimedCache<S> last = new(5.0); start { dm_onUserUtteranceWithoutMine(s -> { ret if !enabled || emptyOrEqAny(s, last!, "?"); last.set(s); S s2 = switcheroo(s); dm_say(s2); }); } }
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: | #1027384 |
Snippet name: | Repeat Every Speech Input With Switcheroo |
Eternal ID of this version: | #1027384/1 |
Text MD5: | 0e4f1c87584bed9987c5e02294808a16 |
Transpilation MD5: | 9434dc92e3aa8dac50ef6c744cf36d3a |
Author: | stefan |
Category: | |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-16 15:19:11 |
Source code size: | 310 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 213 / 10400 |
Referenced in: | -