This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes how to play mp3 file from its byte array in applet using java api? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "how to play mp3 file from its byte array in applet using java api?" Watch "how to play mp3 file from its byte array in applet using java api?" New topic
Author

how to play mp3 file from its byte array in applet using java api?

Ganesan Kanagarathinam
Greenhorn

Joined: Sep 01, 2006
Posts: 1
Hai all...
I have a byte array for mp3 file. I want to play this mp3 file (inputting the byte array, instead file name) in applet. Can anyone help me out?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Blatant Advertising is reserved for advertising
I'll move your question to the Java in General (advanced) forum for you.

Dave
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12956
    
    3

The Java Media Framework API has something to play MP3's.

I've never used it and I don't know if you can easily use it in an applet (with all the restrictions that applets have) - have a look at the documentation.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to play mp3 file from its byte array in applet using java api?
 
Similar Threads
How to Play Streaming mp3 File
Problems with Player -- no sounds.
Convert audio file into bytes
About MP3
howto stream mp3