Package | Description |
---|---|
marytts.signalproc.process | |
marytts.tools.voiceimport | |
marytts.unitselection.analysis | |
marytts.unitselection.concat | |
marytts.unitselection.data | |
marytts.util.data |
Various relatively generic utilities for data generation and buffering.
|
Modifier and Type | Method and Description |
---|---|
DDSAudioInputStream |
FDPSOLAProcessor.process(Datagram[][] datagrams,
Datagram[] rightContexts,
AudioFormat audioformat,
boolean[][] voicings,
double[][] pitchScales,
double[][] timeScales) |
DDSAudioInputStream |
FDPSOLAProcessor.process(Datagram[][] datagrams,
Datagram[] rightContexts,
AudioFormat audioformat,
boolean[][] voicings,
double[][] pitchScales,
double[][] timeScales) |
double[] |
FDPSOLAProcessor.processDatagram(Datagram[] datagrams,
Datagram rightContext,
AudioFormat audioformat,
boolean[] voicings,
double[] pitchScales,
double[] timeScales,
boolean bLastDatagram) |
double[] |
FDPSOLAProcessor.processDatagram(Datagram[] datagrams,
Datagram rightContext,
AudioFormat audioformat,
boolean[] voicings,
double[] pitchScales,
double[] timeScales,
boolean bLastDatagram) |
DDSAudioInputStream |
FDPSOLAProcessor.processDecrufted(Datagram[][] datagrams,
Datagram[] rightContexts,
AudioFormat audioformat,
boolean[][] voicings,
double[][] pitchScales,
double[][] timeScales)
Functionally equivalent to
FDPSOLAProcessor.process(marytts.util.data.Datagram[][], marytts.util.data.Datagram[], javax.sound.sampled.AudioFormat, boolean[][], double[][], double[][]) (but with most of the cruft removed, which should make this easier to modify) |
DDSAudioInputStream |
FDPSOLAProcessor.processDecrufted(Datagram[][] datagrams,
Datagram[] rightContexts,
AudioFormat audioformat,
boolean[][] voicings,
double[][] pitchScales,
double[][] timeScales)
Functionally equivalent to
FDPSOLAProcessor.process(marytts.util.data.Datagram[][], marytts.util.data.Datagram[], javax.sound.sampled.AudioFormat, boolean[][], double[][], double[][]) (but with most of the cruft removed, which should make this easier to modify) |
Modifier and Type | Method and Description |
---|---|
void |
TimelineWriter.feed(Datagram[] dArray,
int reqSampleTime)
Write a series of datagrams to the timeline.
|
void |
TimelineWriter.feed(Datagram d,
int reqSampleRate)
Write one datagram to the timeline.
|
Modifier and Type | Method and Description |
---|---|
Datagram[] |
Phone.getLeftUnitFrames()
Get this phone's left unit's Datagrams
|
Datagram[] |
Phone.getRightUnitFrames()
Get this phone's right unit's Datagrams
|
Datagram[] |
Phone.getUnitDataFrames()
Get all Datagrams in this phone's units
|
Modifier and Type | Method and Description |
---|---|
protected double |
VoiceDataDumper.getDuration(Datagram[] datagrams)
Get total duration of a Datagram array
|
protected byte[] |
VoiceDataDumper.getSamples(Datagram[] datagrams)
Get raw samples from all Datagrams in an array
|
protected byte[] |
HnmVoiceDataDumper.getSamples(Datagram[] datagrams)
Get raw samples from all Datagrams in an array
|
Modifier and Type | Field and Description |
---|---|
protected Datagram[][] |
DatagramOverlapDoubleDataSource.datagrams |
protected Datagram[] |
BaseUnitConcatenator.UnitData.frames |
protected Datagram |
HnmUnitConcatenator.HnmUnitData.leftContextFrame |
protected Datagram |
OverlapUnitConcatenator.OverlapUnitData.rightContextFrame |
protected Datagram |
BaseUnitConcatenator.UnitData.rightContextFrame |
protected Datagram[] |
DatagramOverlapDoubleDataSource.rightContexts |
Modifier and Type | Method and Description |
---|---|
protected Datagram |
BaseUnitConcatenator.createZeroDatagram(int length)
Create a datagram appropriate for this unit concatenator which contains only zero values as samples.
|
Datagram |
BaseUnitConcatenator.UnitData.getFrame(int frameIndex) |
Datagram[] |
BaseUnitConcatenator.UnitData.getFrames() |
Datagram |
HnmUnitConcatenator.HnmUnitData.getLeftContextFrame() |
protected Datagram[][] |
FdpsolaUnitConcatenator.getRealizedDatagrams(List<Phone> phones) |
protected Datagram[] |
FdpsolaUnitConcatenator.getRealizedRightContexts(List<Phone> phones) |
Datagram |
OverlapUnitConcatenator.OverlapUnitData.getRightContextFrame() |
Datagram |
BaseUnitConcatenator.UnitData.getRightContextFrame() |
Modifier and Type | Method and Description |
---|---|
protected int |
DatagramOverlapDoubleDataSource.readDatagram(Datagram d,
double[] target,
int pos) |
void |
BaseUnitConcatenator.UnitData.setFrame(int frameIndex,
Datagram frame) |
void |
BaseUnitConcatenator.UnitData.setFrames(Datagram[] frames) |
void |
HnmUnitConcatenator.HnmUnitData.setLeftContextFrame(Datagram aLeftContextFrame) |
void |
OverlapUnitConcatenator.OverlapUnitData.setRightContextFrame(Datagram aRightContextFrame) |
void |
BaseUnitConcatenator.UnitData.setRightContextFrame(Datagram aRightContextFrame) |
protected BufferedDoubleDataSource |
HnmUnitConcatenator.synthesize(Datagram[][] datagrams,
Datagram[] leftContexts,
Datagram[] rightContexts) |
protected BufferedDoubleDataSource |
HnmUnitConcatenator.synthesize(Datagram[][] datagrams,
Datagram[] leftContexts,
Datagram[] rightContexts) |
protected BufferedDoubleDataSource |
HnmUnitConcatenator.synthesize(Datagram[][] datagrams,
Datagram[] leftContexts,
Datagram[] rightContexts) |
Constructor and Description |
---|
DatagramOverlapDoubleDataSource(Datagram[][] datagrams,
Datagram[] rightContexts)
Construct an double data source from the given array of datagram arrays and right contexts.
|
DatagramOverlapDoubleDataSource(Datagram[][] datagrams,
Datagram[] rightContexts)
Construct an double data source from the given array of datagram arrays and right contexts.
|
Modifier and Type | Class and Description |
---|---|
class |
FloatArrayDatagram
Extension of Datagram to provide a float array instead of (actually alongside) a byte array
|
class |
HnmDatagram
A datagram that encapsulates a harmonics plus noise modelled speech frame
|
class |
LPCDatagram |
class |
MCepDatagram |
Modifier and Type | Method and Description |
---|---|
Datagram |
TimelineReader.getDatagram(long targetTimeInSamples)
Get a single datagram from a particular time location, given in the timeline's sampling rate.
|
Datagram |
TimelineReader.getDatagram(long targetTimeInSamples,
int reqSampleRate)
Get a single datagram from a particular time location.
|
Datagram[] |
TimelineReader.getDatagrams(long targetTimeInSamples,
int number,
int reqSampleRate,
long[] returnOffset)
Get a given number of datagrams from a particular time location, and return the time offset between the time request and
the actual location of the first returned datagram.
|
Datagram[] |
TimelineReader.getDatagrams(long targetTimeInSamples,
long timeSpanInSamples)
Get a given number of datagrams from a particular time location.
|
Datagram[] |
TimelineReader.getDatagrams(long targetTimeInSamples,
long timeSpanInSamples,
int reqSampleRate)
Get the datagrams spanning a particular time range from a particular time location.
|
Datagram[] |
TimelineReader.getDatagrams(long targetTimeInSamples,
long timeSpanInSamples,
int reqSampleRate,
long[] returnOffset)
Get the datagrams spanning a particular time range from a particular time location, and return the time offset between the
time request and the actual location of the first returned datagram.
|
Datagram[] |
TimelineReader.getDatagrams(Unit unit,
int reqSampleRate)
Get the datagrams spanning a particular unit.
|
Datagram[] |
TimelineReader.getDatagrams(Unit unit,
int reqSampleRate,
long[] returnOffset)
Get the datagrams spanning a particular unit, and return the time offset between the unit request and the actual location
of the first returned datagram.
|
protected Datagram |
TimelineReader.getNextDatagram(ByteBuffer bb)
Read and return the upcoming datagram from the given byte buffer.
|
protected Datagram |
MCepTimelineReader.getNextDatagram(ByteBuffer bb)
Read and return the upcoming datagram.
|
protected Datagram |
LPCTimelineReader.getNextDatagram(ByteBuffer bb)
Read and return the upcoming datagram.
|
protected Datagram |
HnmTimelineReader.getNextDatagram(ByteBuffer bb)
Read and return the upcoming datagram from the given byte buffer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MCepDatagram.equals(Datagram other)
Tests if this datagram is equal to another datagram.
|
boolean |
LPCDatagram.equals(Datagram other)
Tests if this datagram is equal to another datagram.
|
boolean |
HnmDatagram.equals(Datagram other)
Tests if this datagram is equal to another datagram.
|
Modifier and Type | Field and Description |
---|---|
protected LinkedList<Datagram> |
DatagramDoubleDataSource.datagrams |
Modifier and Type | Method and Description |
---|---|
protected int |
DatagramDoubleDataSource.readDatagram(Datagram d,
double[] target,
int pos) |
Constructor and Description |
---|
DatagramDoubleDataSource(Datagram[] datagrams)
Construct an double data source from the given array of datagrams.
|
Constructor and Description |
---|
DatagramDoubleDataSource(LinkedList<Datagram> datagrams)
Construct an double data source from the given array of datagrams.
|
Copyright © 2000–2016 DFKI GmbH. All rights reserved.