Uses 206K of libraries. Click here for Pure Java version (15553L/110K).
1 | !7 |
2 | |
3 | module PlaySoundOnNewVisitor > DynPrintLogAndEnabled { |
4 | start { |
5 | dm_vmBus_onMessage_q('newHomePageVisitors, r { if (enabled) doSound() }); |
6 | dm_requireModule("#1016183/HomePageVisitors"); |
7 | } |
8 | |
9 | visualize { |
10 | ret withCenteredButtons(super.visualize(), "Test the sound", rThread doSound); |
11 | } |
12 | |
13 | void doSound enter { playWAVSnippetAndWait(#1400163); } |
14 | } |
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: | #1020079 |
Snippet name: | Play Sound On New Visitor |
Eternal ID of this version: | #1020079/7 |
Text MD5: | b42c900ce7ef5cc9c0f89364375537e9 |
Transpilation MD5: | dcb51f7fc545b78fa8e2c5cfa0b4958b |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-16 14:19:30 |
Source code size: | 381 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 318 / 1927 |
Version history: | 6 change(s) |
Referenced in: | [show references] |