Package org.deepsymmetry.cratedigger.pdb
Class RekordboxAnlz.CueExtendedEntry
- java.lang.Object
-
- io.kaitai.struct.KaitaiStruct
-
- org.deepsymmetry.cratedigger.pdb.RekordboxAnlz.CueExtendedEntry
-
- Enclosing class:
- RekordboxAnlz
public static class RekordboxAnlz.CueExtendedEntry extends io.kaitai.struct.KaitaiStruct
A cue extended list entry. Can either describe a memory cue or a loop.
-
-
Constructor Summary
Constructors Constructor Description CueExtendedEntry(io.kaitai.struct.KaitaiStream _io)
CueExtendedEntry(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.CueExtendedTag _parent)
CueExtendedEntry(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.CueExtendedTag _parent, RekordboxAnlz _root)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RekordboxAnlz.CueExtendedTag
_parent()
RekordboxAnlz
_root()
byte[]
_unnamed18()
byte[]
_unnamed5()
byte[]
_unnamed9()
Integer
colorBlue()
The blue component of the hot cue color to be displayed.Integer
colorCode()
A lookup value for a color table? We use this to index to the hot cue colors shown in rekordbox.Integer
colorGreen()
The green component of the hot cue color to be displayed.int
colorId()
References a row in the colors table if this is a memory cue or loop and has been assigned a color.Integer
colorRed()
The red component of the hot cue color to be displayed.String
comment()
The comment assigned to this cue by the DJ, if any, with a trailing NUL.static RekordboxAnlz.CueExtendedEntry
fromFile(String fileName)
long
hotCue()
If zero, this is an ordinary memory cue, otherwise this a hot cue with the specified number.Long
lenComment()
long
lenEntry()
long
lenHeader()
int
loopDenominator()
The denominator of the loop length in beats.int
loopNumerator()
The numerator of the loop length in beats.long
loopTime()
The position, in milliseconds, at which the player loops back to the cue time if this is a loop.byte[]
magic()
Identifies this as an extended cue list entry (cue point).long
time()
The position, in milliseconds, at which the cue point lies in the track.RekordboxAnlz.CueEntryType
type()
Indicates whether this is a regular cue point or a loop.
-
-
-
Constructor Detail
-
CueExtendedEntry
public CueExtendedEntry(io.kaitai.struct.KaitaiStream _io)
-
CueExtendedEntry
public CueExtendedEntry(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.CueExtendedTag _parent)
-
CueExtendedEntry
public CueExtendedEntry(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.CueExtendedTag _parent, RekordboxAnlz _root)
-
-
Method Detail
-
fromFile
public static RekordboxAnlz.CueExtendedEntry fromFile(String fileName) throws IOException
- Throws:
IOException
-
magic
public byte[] magic()
Identifies this as an extended cue list entry (cue point).
-
lenHeader
public long lenHeader()
-
lenEntry
public long lenEntry()
-
hotCue
public long hotCue()
If zero, this is an ordinary memory cue, otherwise this a hot cue with the specified number.
-
type
public RekordboxAnlz.CueEntryType type()
Indicates whether this is a regular cue point or a loop.
-
_unnamed5
public byte[] _unnamed5()
-
time
public long time()
The position, in milliseconds, at which the cue point lies in the track.
-
loopTime
public long loopTime()
The position, in milliseconds, at which the player loops back to the cue time if this is a loop.
-
colorId
public int colorId()
References a row in the colors table if this is a memory cue or loop and has been assigned a color.
-
_unnamed9
public byte[] _unnamed9()
-
loopNumerator
public int loopNumerator()
The numerator of the loop length in beats. Zero if the loop is not quantized.
-
loopDenominator
public int loopDenominator()
The denominator of the loop length in beats. Zero if the loop is not quantized.
-
lenComment
public Long lenComment()
-
comment
public String comment()
The comment assigned to this cue by the DJ, if any, with a trailing NUL.
-
colorCode
public Integer colorCode()
A lookup value for a color table? We use this to index to the hot cue colors shown in rekordbox.
-
colorRed
public Integer colorRed()
The red component of the hot cue color to be displayed.
-
colorGreen
public Integer colorGreen()
The green component of the hot cue color to be displayed.
-
colorBlue
public Integer colorBlue()
The blue component of the hot cue color to be displayed.
-
_unnamed18
public byte[] _unnamed18()
-
_root
public RekordboxAnlz _root()
-
_parent
public RekordboxAnlz.CueExtendedTag _parent()
- Overrides:
_parent
in classio.kaitai.struct.KaitaiStruct
-
-