public class MCepTimelineReader extends TimelineReader
TimelineReader.IdxField, TimelineReader.Index, TimelineReader.ProcHeader
Modifier and Type | Field and Description |
---|---|
protected int |
order |
datagramsBytePos, idx, maryHdr, numDatagrams, procHdr, sampleRate, timeIdxBytePos, totalDuration
Constructor and Description |
---|
MCepTimelineReader(String fileName) |
Modifier and Type | Method and Description |
---|---|
protected Datagram |
getNextDatagram(ByteBuffer bb)
Read and return the upcoming datagram.
|
int |
getOrder() |
protected void |
load(String fileName)
Load a timeline from a file.
|
computeTotalDuration, getByteBufferAtTime, getDatagram, getDatagram, getDatagrams, getDatagrams, getDatagrams, getDatagrams, getDatagrams, getDatagrams, getDatagramsBytePos, getIndex, getMappedByteBufferAtTime, getNumDatagrams, getProcHeaderContents, getSampleRate, getTotalDuration, hopToTime, load, loadByteBufferAtTime, scaleTime, skipNextDatagram, unScaleTime
public MCepTimelineReader(String fileName) throws IOException, MaryConfigurationException
protected void load(String fileName) throws IOException, MaryConfigurationException
TimelineReader
load
in class TimelineReader
fileName
- The file to read the timeline from. Must be non-null and point to a valid timeline file.IOException
- if a problem occurs during readingMaryConfigurationException
- if fileName does not point to a valid timeline filepublic int getOrder()
protected Datagram getNextDatagram(ByteBuffer bb)
getNextDatagram
in class TimelineReader
bb
- bbCopyright © 2000–2016 DFKI GmbH. All rights reserved.