How to convert a FLAC file to WAV file using java?

醉酒当歌 提交于 2019-12-13 07:54:44

问题


I want to convert a given flac file to a wav file. Most of the questions on StackOverflow are the opposite of my question. Have anyone an idea how to solve this problem ? I heard something about JavaFlacEncoder link but I could not find a method to convert flac to wave.


回答1:


Use flac -d to (from the man page)

Decode (the default behavior is to encode)

Another option would be the JustFLAC library, again you need to decode from FLAC. WAV is uncompressed audio.



来源:https://stackoverflow.com/questions/31552314/how-to-convert-a-flac-file-to-wav-file-using-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!