File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Java Sound Support Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Java Sound Support" Watch "Java Sound Support" New topic
Author

Java Sound Support

Hrishikesh Maha
Greenhorn

Joined: Dec 16, 2001
Posts: 9
Hi,

I want to develop a sound editor in Java.
It will be an applet.

Can anyone please suggest me what all support is available for sound in JDK1.1.x and JDK1.2 versions.
If you can also suggest me resources for Java Sound that will be helpful.
Thanks and regards,
Hrish
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11862
You should look around at java.sun.com for the Java Media Framework (I think it is called) - the standard SDK does not provide anything, you have to get extensions.
Bill
Andreas Falley
Greenhorn

Joined: Jan 31, 2002
Posts: 12
It seems like Sun has been very slow to provide really great audio functionality and support, although looking at the new media api, it seems like they are coming along in their newest release. Still they aren't near to catching up with the state of the art of support found in professional audio software or hardware, where 24-bit processing, 96KHz rates and surround sound are common.
There are also some issues regarding unsigned data types in .wav files (with possible work-arounds)
See http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=1&t=002777
There's also big-endian / little-endian conversion
issues that you have to worry about (not that big a deal).
It's a shame to say it still seems like c/c++ rules the day with audio processing (and I LOVE JAVA), not to mention cool things like Steinberg's
C++ based VST SDK. All that said and done, Sun is making improvements in this department. If they figure out a way to compete directly with DirectX support, they might win in this area. I hope they do.
Funny, when I am in the computer book section of Barnes and Noble, I am always hard pressed to see many books on audio manipulation software compared to image manipulation software, and likewise few books on audio programming compared to image processing even. Fewer yet geared to Java. Maybe the web is so image-based and all that p2p stuff has made audio such a hot potato now or maybe it's because music and musicians are rarely taken seriously by most non-music types unless an artist has a hit. Imagine...your daughter is marrying a musician. Ok, now she tells you his name is Billy Joel or Bruce Springsteen. See what I mean?
Anyhow, who really knows why this is the case with audio programming? But I hope that Java will some day become robust enough to be the language / environment of choice for any project, even pro-audio studio software.
Your project definitely sounds worthy to me. Good luck with it!
-Andreas
[ March 27, 2002: Message edited by: Andreas Falley ]
[ March 27, 2002: Message edited by: Andreas Falley ]
 
 
subject: Java Sound Support
 
Threads others viewed
How to improve performance of Swing application
Beep in Java
Sound recording
Tomcat Vs. Other web servers
help help
developer file tools