File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes I/O and Streams and the fly likes Audio files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Audio files" Watch "Audio files" New topic

Audio files

Alex Armenteros
Ranch Hand

Joined: May 05, 2010
Posts: 69
I'd like to read from an audio file to see the amplitude of the sound (only that, I don't need neither lenght nor freq nor etc) and I don't even know where to start. I've seen the AudioInputStream and I did not see anything there.

I've posted this here as its somewhat related to the streams.
Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
What file format is this? The OtherOpenSourceProjectsFaq points to various libraries that can access audio files; some of them may have a way of returning this information.
Alex Armenteros
Ranch Hand

Joined: May 05, 2010
Posts: 69
oh yeah...

The format is raw 16 bit 8 kHz signed
I agree. Here's the link:
subject: Audio files
Similar Threads
audio resources for Applet, alternatives to Jar?
Regarding JMF and Java Sound API
FrontMan dispatch to do a GET on a page/command?
Getting audio to play in the background of my GUI.
Real world, do you guys use some HTML in your JSF pages?