org.jaudiotagger.tag.id3.framebody
Class FrameBodyEQUA
java.lang.Object
org.jaudiotagger.tag.id3.AbstractTagItem
org.jaudiotagger.tag.id3.AbstractTagFrameBody
org.jaudiotagger.tag.id3.framebody.AbstractID3v2FrameBody
org.jaudiotagger.tag.id3.framebody.FrameBodyEQUA
- All Implemented Interfaces:
- ID3v23FrameBody
public class FrameBodyEQUA
- extends AbstractID3v2FrameBody
- implements ID3v23FrameBody
Equalisation frame.
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.
For more details, please refer to the ID3 specifications:
- Version:
- $Id: FrameBodyEQUA.java,v 1.9 2008/01/01 15:14:16 paultaylor Exp $
- Author:
- : Paul Taylor, : Eric Farng
Methods inherited from class org.jaudiotagger.tag.id3.AbstractTagFrameBody |
getBriefDescription, getHeader, getLongDescription, getObject, getObjectValue, getTextEncoding, isSubsetOf, iterator, setHeader, setObjectValue, setTextEncoding, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FrameBodyEQUA
public FrameBodyEQUA()
- Creates a new FrameBodyEQUA datatype.
FrameBodyEQUA
public FrameBodyEQUA(FrameBodyEQUA body)
getIdentifier
public java.lang.String getIdentifier()
- The ID3v2 frame identifier
- Specified by:
getIdentifier
in class AbstractID3v2FrameBody
- Returns:
- the ID3v2 frame identifier for this frame type
setupObjectList
protected void setupObjectList()
- TODO:proper mapping
- Specified by:
setupObjectList
in class AbstractTagFrameBody