Libraryless. Click here for Pure Java version (15328L/106K).
!7 module HeyDude > DynPrintLogAndEnabled { start { doLater(random(5.0, 20.0), r action); } void startAgain { doLater(random(180.0), r action); } void action enter { if (enabled) pcall { final AutoCloseable speech = dm_tempEnableSpeechRecognition("Hey Dude"); ownResource(speech); doAfter(10.0, rEnter { dm_releaseResource(speech) }); dm_say("Hey dude!"); } startAgain(); } }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020627 |
Snippet name: | Hey Dude |
Eternal ID of this version: | #1020627/5 |
Text MD5: | fd84949226bce6262c2343d460bedd90 |
Transpilation MD5: | cca6e952a452e2c9c00d60a77827d2fc |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-29 00:33:12 |
Source code size: | 458 bytes / 21 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 301 / 653 |
Version history: | 4 change(s) |
Referenced in: | #1020636 - Keep Listening On Speech |