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

org.farng.mp3.id3.FrameBodyEQUA 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;

/**
 * 

4.13.Equalisation

*

*

This is another subjective, alignment frame. It allows the user to predefine an equalisation curve within * the audio file. There may only be one "EQUA" frame in each tag.

*

*

*

*

<Header of 'Equalisation', ID: "EQUA">
Adjustment * bits$xx
*

*

The 'adjustment bits' field defines the number of bits used for representation of the adjustment. This is * normally $10 (16 bits) for MPEG 2 layer I, II and III and MPEG 2.5. This value may not be $00. *

*

*

*

This is followed by 2 bytes + ('adjustment bits' rounded up to the nearest byte) for every equalisation * band in the following format, giving a frequency range of 0 - 32767Hz:

*

*

* *

*

Increment/decrement%x (MSB of the Frequency)
Frequency (lower 15 bits)
Adjustment$xx (xx ...)
*

*

The increment/decrement bit is 1 for increment and 0 for decrement. The equalisation bands should be * ordered increasingly with reference to frequency. All frequencies don't have to be declared. The equalisation curve * in the reading software should be interpolated between the values in this frame. Three equal adjustments for three * subsequent frequencies. A frequency should only be described once in the frame.

* * @author Eric Farng * @version $Revision: 1.3 $ */ public class FrameBodyEQUA extends AbstractID3v2FrameBody { /** * Creates a new FrameBodyEQUA object. */ public FrameBodyEQUA() { super(); } /** * Creates a new FrameBodyEQUA object. */ public FrameBodyEQUA(final FrameBodyEQUA body) { super(body); } protected void setupObjectList() { throw new UnsupportedOperationException("This frame has not been implemented."); } public String getIdentifier() { throw new UnsupportedOperationException("This frame has not been implemented."); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy