Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1018468 // JavaFX Audio Player [Dyn Module]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (14735L/103K).

!7

sclass AudioPlayer > DynPrintLog {
  visualize {
    ret withCenteredButtons(super.visualize(),
      "Play file...", r { selectFile("Play audio file", voidfunc(File f) { play(f) }) });
  }
  
  void play(File f) {
    print("Playing: " + fileInfo(f));
    javaFXPlayAudio(f);
  }
}

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: 363 / 567
Version history: 1 change(s)
Referenced in: [show references]