Class MP3

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, Serializable

    public class MP3
    extends AbstractAudioInfoReader
    Outputs information on the incoming Wave data.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • MP3

        public MP3()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • formatTime

        protected String formatTime​(long seconds)
      • getMp3Fields

        protected Map<String,​Object> getMp3Fields​(com.mpatric.mp3agic.Mp3File mp3file)
      • vbrString

        protected String vbrString​(boolean vbr)
      • getId3v1Fields

        protected Map<String,​Object> getId3v1Fields​(com.mpatric.mp3agic.Mp3File mp3file)
      • getId3v2Fields

        protected Map<String,​Object> getId3v2Fields​(com.mpatric.mp3agic.Mp3File mp3file)