1 | static File toWAVFile(File audioFile) {
|
2 | if (hasExtension(audioFile, "mp3")) |
3 | ret mp3ToTempWAV(audioFile); |
4 | if (hasExtension(audioFile, "wav")) |
5 | ret audioFile; |
6 | fail("Can't convert file to WAV: " + f2s(audioFile));
|
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018614 |
| Snippet name: | toWAVFile |
| Eternal ID of this version: | #1018614/1 |
| Text MD5: | fdef576e95ad4f34567d4462423c5586 |
| Author: | stefan |
| Category: | javax / audio |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-10-07 16:33:15 |
| Source code size: | 231 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 594 / 636 |
| Referenced in: | [show references] |