Skip to main content

👋 Приветствуем в Silero-Advanced!

Silero-Advanced - это улучшенный модуль Silero.

🤔 В чем отличие?

Оригинальная Silero не может озвучивать цифры и некоторые символы. В этом модуле данная проблема решена.

⬇️ Установка

pip install silero-advanced

💻 Использование

Модуль имеет 3 функции:

• Синтезировать
• Синтезировать и воспризвести
• Синтезировать и сохранить аудио в формате wav

Пример 1 функции:

import time
import sounddevice as sd
from silero_advanced import synthesis

synthesis = synthesis()
audio = synthesis.synthesis("Привет, Мир! Я умею озвучивать цифры и символы! Например: 2 + 2")

sd.play(audio, synthesis.sample_rate)
time.sleep(len(audio) / synthesis.sample_rate)
sd.stop()

Пример 2 функции:

from silero_advanced import synthesis

synthesis = synthesis()
synthesis.synthesisAndPlay("Привет, Мир! Я умею озвучивать цифры и символы! Например: 2 + 2")

Пример 3 функции:

from silero_advanced import synthesis

synthesis = synthesis()
synthesis.synthesisAndSaveWav("Привет, Мир! Я умею озвучивать цифры и символы! Например: 2 + 2")
# Файл будет сохранен в корневом каталоге

🙇 Спасибо всем авторам библиотек, что были использованы в данном проекте:

Silero
Sergey Prokhorov

Release files for silero-advanced 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for silero-advanced 1.0.0
File Size Uploaded
silero_advanced-1.0.0.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for silero-advanced 1.0.0
File Interpreter ABI Platform
silero_advanced-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / silero_advanced-1.0.0.tar.gz

Download URL silero_advanced-1.0.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0de3b523ed6b9987e8c5406e4cee3b12bdc7aaf582513debf51ad41b9537efd0
BLAKE2b-256 checksum
How to use checksums
b5e83b0347ea3bae4c7f1c11c09593455ed8abfb0707fd46e57e8da92ad5352b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release files / silero_advanced-1.0.0-py3-none-any.whl

Download URL silero_advanced-1.0.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a0a23209cd40a51f34012d6fa232bb381f4268a156c658de1493a2b760747df
BLAKE2b-256 checksum
How to use checksums
2783ad0d8af46b157dd450ab7d2baa9a3e9192e0e7187b34f7016cbb3649befe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.7

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page