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,504 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

726 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