Solved

How do i convert audio (mp3 to wav, au, etc.) in java using JMF to create an audio media player?

Posted on 2009-04-03
2
1,542 Views
Last Modified: 2013-12-15
HI, the aim  is to convert MP3 format to wav and other file format. project using java media framework API with functionality to load, save and playback audio on a stand alone player if its ever possible. thanks
0
Comment
Question by:z0l0x
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Assisted Solution

by:Thomas4019
Thomas4019 earned 240 total points
ID: 24066082
You might also want to look into QTJ (Quick Time for Java). I also java to open practically anything that quicktime can open. Not sure how good it is at wrting files though.

http://en.wikipedia.org/wiki/QuickTime_for_Java
http://developer.apple.com/quicktime/qtjava/

JMF is good too, but if that wont work, i am just posting an alternative.
0
 
LVL 16

Accepted Solution

by:
warturtle earned 260 total points
ID: 24073279
Hello,

What operating system are you using? JMF 2.1.1 on Windows with a Windows Performance Pack will be able to deal with capturing music as mp3.

http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html

If you have a look in the first table, the last entry ACM points to mp3.

I also suggest that you have a look at an exising application called JMStudio to get an idea of how an existing application does it:

http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/samples/samplecode.html#JMStudio

Hope it helps.
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question