Download Jar. Uses 11463K of libraries. Click here for Pure Java version (6366L/42K).
1 | !7 |
2 | |
3 | p { |
4 | print("Please enter directory."); |
5 | bot(); |
6 | } |
7 | |
8 | answer { |
9 | for (File wav : listFilesWithExtension(new File(trim(s)), "wav")) { |
10 | File mp3 = replaceExtension(wav, "wav", "mp3"); |
11 | if (mp3.exists()) |
12 | print("File exists, skipping: " + mp3); |
13 | else |
14 | wavToMP3_128k(wav, mp3); |
15 | } |
16 | try answer "OK"; |
17 | } |
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: | #1013802 |
Snippet name: | Convert all .wav in a directory to .mp3 (128k) |
Eternal ID of this version: | #1013802/4 |
Text MD5: | e1dc2d71e9d982aa77c6a41c67b28240 |
Transpilation MD5: | 0356e48eba3d7c0d52e79ae63aff8f3e |
Author: | stefan |
Category: | javax / audio |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-03-01 12:10:49 |
Source code size: | 335 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 502 / 1037 |
Version history: | 3 change(s) |
Referenced in: | [show references] |