Is there any pure java way to convert .wav to .mp3?

前端 未结 6 2010
小鲜肉
小鲜肉 2021-01-01 03:14

I\'ve struggled a lot with Java but could not combine a working example of Java .wav to .mp3 converter. This converter will be used in a Java applet so it should depend only

6条回答
  •  梦毁少年i
    2021-01-01 03:48

    If speed is not important for you, take any c implementation of MP3 (e. g. lame) and try to compile it with NestedVM to Java bytecode. It will be slow (like an emulator in an emulator), but it should work.

    And it should be way less work than trying to port a MP3 library to pure Java.

提交回复
热议问题