Reading MP3 sample frames in Java?

Discussion in 'Java' started by Joe Emenaker, Jul 2, 2004.

  1. Joe Emenaker

    Joe Emenaker Guest

    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
    Joe Emenaker, Jul 2, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jake
    Replies:
    0
    Views:
    547
  2. Daniel Dyer
    Replies:
    6
    Views:
    19,872
    Knute Johnson
    Jan 22, 2006
  3. Asle Frantzen

    Mp3-player - how to play an mp3?

    Asle Frantzen, Jul 8, 2003, in forum: C++
    Replies:
    5
    Views:
    663
    Kelsey Bjarnason
    Jul 22, 2003
  4. HY Tech
    Replies:
    0
    Views:
    615
    HY Tech
    Sep 7, 2003
  5. Tim Chase
    Replies:
    0
    Views:
    70
    Tim Chase
    Feb 16, 2014
Loading...

Share This Page