public class OverlapUnitConcatenator extends BaseUnitConcatenator
Modifier and Type | Class and Description |
---|---|
static class |
OverlapUnitConcatenator.OverlapUnitData |
BaseUnitConcatenator.UnitData
audioformat, database, logger, prosodyAnalyzer, timeline, unitToTimelineSampleRateFactor
Constructor and Description |
---|
OverlapUnitConcatenator() |
Modifier and Type | Method and Description |
---|---|
protected void |
determineTargetPitchmarks(List<SelectedUnit> units)
Determine target pitchmarks (= duration and f0) for each unit.
|
protected AudioInputStream |
generateAudioStream(List<SelectedUnit> units)
Generate audio to match the target pitchmarks as closely as possible.
|
protected void |
getDatagramsFromTimeline(List<SelectedUnit> units)
Get the raw audio material for each unit from the timeline.
|
createZeroDatagram, getAudio, getAudioFormat, load, unitToTimeline, unitToTimeline
protected void getDatagramsFromTimeline(List<SelectedUnit> units) throws IOException
getDatagramsFromTimeline
in class BaseUnitConcatenator
units
- unitsIOException
- IOExceptionprotected void determineTargetPitchmarks(List<SelectedUnit> units)
determineTargetPitchmarks
in class BaseUnitConcatenator
units
- unitsprotected AudioInputStream generateAudioStream(List<SelectedUnit> units) throws IOException
generateAudioStream
in class BaseUnitConcatenator
units
- unitsIOException
- IOExceptionCopyright © 2000–2016 DFKI GmbH. All rights reserved.