Intonation and pauses
Shape the melody of synthesized speech and set the length of pauses with punctuation and SSML.
Master the art of customizing speech synthesis intonation with SSML on our dedicated documentation page. Learn to personalize your AI voice with precision and creativity for a truly tailored and engaging auditory experience!
Intonation curve
Text-to-speech synthesis is also able to automatically detect the sentence type and set the corresponding intonation curve. This means that you can easily create a synthesized voice that sounds natural and matches the text you enter accurately.


In the dialogue window, you can see the width of each word segment(x-axis) on the intonation curve.
Keep in mind that longer words contain more vowels and therefore more opportunities for the intonation curve to be modified.
By default, the intonation curve is represented by a straight line at 0%. However, this does not mean that the basic intonation is completely flat! The tool allows you to adjust the pitch relative to the automatic basic synthesis.
A maximum of five intonation points can be plotted on the curve for a single section.
In Azure Audio Content Creator, you can adjust intonation in sections, which means you can set intonation for each sub-section, phrase, or word separately, instead of having to set intonation for the whole sentence. This allows you to capture different intonation nuances more accurately and gives you more control over how the neural voice will appear.
Accentuating intonation allows listeners to distinguish between the different ideas and information contained in a sentence. By adjusting intonation curves, you can highlight important points or emphasize changes in mood or emotion, which will help the listener better understand and remember what the voice is saying.
Melody patterns
Here are some examples of inflexion patterns you can achieve:
To create a rising intonation pattern, you would place anchor points at the beginning of a phrase or sentence and gradually raise the pitch as you move forward in time. This pattern is commonly associated with questions or uncertainty.
A falling intonation pattern involves placing anchor points at the beginning of a phrase or sentence and gradually lowering the pitch as you move forward in time. This pattern often signals a statement or completion.
You can create a fluctuating intonation pattern by adding anchor points at various positions along the Intonation curve. This pattern involves both rising and falling pitch movements, conveying emphasis or highlighting important information.
A plateau intonation pattern maintains a relatively steady pitch without significant changes. You would position anchor points at similar heights along the curve, resulting in a flat or level pitch. This pattern is often used for conveying neutral or declarative statements.
Want more detailed tips ⁉️
Pauses and breaks best practice
Basics
The <break> tag is used to create a pause of a given length in the text. This tag can be used, for example, to express a pause between words or sentences, which can help to improve the naturalness of the delivery.
The <break> tag in SSML is used to insert a pause or a break in the speech output. It allows you to specify the duration and the strength of the pause. The <break> tag can be used with the following attributes:
time: Specifies the duration of the pause in seconds or milliseconds. For example, <break time="500ms"/> inserts a pause of 500 milliseconds.
strength: Specifies the strength or intensity of the pause. It can have values like "none", "x-weak", "weak", "medium", "strong", or "x-strong". The actual interpretation of these values may depend on the specific text-to-speech engine used.
Example
Hello, <break time="500ms"/> how are you today?
Hello, <break strength="medium"/> how are you today?
A normal punctuation dot is an interruption of approximately 200-300 ms. If you find these pauses too long, we recommend replacing the punctuation with a shorter break. Ideally 100 ms, but never less than 50 ms.
By setting different pause lengths, we can influence the rhythm of speech. For example, set a shorter pause between sentences that form a single thought than at the front of different thoughts. Millisecond differences in pause length are almost imperceptible to the conscious human. However the different impression of synthesis is mainly created by the change of rhythm between sections. We can take advantage of this and better separate the individual information.
For example, a message can be divided into the sections acknowledgement → argumentation → call to action → confirmation question. The argumentation consists of several sentences that form one train of thought, so it gets shorter pauses; the 100 ms gap between sections is more distinctive:
The break also affects the intonation of the sentence and acts as an intonation dot, i.e. the intonation curve drops at the end.
Sometimes, however, we need to edit a pause between words or parts of sentences without intonating a full stop after the sentence. A softer drop in voice and at the same time a pause are provided by other signs, the most prominent of which is the punctuation mark, and slightly more subtle are the colon, semicolon or dash.
Prominent pauses: Něco končí <break strength="weak"/> Něco začíná. Něco končí <break time="100ms"/> Něco začíná. Něco končí. Něco začíná.
Softer pauses: Něco končí; něco začíná. Něco končí, něco začíná Něco končí: něco začíná. Něco končí- něco začíná.
It is recommended that these marks be added at the point where the voice drop and short pause are to occur, or that they replace the original punctuation. If the pause is too short, write several of these signs in a row, adding their lengths together.
Něco končí,,, něco začíná. Něco končí;; něco začíná.
Example
Note that we have applied multiple strategies to improve the quality of the synthesis in the example.
We have rewritten the graphical distinction of the options with words (A. ---> option A);
Replacing punctuation marks with a break tag of a chosen length;
Combining additional punctuation marks between words for finer and shorter pauses with less effect on intonation.
The question mark serves as a punctuation mark that not only indicates a question but also functions as a pause. When a question is posed, there is typically a brief interruption of around 300 milliseconds.
However, if the question is followed by additional text, this pause can disrupt the flow of speech and give the impression that the voicebot has finished speaking. To prevent the voicebot and the user from overlapping in their speech, it is important to consider certain strategies for phrasing questions and placing them appropriately within the speech. The chapter on copywriting delves into these strategies in more detail.
Let's review some fundamental principles of good practice:
Each message should contain only one question.
Each question should focus on a single topic. For example, instead of asking, "Would you like to create a new account and join our Premium Club?" it is better to ask separate questions for each option.
It is advisable to include the question at the end of the message so that the user has already received all the necessary information.
Let's address one specific case of choice questions (e.g., "Do you want A or do you want B?").
In this scenario, it is crucial to ensure good synthesis and emphasize distinctive intonation to convey the question's intent clearly and elicit the expected response. One recommendation is to structure the sentence in a way that presents each option as a separate sentence.
To assess the quality of synthesis, intonation, and the initial impression the question makes, experiment with different writing styles and punctuation. It is possible that breaks or punctuation marks may not provide a sufficiently distinct separation between the two options. In such cases, trying out a question mark after each option could be worth considering.
Please note that this is not a violation of the rule stating that only one question should be included in each text. It's important to remember that speech synthesis input notation serves a different purpose than regular text and does not necessarily adhere to grammar or spelling conventions. In this instance, it is considered a single question, with each option represented by a distinct intonation pattern that visually resembles a question mark.
In the case of "Do you want coffee? Or do you want tea?" a pause between the two options might be excessively long. Unfortunately, this gap cannot be shortened using the break tag. One possible approach is to remove the space after the first question mark (e.g., "Do you want coffee?Or do you want tea?"). In certain cases, combining the options into one continuous string can be helpful, with the question mark indicating the intonation but without the unwanted extended pause.
However, note that this is just one of the potential solutions and not the only correct way to adjust the intonation in such cases.
Last updated
Was this helpful?