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.KaitaiStructStores 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()RekordboxAnlz_root()byte[]_unnamed3()byte[]_unnamed5()intendBeat()The beat number at which the last phrase ends.ArrayList<RekordboxAnlz.SongStructureEntry>entries()static RekordboxAnlz.SongStructureTagfromFile(String fileName)intlenEntries()The number of phrases.longlenEntryBytes()The size of each entry, in bytes.RekordboxAnlz.PhraseStylestyle()The phrase style.
-
-
-
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
-
lenEntryBytes
public long lenEntryBytes()
The size of each entry, in bytes. Seems to always be 24.
-
lenEntries
public int lenEntries()
The number of phrases.
-
style
public RekordboxAnlz.PhraseStyle style()
The phrase style. 1 is the up-down style (white label text in rekordbox) where the main phrases consist of up, down, and chorus. 2 is the bridge-verse style (black label text in rekordbox) where the main phrases consist of verse, chorus, and bridge. Style 3 is mostly identical to bridge-verse style except verses 1-3 are labeled VERSE1 and verses 4-6 are labeled VERSE2 in rekordbox.
-
_unnamed3
public byte[] _unnamed3()
-
endBeat
public int endBeat()
The beat number at which the last phrase ends. The track may continue after the last phrase ends. If this is the case, it will mostly be silence.
-
_unnamed5
public byte[] _unnamed5()
-
entries
public ArrayList<RekordboxAnlz.SongStructureEntry> entries()
-
_root
public RekordboxAnlz _root()
-
_parent
public RekordboxAnlz.TaggedSection _parent()
-
-