Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Converting a WAV file to a Raw Audio File

843802Mar 3 2009 — edited Mar 3 2009
Is there an easy way to convert a WAV file to a raw audio file? Maybe some way to just strip the file header?

Would if work if I just loaded a WAV file into an AudioInputStream and read all the bytes out and dumped them directly back onto disk via a DataOutputStream? Even if so, there must be a quicker solution, right?

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 31 2009
Added on Mar 3 2009
3 comments
408 views