All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.farng.mp3.id3.FrameBodyTKEY Maven / Gradle / Ivy

Go to download

This library reads song information, such as song title, artist, and album, from an MP3 file. It supports ID3v1, ID3v1.1, Lyrics3v1, Lyrics3v2, ID3v2.2, ID3v2.3, and ID3v2.4 tags. MP3 Frame Headers can also be read. There is a FilenameTag, a ID3v2.4 tag that is intelligently derived from the file name. It contains tag synchronization utilities, multiple save options, and easy tag conversion methods.

The newest version!
package org.farng.mp3.id3;

import org.farng.mp3.InvalidTagException;

import java.io.RandomAccessFile;

/**
 *    The 'Initial key' frame contains the musical key in which the sound
   starts. It is * represented as a string with a maximum length of three
*

*    characters. The ground keys are represented with "A","B","C","D","E", *
   "F" and "G" and halfkeys represented with "b" and "#". * Minor is
*

*    represented as "m", e.g. "Dbm" $00. Off key is represented with an
   * "o" only.

* * @author Eric Farng * @version $Revision: 1.4 $ */ public class FrameBodyTKEY extends AbstractFrameBodyTextInformation { /** * Creates a new FrameBodyTKEY object. */ public FrameBodyTKEY() { super(); } /** * Creates a new FrameBodyTKEY object. */ public FrameBodyTKEY(final FrameBodyTKEY body) { super(body); } /** * Creates a new FrameBodyTKEY object. */ public FrameBodyTKEY(final byte textEncoding, final String text) { super(textEncoding, text); } /** * Creates a new FrameBodyTKEY object. */ public FrameBodyTKEY(final RandomAccessFile file) throws java.io.IOException, InvalidTagException { super(file); } public String getIdentifier() { return "TKEY"; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy