Uses 206K of libraries. Click here for Pure Java version (1448L/10K/35K).
1 | !752 |
2 | |
3 | static S musicID = #1009564; |
4 | |
5 | p { |
6 | File mp3 = loadLibrary(musicID); |
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 #1003615
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009563 |
Snippet name: | Play THE DAMN BLIP |
Eternal ID of this version: | #1009563/3 |
Text MD5: | 60b4bef0fceb6f27f3bcc3562e99e661 |
Transpilation MD5: | 80a0ad9900c02b80b9fd94fcff08105a |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-07 21:20:03 |
Source code size: | 409 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 488 / 594 |
Version history: | 2 change(s) |
Referenced in: | [show references] |