static bool playMp3WithSoftVolume(File mp3, float volume) ctex { if (!isJavaSoundOnly() && isLinux() && onPATH("play")) { //print("Playing MP3 (`play`)..."); backtick(print("> ", "play -v " + formatDouble(volume, 2) + " " + bashQuote(mp3))); true; } false; } static bool playMp3WithSoftVolume(S snippetID) { ret playMp3WithSoftVolume(loadLibrary(snippetID)); }
Began life as a copy of #1001267
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: | #1014804 |
| Snippet name: | playMp3WithSoftVolume - returns true when successful |
| Eternal ID of this version: | #1014804/3 |
| Text MD5: | 170dff703be0009db1118ab9fc537d6a |
| Author: | stefan |
| Category: | javax / sound |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-12-18 14:31:44 |
| Source code size: | 392 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 663 / 678 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |