Trouble with FileInputStream
in
Programming Questions
•
2 years ago
Can't seem to get my head around this: trying to read a binary file (in this case a .wav file) in, 4 bytes at a time. Ultimately I'd like to stream sample by sample through the file; I've done this with the Ess library but I'd like something a bit faster and more robust.
My research is leading towards using a FileInputStream, but I can't get the syntax right. Anyone have a bit of code to point me in the right direction?
Here's the .wav format, if that's any help:
http://www.sonicspot.com/guide/wavefiles.html#data
Thanks!
My research is leading towards using a FileInputStream, but I can't get the syntax right. Anyone have a bit of code to point me in the right direction?
Here's the .wav format, if that's any help:
http://www.sonicspot.com/guide/wavefiles.html#data
Thanks!
1