Named tunes are defined in the text file:
phsource/intonation. This file must be compiled for use by eSpeak by using the espeakedit program, using the menu option:
Compile -> Compile intonation data.
tunesstatement in a voice file in
tunes s1 c1 q1 e1
It's parameters are four tune names which are used for clauses which end in:
A clause consists of the following parts:
tune s1 prehead 46 57 headenv fall 16 head 4 80 55 -8 -5 headextend 0 63 38 13 0 nucleus fall 70 18 24 12 nucleus0 fall 64 8 endtune
tune namecan be used in a
tunesstatements in voice files.
headlastsyllables if these are specified.
heightgives a pitch range for the envelope.
end pitchgive a pitch path for the stressed syllables of the head.
stepsis the maximum number of stressed syllables for which this applies. If there are additional stressed syllables, then the
headextendstatement is used for them.
unstressed start and
unstressed end give a pitch path for unstressed syllables between two stressed syllables. Their values are relative to the pitch of the previous stressed syllable. Values are usually negative, meaning that the unstressed syllables have lower pitch than the previous stressed syllable.
percentage listis used. It contains up to 8 numbers which are used repeatedly for the additional stressed syllables. A value of 0 corresponds to the lower the
end pitchvalues of the
headstatement. 100 corresponds to the higher value. Negative values and values greater than 100 are allowed.
tail endgive a pitch path for the unstressed syllables which are after the last stressed syllable.
nucleusif there are no unstressed syllables after the last stressed syllable. In this case, the pitch changes of the nucleus and the tail and both included in the nucleus.
The following attributes may also be included:
onsetstatement is present, then the
headstatement used for the stressed syllables after the first.