1 | svoid convertAllWAVInDirToMP3(File dir) {
|
2 | for (File wav : listFilesWithExtension(dir, "wav")) {
|
3 | File mp3 = replaceExtension(wav, "wav", "mp3"); |
4 | if (mp3.exists()) |
5 | print("File exists, skipping: " + mp3);
|
6 | else |
7 | wavToMP3_128k(wav, mp3); |
8 | } |
9 | } |
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: | #1018238 |
| Snippet name: | convertAllWAVInDirToMP3 |
| Eternal ID of this version: | #1018238/1 |
| Text MD5: | 1d5e327ac024a9bcacf6ceaf951a017c |
| Author: | stefan |
| Category: | javax / io |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-11 21:09:55 |
| Source code size: | 271 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 486 / 544 |
| Referenced in: | [show references] |