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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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.

747 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

11 Experts available now in Live!

Get 1:1 Help Now