Uses 206K of libraries. Click here for Pure Java version (1154L/8K/27K).
!752 static S musicID = "#1001093"; p { File mp3 = loadLibrary(musicID); // deh polish music int n = 1; while (true) { Player player = playMP3(mp3); long start = now(); while (!player.isComplete()) { long pos = player.getPosition(), ofs = pos-now()+start; print("Position: " + pos + ", ofs: " + ofs); sleep(500); } print("...aaaand again!! (n=" + ++n + ")"); } }
Began life as a copy of #1001096
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003615 |
Snippet name: | Play with Polish Music |
Eternal ID of this version: | #1003615/1 |
Text MD5: | 825af178b848f693740babf5a5ca9620 |
Transpilation MD5: | 34b561696b2166ee6b0a4560164db908 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-07-24 18:50:13 |
Source code size: | 431 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 569 / 622 |
Referenced in: | #1003617 - Play Music With Slider #1009563 - Play THE DAMN BLIP |