Uses 206K of libraries. Click here for Pure Java version (1117L/8K/26K).
1 | !752 |
2 | lib 1001094 // JavaLayer 1.0.1 |
3 | |
4 | import javazoom.jl.player.*; |
5 | |
6 | static S musicID = "#1001093"; |
7 | |
8 | p {
|
9 | File mp3 = loadLibrary(musicID); // deh polish music |
10 | |
11 | print("Playing mp3...");
|
12 | int n = 1; |
13 | while (true) {
|
14 | Player player = new Player(new FileInputStream(mp3)); |
15 | player.play(); |
16 | player.close(); |
17 | print("...aaaand again!! (n=" + ++n + ")");
|
18 | } |
19 | } |
Began life as a copy of #1001095
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1001096 |
| Snippet name: | Desktop: Play MP3 file (polish music!) with repeat |
| Eternal ID of this version: | #1001096/1 |
| Text MD5: | b2816e0acb767a2ffab319ba58150781 |
| Transpilation MD5: | f9aa25f19aa0864884891c3457c08a66 |
| 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:36:14 |
| Source code size: | 386 bytes / 19 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 957 / 1313 |
| Referenced in: | [show references] |