All Downloads are FREE. Search and download functionalities are using the official Maven repository.

marytts.tools.voiceimport.templates.unitselection-voice.config Maven / Gradle / Ivy

The newest version!
# Auto-generated config file for voice ${VOICENAME}

name = ${VOICENAME}
locale = ${LOCALE}

####################################################################
####################### Module settings  ###########################
####################################################################
# For keys ending in ".list", values will be appended across config files,
# so that .list keys can occur in several config files.
# For all other keys, values will be copied to the global config, so
# keys should be unique across config files.

unitselection.voices.list = \
	${VOICENAME}

# If this setting is not present, a default value of 0 is assumed.
# More means higher assumed quality.
voice.${VOICENAME}.wants.to.be.default = 0


# Set your voice specifications
voice.${VOICENAME}.gender = ${GENDER}
voice.${VOICENAME}.locale = ${LOCALE}
voice.${VOICENAME}.domain = ${DOMAIN}
voice.${VOICENAME}.samplingRate = ${SAMPLINGRATE}

# Relative weight of the target cost function vs. the join cost function
voice.${VOICENAME}.viterbi.wTargetCosts = 0.7

# Beam size in dynamic programming: smaller => faster but worse quality.
# (set to -1 to disable beam search; very slow but best available quality)
voice.${VOICENAME}.viterbi.beamsize = 100

# Java classes to use for the various unit selection components
voice.${VOICENAME}.databaseClass            = marytts.unitselection.data.DiphoneUnitDatabase
voice.${VOICENAME}.selectorClass            = marytts.unitselection.select.DiphoneUnitSelector
voice.${VOICENAME}.concatenatorClass        = marytts.unitselection.concat.OverlapUnitConcatenator
voice.${VOICENAME}.targetCostClass          = marytts.unitselection.select.DiphoneFFRTargetCostFunction
voice.${VOICENAME}.joinCostClass            = marytts.unitselection.select.JoinCostFeatures
voice.${VOICENAME}.unitReaderClass          = marytts.unitselection.data.UnitFileReader
voice.${VOICENAME}.cartReaderClass          = marytts.cart.io.MARYCartReader
voice.${VOICENAME}.audioTimelineReaderClass = marytts.unitselection.data.TimelineReader

# Voice-specific files
voice.${VOICENAME}.featureFile       = MARY_BASE/lib/voices/${VOICENAME}/halfphoneFeatures_ac.mry
voice.${VOICENAME}.targetCostWeights = jar:/marytts/voice/${PACKAGE}/halfphoneUnitFeatureDefinition_ac.txt
voice.${VOICENAME}.joinCostFile      = MARY_BASE/lib/voices/${VOICENAME}/joinCostFeatures.mry
voice.${VOICENAME}.joinCostWeights   = jar:/marytts/voice/${PACKAGE}/joinCostWeights.txt
voice.${VOICENAME}.unitsFile         = MARY_BASE/lib/voices/${VOICENAME}/halfphoneUnits.mry
voice.${VOICENAME}.cartFile          = jar:/marytts/voice/${PACKAGE}/cart.mry
voice.${VOICENAME}.audioTimelineFile = MARY_BASE/lib/voices/${VOICENAME}/timeline_waveforms.mry
voice.${VOICENAME}.basenameTimeline  = MARY_BASE/lib/voices/${VOICENAME}/timeline_basenames.mry

# Modules to use for predicting acoustic target features for this voice:

voice.${VOICENAME}.acousticModels = duration F0 midF0 rightF0

voice.${VOICENAME}.duration.model = cart
voice.${VOICENAME}.duration.data = jar:/marytts/voice/${PACKAGE}/dur.tree
voice.${VOICENAME}.duration.attribute = d

voice.${VOICENAME}.F0.model = cart
voice.${VOICENAME}.F0.data = jar:/marytts/voice/${PACKAGE}/f0.left.tree
voice.${VOICENAME}.F0.attribute = f0
voice.${VOICENAME}.F0.attribute.format = (0,%.0f)
voice.${VOICENAME}.F0.predictFrom = firstVowels
voice.${VOICENAME}.F0.applyTo = firstVoicedSegments

voice.${VOICENAME}.midF0.model = cart
voice.${VOICENAME}.midF0.data = jar:/marytts/voice/${PACKAGE}/f0.mid.tree
voice.${VOICENAME}.midF0.attribute = f0
voice.${VOICENAME}.midF0.attribute.format = (50,%.0f)
voice.${VOICENAME}.midF0.predictFrom = firstVowels
voice.${VOICENAME}.midF0.applyTo = firstVowels

voice.${VOICENAME}.rightF0.model = cart
voice.${VOICENAME}.rightF0.data = jar:/marytts/voice/${PACKAGE}/f0.right.tree
voice.${VOICENAME}.rightF0.attribute = f0
voice.${VOICENAME}.rightF0.attribute.format = (100,%.0f)
voice.${VOICENAME}.rightF0.predictFrom = firstVowels
voice.${VOICENAME}.rightF0.applyTo = lastVoicedSegments




© 2015 - 2025 Weber Informatics LLC | Privacy Policy