This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion 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: 75
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: 75
oh yeah...

The format is raw 16 bit 8 kHz signed
I agree. Here's the link:
subject: Audio files
jQuery in Action, 3rd edition