lib 1001094 // JavaLayer 1.0.1 lib 1003620 // mp3spi1.9.4.jar lib 1003621 // tritonus_share.jar static void mp3ToWAV_2(File inputFile, File outputFile) ctex { fixContextClassLoader(); // activate mp3spi etc AudioFileFormat inputFileFormat = AudioSystem.getAudioFileFormat(inputFile); AudioFormat inputFormat = inputFileFormat.getFormat(); float freq = inputFormat.getSampleRate(); int channels = inputFormat.getChannels(); AudioFormat outputFormat = new AudioFormat(freq, 16, inputFormat.getChannels(), true, false); audioCopyToWAV(inputFile, outputFile, outputFormat); }
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: | #1006991 |
Snippet name: | mp3ToWAV_2 - uses JavaSound / mp3spi |
Eternal ID of this version: | #1006991/3 |
Text MD5: | c017f8946965c1459c27795cfe6424b3 |
Author: | stefan |
Category: | javax / audio |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-26 14:26:07 |
Source code size: | 602 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 461 / 484 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1007046 - wavToMP3 - uses JavaSound / mp3spi - doesn't work? |