Libraryless. Click here for Pure Java version (14735L/103K).
1 | !7 |
2 | |
3 | sclass AudioPlayer > DynPrintLog { |
4 | visualize { |
5 | ret withCenteredButtons(super.visualize(), |
6 | "Play file...", r { selectFile("Play audio file", voidfunc(File f) { play(f) }) }); |
7 | } |
8 | |
9 | void play(File f) { |
10 | print("Playing: " + fileInfo(f)); |
11 | javaFXPlayAudio(f); |
12 | } |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018468 |
Snippet name: | JavaFX Audio Player [Dyn Module] |
Eternal ID of this version: | #1018468/2 |
Text MD5: | b6b5bded8267d4e7e030202822d039a2 |
Transpilation MD5: | e05a1daaedf4610af817727395c0d88f |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-01 00:13:25 |
Source code size: | 298 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 364 / 568 |
Version history: | 1 change(s) |
Referenced in: | [show references] |