{"id":92464,"date":"2024-06-04T09:52:07","date_gmt":"2024-06-04T07:52:07","guid":{"rendered":"https:\/\/www.seven.io\/?p=92464"},"modified":"2024-05-30T09:53:22","modified_gmt":"2024-05-30T07:53:22","slug":"ssml-benefits-for-voice-messages","status":"publish","type":"post","link":"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/","title":{"rendered":"Use these SSML benefits for your voice messages"},"content":{"rendered":"<section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>We have exciting news to share! Our voice messaging gateway has received an upgrade: You can now use <a href=\"https:\/\/en.wikipedia.org\/wiki\/Speech_Synthesis_Markup_Language\" target=\"_blank\" rel=\"noopener\">SSML<\/a> (Speech Synthesis Markup Language) for your messages. What does this mean for you? First and foremost, you can add even more precision and customisation options to your voice messages. With SSML, you can add emphasis, insert pauses and vary the speed of speech to make your messages more natural and appealing.<\/p>\n<p>This improvement allows you to create a more personalised user experience and increase the quality of your voice output. Our gateway thus offers you a comprehensive solution for sending high-quality voice messages. Read on to find out more about what SSML can do for you!<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_1 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#how_do_i_use_ssml\">How do I use SSML?<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#general_example\">General example<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#customise_language_and_voice\">Customise language and voice<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#different_voices_in_one_message\">Different voices in one message<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#time-to-live_ttl\">Time-to-live (TTL)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#influencing_pronunciation\">Influencing pronunciation<\/a><ul class='ez-toc-list-level-5' ><li class='ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#inserting_a_break\">Inserting a break<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#reading_out_numeric_codes\">Reading out numeric codes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#date_format\">Date format<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-5'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#individual_pronunciation_%e2%80%93_use_the_phonetic_alphabet\">Individual pronunciation &#8211; use the phonetic alphabet<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#sending_audio_files\">Sending audio files<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#best_practice_tips\">Best practice tips<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.seven.io\/en\/blog\/ssml-benefits-for-voice-messages\/#resources_for_using_ssml\">Resources for using SSML<\/a><\/li><\/ul><\/nav><\/div>\n\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h3><span class=\"ez-toc-section\" id=\"how_do_i_use_ssml\"><\/span>How do I use SSML?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Use SSML by using the available markup elements when you send a request to our Voice API to achieve the desired voice output.<\/p>\n<p><strong>Please note: <\/strong>The &#8220;xml&#8221; parameter is <strong>not<\/strong> set for SSML.<\/p>\n<h4><span class=\"ez-toc-section\" id=\"general_example\"><\/span>General example<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Create a JSON file with the phone numbers and text called voice.json.<\/p>\n<pre class=\"prettyprint\"><code class=\"language-json\">{\r\n\"from\": \"+4917199999999\",\r\n\"to\": \"+491718888888\",\r\n\"text\": \"Welcome to Seven communications! You have successfully created a voice message.\"\r\n}\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>Expand the text with the SSML tags, here the selection of a female German voice:<\/p>\n<pre class=\"prettyprint\"><code class=\"language-json\">{\r\n\"from\": \"+4917199999999\",\r\n\"to\": \"+491718888888\",\r\n\"text\": \"Welcome to Seven communications! You have successfully created a voice message.\"\r\n}\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>Send the text via cURL to our API:<\/p>\n<pre class=\"prettyprint\"><code class=\"language-bash\">curl -X POST \"**&lt;https:\/\/gateway.seven.io\/api\/voice**&gt;\" -H 'Content-Type: application\/json' -H 'X-Api-Key: abcdefg123' -d @voice.json\r\n<\/code><\/pre>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\" id=\"customise-language-and-voice\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h4><span class=\"ez-toc-section\" id=\"customise_language_and_voice\"><\/span>Customise language and voice<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>One of the main advantages of SSML is the ability to select different languages and different voices. This makes it easier to customise messages for different recipients so that they understand and accept them well.<\/p>\n<p>The Seven Voices are made up of the locale (<a href=\"https:\/\/en.wikipedia.org\/wiki\/IETF_language_tag\" target=\"_blank\" rel=\"noopener\">BCP-47<\/a>) and three variants, in this case female, male and child. Examples of these tags can be found in the following application examples.<\/p>\n<p>In principle, you can also decide to use specific Microsoft voices. However, we strongly recommend that you use our tags, because:<\/p>\n<p>The tags according to the &#8220;en-us-male&#8221; scheme offer the possibility to continue sending without interruption when changing the synthesisation engine without rewriting your application. If we switch to other synthesis engines or have to switch to other providers in the event of a fault, we can automatically integrate the corresponding voice names and your applications will continue to work. If you use the Microsoft voice names directly, this is not dynamic. You remain tied to the Microsoft engine and may have to adapt your applications.<\/p>\n<p>In short: Use our tags to select a nationality and the variant of the voice &#8211; our gateway will select the most up-to-date voice for you.<\/p>\n<p><strong>Please note:<\/strong> The child voices are only available in de-DE, en-GB, en-US, fr-FR and zh-CN.<\/p>\n<p>All currently available languages can be found in the <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/ai-services\/speech-service\/language-support?tabs=tts\" target=\"_blank\" rel=\"noopener\">Microsoft Azure list<\/a>.<\/p>\n<\/div><\/div><div class=\"g-cols wpb_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-6 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"ult-content-box-container \" >\t\t<div class=\"ult-content-box\" style=\"box-shadow: px px 5px px #000000 none;border-style:solid;border-width:3px;border-radius:5px;border-color:#55acff;padding:20px;-webkit-transition: all 700ms ease;-moz-transition: all 700ms ease;-ms-transition: all 700ms ease;-o-transition: all 700ms ease;transition: all 700ms ease;\"  data-hover_box_shadow=\"none\"     data-border_color=\"#55acff\" ><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Example: English, female<\/strong><\/p>\n<p><code>&lt;voice name=\"en-us-female\"&gt;<br \/>\n<\/code><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-11\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/voice-beispiel_seven-en1.mp3?_=11\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/voice-beispiel_seven-en1.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/voice-beispiel_seven-en1.mp3<\/a><\/audio>\n<\/div><\/div>\t\t<\/div><\/div><\/div><\/div><\/div><div class=\"vc_col-sm-6 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"ult-content-box-container \" >\t\t<div class=\"ult-content-box\" style=\"box-shadow: px px 5px px #000000 none;border-style:solid;border-width:3px;border-radius:5px;border-color:#55acff;padding:20px;-webkit-transition: all 700ms ease;-moz-transition: all 700ms ease;-ms-transition: all 700ms ease;-o-transition: all 700ms ease;transition: all 700ms ease;\"  data-hover_box_shadow=\"none\"     data-border_color=\"#55acff\" ><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Example: German, female<\/strong><\/p>\n<p><code>&lt;voice name=\"de-de-female\"&gt;<br \/>\n<\/code><\/p>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-12\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/voice-beispiel-seven_de1.mp3?_=12\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/voice-beispiel-seven_de1.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/voice-beispiel-seven_de1.mp3<\/a><\/audio>\n<\/div><\/div>\t\t<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h4><span class=\"ez-toc-section\" id=\"different_voices_in_one_message\"><\/span>Different voices in one message<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Would you like to use different voices in one message? This is also possible with SSML. If you decide to use specific Microsoft voices in this case, please bear in mind that we cannot change them dynamically (see section &#8220;Customise language and voice&#8221;).<\/p>\n<pre class=\"prettyprint\"><code>&lt;voice name=\"en-us-child\"&gt; Hi, where did you buy these sunglasses? I think my mum would love them. &lt;\/voice&gt;\r\n&lt;voice name=\"en-us-female\"&gt; Hello, i just bought them in the shop over there. &lt;\/voice&gt;\r\n<\/code><\/pre>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-13\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_twovoices_en.mp3?_=13\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_twovoices_en.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_twovoices_en.mp3<\/a><\/audio>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h4><span class=\"ez-toc-section\" id=\"time-to-live_ttl\"><\/span>Time-to-live (TTL)<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>Even if the time-to-live is not strictly speaking part of SSML, you should know this parameter in order to be able to optimise your voice messages. The time-to-live can be used to specify the period in which the call may be made. This avoids flooding due to subsequent delivery of accumulated calls in the event of a delay or fault. The TTL is an additional parameter specified in seconds. The default value is one hour, i.e. 3600 seconds.<\/p>\n<pre class=\"prettyprint\"><code class=\"language-json\">{\r\n\"from\": \"+4917199999999\",\r\n\"to\": \"+491718888888\",\r\n\"text\": \"Welcome to Seven communications! You have successfully created a voice message.\",\r\n\"ttl\": 86400 }\r\n<\/code><\/pre>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-14\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_first-example_en.mp3?_=14\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_first-example_en.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/ssml_first-example_en.mp3<\/a><\/audio>\n<p>&nbsp;<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h4><span class=\"ez-toc-section\" id=\"influencing_pronunciation\"><\/span>Influencing pronunciation<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>The &#8220;pronunciation&#8221; of the specified text can also be customised with SSML. This includes not only pauses and the speed at which the text is read, but also details such as the individual pronunciation of certain words. The pronunciation of the numbers used can also be customised so that when a code is sent, individual digits are read out instead of a long number.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h5><span class=\"ez-toc-section\" id=\"inserting_a_break\"><\/span>Inserting a break<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>In this example, we use two different specifications for pauses:<\/p>\n<p>First, we specify a pause over 200 milliseconds, then a pause with predefined strength &#8220;weak&#8221;.<\/p>\n<p>The following values can be specified for &#8220;strength&#8221;: &#8220;x-weak&#8221;, &#8220;weak&#8221;, &#8220;medium&#8221;, &#8220;strong&#8221; and &#8220;x-strong&#8221;. No pause is inserted with the value &#8220;none&#8221;.<\/p>\n<pre class=\"prettyprint\"><code>&lt;voice name=\"en-us-male\"&gt;\r\nStep 1, Take a deep breath. &lt;break time=\"200ms\"\/&gt;\r\nStep 2, exhale.\r\nStep 3, Breathe in deeply again. &lt;break strength=\"strong\"\/&gt;\r\nStep 4, exhale.\r\n&lt;\/voice&gt;\r\n<\/code><\/pre>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-15\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example-break_en.mp3?_=15\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example-break_en.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example-break_en.mp3<\/a><\/audio>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h5><span class=\"ez-toc-section\" id=\"reading_out_numeric_codes\"><\/span>Reading out numeric codes<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>Do you send access or confirmation codes via a telephone call? With SSML, you can control the speed at which the digits are read out or add additional pauses.<\/p>\n<p>Adjust the speed in this example:<\/p>\n<pre class=\"prettyprint\"><code>&lt;voice name=\"en-us-female\"&gt;\r\nThe confirmation code is:\r\n&lt;prosody rate=\"x-slow\"&gt;\r\n&lt;say-as interpret-as=\"number_digit\"&gt;967534&lt;\/say-as&gt;\r\n&lt;\/prosody&gt;\r\n&lt;\/voice&gt;\r\n<\/code><\/pre>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-16\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example-zahlencode_langsam_en-1.mp3?_=16\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example-zahlencode_langsam_en-1.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example-zahlencode_langsam_en-1.mp3<\/a><\/audio>\n<p>&nbsp;<\/p>\n<p>As you can hear in the example above, the numbers are pronounced very slowly.<br \/>\nIf you want to set pauses between the digits but maintain the actual speaking speed, you can set colons between the numbers, for example.<\/p>\n<pre class=\"prettyprint\"><code>&lt;voice name=\"en-us-female\"&gt;\r\nThe confirmation code is:\r\n9: 6: 7: 3: 5: 4\r\n&lt;\/voice&gt;\r\n<\/code><\/pre>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-17\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example-zahlencode_colons_en.mp3?_=17\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example-zahlencode_colons_en.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example-zahlencode_colons_en.mp3<\/a><\/audio>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h5><span class=\"ez-toc-section\" id=\"date_format\"><\/span>Date format<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>The SSML tag &#8220;date&#8221; is currently not available via our gateway. Nevertheless, we can determine date formats.<\/p>\n<p>Use the tag &#8220;say-as&#8221; with the extension &#8220;interpret-as&#8221;. You can find more information in the <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/ai-services\/speech-service\/speech-synthesis-markup-pronunciation#say-as-element\" target=\"_blank\" rel=\"noopener\">Microsoft documentation<\/a>.<\/p>\n<p>The following example is spoken as &#8220;Today is February first two thousand and twenty-four&#8221;.<\/p>\n<pre class=\"prettyprint\">&lt;voice name=\"en-us-male\"&gt;\r\nToday is &lt;say-as interpret-as=\"date\"&gt;2024-02-01&lt;\/say-as&gt;\r\n&lt;\/voice&gt;\r\n<\/pre>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-18\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_date_en.mp3?_=18\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_date_en.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_date_en.mp3<\/a><\/audio>\n<p>&nbsp;<\/p>\n<p>You do not necessarily need a say-as day for simple dates.<\/p>\n<p>Write out the month. Years can then be specified as a number.<\/p>\n<pre class=\"prettyprint\">&lt;voice name=\"en-us-male\"&gt;\r\nYour next appointment is January 22.\r\nMy birthday is June 22, 1976.\r\n&lt;\/voice&gt;\r\n<\/pre>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-19\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_termin_en.mp3?_=19\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_termin_en.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_termin_en.mp3<\/a><\/audio>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h5><span class=\"ez-toc-section\" id=\"individual_pronunciation_%e2%80%93_use_the_phonetic_alphabet\"><\/span>Individual pronunciation &#8211; use the phonetic alphabet<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>If the standard pronunciation does not sound the way you want, you can specify how a word should be pronounced. To do this, use the phonetic alphabet and the corresponding tag.<\/p>\n<p>In the following example, the name is pronounced as &#8220;Mike Jau&#8221; with a soft J, as in &#8220;jungle&#8221;.<\/p>\n<p>The components of the phonetic alphabet can be found in the Microsoft documentation.<\/p>\n<pre class=\"prettyprint\">&lt;voice name=\"en-US-JennyNeural\"&gt; His name is Mike &lt;phoneme alphabet=\"ups\" ph=\"JH AU\"&gt; Zhou\r\n&lt;\/phoneme&gt;\r\n&lt;\/voice&gt;\r\n<\/pre>\n<audio class=\"wp-audio-shortcode\" id=\"audio-92464-20\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_phonem.mp3?_=20\" \/><a href=\"https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_phonem.mp3\">https:\/\/www.seven.io\/wp-content\/uploads\/ssml_example_phonem.mp3<\/a><\/audio>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h4><span class=\"ez-toc-section\" id=\"sending_audio_files\"><\/span>Sending audio files<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>The setting options are not enough for you? Send your own audio file!<\/p>\n<p>Please note the following:<\/p>\n<ul>\n<li>The audio file must be a valid **.mp3*, **.wav*, **.opus*, **.ogg*, **.flac* or **.wma* file.<\/li>\n<li>The total time for all text and audio files in a single response must not exceed 600 seconds.<\/li>\n<li>The audio files must not contain any customer-specific or other sensitive information.<br \/>\n(Source: <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/ai-services\/speech-service\/speech-synthesis-markup-voice#add-recorded-audio\" target=\"_blank\" rel=\"noopener\">Microsoft documentation<\/a>)<\/li>\n<\/ul>\n<p>For examples of use, please also refer to the <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/ai-services\/speech-service\/speech-synthesis-markup-voice#add-recorded-audio\" target=\"_blank\" rel=\"noopener\">Microsoft documentation<\/a> or the <a href=\"https:\/\/cloud.google.com\/text-to-speech\/docs\/ssml#audio\" target=\"_blank\" rel=\"noopener\">Google documentation<\/a>.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h3><span class=\"ez-toc-section\" id=\"best_practice_tips\"><\/span>Best practice tips<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>You don&#8217;t have to use the speak tag, the Seven Voice API inserts it automatically.<\/li>\n<li>&#8220;Keep it simple!&#8221; &#8211; The fewer tags and therefore characters required, the better.<\/li>\n<li>When transferring to the API, we recommend not using line breaks between the tags. The engine switches pauses there, which can lead to undesirable results.<\/li>\n<li>Remember that the text is converted into speech. A greeting such as &#8220;Dear Mr.\/Mrs. Name&#8221; will then also be read as &#8220;Dear Mr. Mrs.&#8221;. A general salutation is more suitable here, for example: &#8220;Hello name&#8221;.<\/li>\n<\/ul>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h3><span class=\"ez-toc-section\" id=\"resources_for_using_ssml\"><\/span>Resources for using SSML<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>SSML offers many extensive possibilities for customizing <a href=\"https:\/\/www.seven.io\/en\/products\/voice\/\">voice messages<\/a>. Because the possibilities are so varied, we would like to provide you with some resources to help you customize your SSML message.<\/p>\n<p>Some useful resources for using SSML are:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.w3.org\/TR\/speech-synthesis11\/\" target=\"_blank\" rel=\"noopener\">Information about SSML in general and standardization (W3)<\/a><\/li>\n<li><a href=\"https:\/\/cloud.google.com\/text-to-speech\/docs\/ssml\" target=\"_blank\" rel=\"noopener\">The SSML documentation from Google<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/ai-services\/speech-service\/speech-synthesis-markup\" target=\"_blank\" rel=\"noopener\">The SSML documentation from Microsoft<\/a><\/li>\n<\/ul>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p style=\"text-align: center;\">Do you have any questions, suggestions or criticism? We look forward to your comment or <a href=\"mailto:support@seven.io\">message<\/a>.<\/p>\n<p style=\"text-align: center;\">Please also visit our <a href=\"https:\/\/feedback.seven.io\" rel=\"noopener\">feedback page<\/a> and take the opportunity to help make our service better.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"w-separator us_custom_064d3121 size_medium with_line width_default thick_1 style_solid color_text align_center with_text with_content\"><div class=\"w-separator-h\"><div class=\"w-separator-text\"><span>All the best<\/span><\/div><\/div><\/div><div class=\"w-image align_center\"><div class=\"w-image-h\"><img decoding=\"async\" width=\"289\" height=\"38\" src=\"https:\/\/www.seven.io\/wp-content\/uploads\/2017\/07\/unterschrift-1.png\" class=\"attachment-full size-full\" alt=\"Your sms77 team\" loading=\"lazy\" \/><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_small\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_flex valign_top type_default stacking_default\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p style=\"text-align: center;\"><em>Header picture by jacoblund via iStock<\/em><\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"We have exciting news to share! Our voice messaging gateway has received an upgrade: You can now use SSML (Speech Synthesis Markup Language) for your messages. What does this mean for you? First and foremost, you can add even more precision and customisation options to your voice messages. With SSML, you can add emphasis, insert...","protected":false},"author":1,"featured_media":92082,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[5],"tags":[5545,5546,5515],"class_list":["post-92464","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news-updates","tag-ssml","tag-text-to-speech","tag-voice-en"],"_links":{"self":[{"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/posts\/92464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/comments?post=92464"}],"version-history":[{"count":42,"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/posts\/92464\/revisions"}],"predecessor-version":[{"id":92965,"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/posts\/92464\/revisions\/92965"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/media\/92082"}],"wp:attachment":[{"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/media?parent=92464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/categories?post=92464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seven.io\/en\/wp-json\/wp\/v2\/tags?post=92464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}