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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
reasons why a "inside Menu" would not appear for a web server 6 56
Java / Linux and Regular Expressions 11 69
Error trying to install RTMT Win7 5 40
Syntax Error 2 44
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…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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 implement Singleton Design Pattern in Java.

911 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now