Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Convert from wave audio to mp3 audio

 
aroua rourou
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello
I want to convert file audio wave to file audio mp3
When i did the operation inverse (mp3 ---> wave ) it's ok , i just used the function convert in java
But the operation from wave to mp3 doesnt work

When i did my resarch , i learned that i should use the librairie lame and tritonus

Can any body give me the code source that i should use it
thanks
 
Tim Moores
Bartender
Posts: 2854
46
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're unlikely to find someone here that will code your problem for you. The http://www.coderanch.com/how-to/java/OtherOpenSourceProjectsFaq links to Java bindings for Lame and Tritonus, though - from there you should be able to piece together a solution if one is available. I'm sure there's example source code somewhere on those sites.
 
Rob Spoor
Sheriff
Pie
Posts: 20552
57
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:You're unlikely to find someone here that will code your problem for you.

Correct. We are NotACodeMill.
 
aroua rourou
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks sir for your answer
i just want to ask you an other question
I cant find the jar necessary for these import
import com.totsp.util.FileUtility;
import com.totsp.util.AudioUtility;

Can you help me
Thanks o lot
 
Tim Moores
Bartender
Posts: 2854
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which terms have you google?
 
aroua rourou
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:Which terms have you google?


i'm a beginner in java
and i try to learn about the API sound
I want to convert a sound wave to mp3 one

but now really i cant find the nécessary librairies for the two imports
 
Tim Moores
Bartender
Posts: 2854
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I meant by that is: Searching for those package names should find the place to download them real quick.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic