Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Sound Support  RSS feed

 
Hrishikesh Maha
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!