Package org.deepsymmetry.cratedigger.pdb
Class RekordboxAnlz.BeatGridBeat
- java.lang.Object
-
- io.kaitai.struct.KaitaiStruct
-
- org.deepsymmetry.cratedigger.pdb.RekordboxAnlz.BeatGridBeat
-
- Enclosing class:
- RekordboxAnlz
public static class RekordboxAnlz.BeatGridBeat extends io.kaitai.struct.KaitaiStruct
Describes an individual beat in a beat grid.
-
-
Constructor Summary
Constructors Constructor Description BeatGridBeat(io.kaitai.struct.KaitaiStream _io)
BeatGridBeat(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.BeatGridTag _parent)
BeatGridBeat(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.BeatGridTag _parent, RekordboxAnlz _root)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RekordboxAnlz.BeatGridTag
_parent()
RekordboxAnlz
_root()
int
beatNumber()
The position of the beat within its musical bar, where beat 1 is the down beat.static RekordboxAnlz.BeatGridBeat
fromFile(String fileName)
int
tempo()
The tempo at the time of this beat, in beats per minute, multiplied by 100.long
time()
The time, in milliseconds, at which this beat occurs when the track is played at normal (100%) pitch.
-
-
-
Constructor Detail
-
BeatGridBeat
public BeatGridBeat(io.kaitai.struct.KaitaiStream _io)
-
BeatGridBeat
public BeatGridBeat(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.BeatGridTag _parent)
-
BeatGridBeat
public BeatGridBeat(io.kaitai.struct.KaitaiStream _io, RekordboxAnlz.BeatGridTag _parent, RekordboxAnlz _root)
-
-
Method Detail
-
fromFile
public static RekordboxAnlz.BeatGridBeat fromFile(String fileName) throws IOException
- Throws:
IOException
-
beatNumber
public int beatNumber()
The position of the beat within its musical bar, where beat 1 is the down beat.
-
tempo
public int tempo()
The tempo at the time of this beat, in beats per minute, multiplied by 100.
-
time
public long time()
The time, in milliseconds, at which this beat occurs when the track is played at normal (100%) pitch.
-
_root
public RekordboxAnlz _root()
-
_parent
public RekordboxAnlz.BeatGridTag _parent()
- Overrides:
_parent
in classio.kaitai.struct.KaitaiStruct
-
-