J
Joe Emenaker
Okay... I'm getting a little frustrated....
I'm trying to be able to access the actual samples from a mp3 file in
Java. For example... suppose that I was writing an app where I wanted
to be able to display, graphically, the waveform that was being played
(like SoundForge, say).
I've found plenty of examples on the web which implement a player (by
piping a decoder right into the sound card) and ones that convert from
one format to another (again, by merely hooking a decoder up to an
encoder). However, I haven't found out how to say "Give me the next
16-bit sample".
I have found AudioInputStream.read(), but that kinda looks like the
undecoded data.
Anybody have any experience doing this kind of thing?
- Joe
I'm trying to be able to access the actual samples from a mp3 file in
Java. For example... suppose that I was writing an app where I wanted
to be able to display, graphically, the waveform that was being played
(like SoundForge, say).
I've found plenty of examples on the web which implement a player (by
piping a decoder right into the sound card) and ones that convert from
one format to another (again, by merely hooking a decoder up to an
encoder). However, I haven't found out how to say "Give me the next
16-bit sample".
I have found AudioInputStream.read(), but that kinda looks like the
undecoded data.
Anybody have any experience doing this kind of thing?
- Joe