GeeCON Prague 2014*
The moose likes General Computing and the fly likes mp3 to wav converter C or java commandline tool required Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » General Computing
Bookmark "mp3 to wav converter C or java commandline tool required" Watch "mp3 to wav converter C or java commandline tool required" New topic
Author

mp3 to wav converter C or java commandline tool required

Kavita Shivani
Ranch Hand

Joined: Aug 14, 2009
Posts: 45
Hi Everyone,
I am looking for an MP3 to Wav audio file converter to use on Solaris environment. I tried JLayer. It converts the files fine, in the sense the converted wave files can be played back fine, but the file metadata is not captured/converted correctly. I also tried Sox but I am not able to do the symbolic linking of Lame and other libries. So failed there also. Please let me know if there is any command-line or java source code that I can use for audio conversion.

thanks,
Kavitha.
Janeice DelVecchio
Saloon Keeper

Joined: Sep 14, 2009
Posts: 1669
    
  11

.wav files don't have support for ID3v2 metadata. They do have a Riff header that you can use to hold Title and artist names... you might be able to find some opensource software that will edit the riff headers for you.


When you do things right, people won't be sure you've done anything at all.
Kavita Shivani
Ranch Hand

Joined: Aug 14, 2009
Posts: 45
Thank you for the response Janeice. In our project, we are trying to convert the existing mp3 files into wav and preserve them. In the process of preservation, we do a metadata check on the converted files are close to the original copy with respect to their metadata. Hence this exercise. These files fail to pass metadata extraction from the JHove tool. Anyways thanks again for the suggestion. I will research on the riff header editor.
 
GeeCON Prague 2014
 
subject: mp3 to wav converter C or java commandline tool required