Uses 206K of libraries. Click here for Pure Java version (1154L/8K/27K).
1 | !752 |
2 | |
3 | static S musicID = "#1001093"; |
4 | |
5 | p { |
6 | File mp3 = loadLibrary(musicID); // deh polish music |
7 | |
8 | int n = 1; |
9 | while (true) { |
10 | Player player = playMP3(mp3); |
11 | long start = now(); |
12 | while (!player.isComplete()) { |
13 | long pos = player.getPosition(), ofs = pos-now()+start; |
14 | print("Position: " + pos + ", ofs: " + ofs); |
15 | sleep(500); |
16 | } |
17 | print("...aaaand again!! (n=" + ++n + ")"); |
18 | } |
19 | } |
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: | 568 / 622 |
Referenced in: | [show references] |