• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Convert from wave audio to mp3 audio

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 7585
176
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're unlikely to find someone here that will code your problem for you. The https://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.
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which terms have you google?
 
aroua rourou
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Fire me boy! Cool, soothing, shameless self promotion:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic