Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

Sound in Java (facade to JMF?)

Thread view: 
janzon@gmail.com - 31 May 2006 04:06 GMT
Hello!

I try to record sound in Java but have no luck. It is so easy to play
sounds with AudioClip. But to make a simple voice recording from the
users microphone it seems like I'm forced to use the heavy JMF
machinery.

I managed to play a wav file with JMF, but I don't have time to read
the documentation to learn how to make recordings. Any good ideas? Are
there any simpler Java classes that help me out? Like a facade to JMF
which hides most of the bells and whistles?

And why isn't there any good documentation on JMF? Or is it only me who
find the available documentation somewhat lacking? (Definition:
Available means you can find it with Google or on the EMule file
sharing network).

     / Janzon
Chris Smith - 31 May 2006 06:45 GMT
janzon@gmail.com says...
> I managed to play a wav file with JMF, but I don't have time to read
> the documentation to learn how to make recordings. Any good ideas? Are
> there any simpler Java classes that help me out? Like a facade to JMF
> which hides most of the bells and whistles?

There is JavaSound.  I don't know if that's easier or harder than JMF,
as I've never used JMF... but it's not unusually hard for either
recording or playing sound.

Signature

Chris Smith

Thomas Weidenfeller - 31 May 2006 09:27 GMT
> I try to record sound in Java but have no luck.

Google is your friend.

http://www.jsresources.org/examples/SimpleAudioRecorder.html

/Thomas
Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

janzon@gmail.com - 26 Jun 2006 04:05 GMT
> > I try to record sound in Java but have no luck.
>
> Google is your friend.
>
> http://www.jsresources.org/examples/SimpleAudioRecorder.html

No! This example uses Java Sound, not JMF. Google is a source of
frustration and despair when it comes to finding good information on
JMF. There are a lot about JMF audio *players*, but nothing (I can
find) about making recordings.

I think Java Sound is way to complicated for my needs. That's why I
want to use JMF, which is supposed to be an easier to use front-end
(facade) to Java Sound.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.