CARVIEW |
Select Language
HTTP/2 200
date: Sun, 24 Aug 2025 19:12:18 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"8727da1ba679e47acd3a19c1f0487045"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=uekI6eNpL3B4uv8ZRT9r2gSD3hwdDIePYOZ6I86A%2FiU5hqVSkeNtdphA1cED2Uv9rJequ%2B8atEZRZrJ9npyNUiZLli0%2BmrSb8Mrx5TeNUyV4Mj15nc3bG01ZfM3GMAkl9P0f2EvrXRaimdAukQMw8gaJD2sZwmzrcOxNLpci5XVh5hw4E7GSEi3%2FytLdHzsgkjNOOx43lCcaXxUKu5s%2BIya3%2FPGhbNX0DAiOAw%2BfD%2Byts9kb0VLQlYGSExvXvA1Tr8sSZuM3VZv4ifw0Xb1clQ%3D%3D--Ur2xIRn1pi%2BGdxf9--b8ykv6TTwRdpimcNvySl3Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1089827210.1756062738; Path=/; Domain=github.com; Expires=Mon, 24 Aug 2026 19:12:18 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 24 Aug 2026 19:12:18 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E008:13A705:1174615:16D6179:68AB6412
SSML · snakers4/silero-models Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 343
SSML
Anna S edited this page Apr 12, 2022
·
1 revision
With SSML you can control pauses and prosody of synthesized speech. To pass text in SSML format, use the ssml_text
parameter.
ssml_sample = """
<speak>
<p>
Когда я просыпаюсь, <prosody rate="x-slow">я говорю довольно медленно</prosody>.
Потом я начинаю говорить своим обычным голосом,
<prosody pitch="x-high"> а могу говорить тоном выше </prosody>,
или <prosody pitch="x-low">наоборот, ниже</prosody>.
Потом, если повезет – <prosody rate="fast">я могу говорить и довольно быстро.</prosody>
А еще я умею делать паузы любой длины, например две секунды <break time="2000ms"/>.
<p>
Также я умею делать паузы между параграфами.
</p>
<p>
<s>И также я умею делать паузы между предложениями</s>
<s>Вот например как сейчас</s>
</p>
</p>
</speak>
"""
sample_rate = 48000
speaker = 'xenia'
audio = model.apply_tts(ssml_text=ssml_sample,
speaker=speaker,
sample_rate=sample_rate)
The root tag
<speak>В недрах тундры выдры в г+етрах т+ырят в вёдра ядра к+едров.</speak>
Add a pause with a specified duration
Attribute | Description |
---|---|
time |
Pause duration in seconds or milliseconds, for example 500ms or 5s |
strength |
Default value is medium . Possible values: - x-weak , weak , medium , strong , x-strong . This tag has a lower priority: <break time="1s" strength="x-weak"/> will produce a 1 second long pause. |
Example
<speak>
Пауза длиной в три секунды<break time="3s"/>
После этого речь продолжается.
</speak>
Modifies the pitch, and rate of the tagged speech.
Attribute | Description |
---|---|
rate | Modify the rate of the speech: x-slow , slow , medium , fast , x-fast : Set the rate to a predefined value. |
pitch | Raise or lower the tone (pitch) of the speech: x-low, low, medium, high, x-high: Set the pitch to a predefined value. |
You can combine prosody with other tags.
<speak>
Когда я просыпаюсь, <prosody rate="x-slow">я говорю довольно медленно</prosody>.
Потом я начинаю говорить своим обычным голосом, <prosody pitch="x-high">а могу говорить тоном выше.</prosody>
</speak>
Represents a paragraph, equivalent to x-strong
pause.
<speak>
<p>Первый параграф.</p>
<p>Второй параграф.</p>
</speak>
Represents a sentence, equivalent to strong
pause.
<speak>
<s>Первое предложение.</s><s>Второе предложение.</s>
</speak>
You can’t perform that action at this time.