Package org.deepsymmetry.cratedigger.pdb
Class RekordboxAnlz.SongStructureTag
- java.lang.Object
-
- io.kaitai.struct.KaitaiStruct
-
- org.deepsymmetry.cratedigger.pdb.RekordboxAnlz.SongStructureTag
-
- Enclosing class:
- RekordboxAnlz
public static class RekordboxAnlz.SongStructureTag extends io.kaitai.struct.KaitaiStruct
Stores the song structure, also known as phrases (intro, verse, bridge, chorus, up, down, outro).
-
-
Constructor Summary
Constructors Constructor Description SongStructureTag(io.kaitai.struct.KaitaiStream _io)
SongStructureTag(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.TaggedSection _parent)
SongStructureTag(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.TaggedSection _parent, RekordboxAnlz _root)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RekordboxAnlz.TaggedSection
_parent()
byte[]
_raw__raw_body()
byte[]
_raw_body()
RekordboxAnlz
_root()
RekordboxAnlz.SongStructureBody
body()
The rest of the tag, which needs to be unmasked before it can be parsed.Integer
c()
static RekordboxAnlz.SongStructureTag
fromFile(String fileName)
Boolean
isMasked()
int
lenEntries()
The number of phrases.long
lenEntryBytes()
The size of each entry, in bytes.byte[]
mask()
Integer
rawMood()
This is a way to tell whether the rest of the tag has been masked.
-
-
-
Constructor Detail
-
SongStructureTag
public SongStructureTag(io.kaitai.struct.KaitaiStream _io)
-
SongStructureTag
public SongStructureTag(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.TaggedSection _parent)
-
SongStructureTag
public SongStructureTag(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.TaggedSection _parent, RekordboxAnlz _root)
-
-
Method Detail
-
fromFile
public static RekordboxAnlz.SongStructureTag fromFile(String fileName) throws IOException
- Throws:
IOException
-
c
public Integer c()
-
mask
public byte[] mask()
-
rawMood
public Integer rawMood()
This is a way to tell whether the rest of the tag has been masked. The value is supposed to range from 1 to 3, but in masked files it will be much larger.
-
isMasked
public Boolean isMasked()
-
lenEntryBytes
public long lenEntryBytes()
The size of each entry, in bytes. Seems to always be 24.
-
lenEntries
public int lenEntries()
The number of phrases.
-
body
public RekordboxAnlz.SongStructureBody body()
The rest of the tag, which needs to be unmasked before it can be parsed.
-
_root
public RekordboxAnlz _root()
-
_parent
public RekordboxAnlz.TaggedSection _parent()
- Overrides:
_parent
in classio.kaitai.struct.KaitaiStruct
-
_raw_body
public byte[] _raw_body()
-
_raw__raw_body
public byte[] _raw__raw_body()
-
-