Skip to main content

A Python library for Persian text-to-speech using Microsoft Azure service.

Project description

PersianTTS

PersianTTS is a Python library for text-to-speech (TTS) synthesis in Persian using Microsoft Azure's speech service. It provides an easy-to-use interface for generating audio files from Persian text with options for voice selection, pitch, rate, and volume adjustment.

Installation

pip install persianttsfarsi

Usage

from persianttsfarsi import PersianTTS

tts = PersianTTS() tts.synthesize("سلام دنیا! این یک مثال از تبدیل متن به گفتار فارسی است.", "output.mp3")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

persianttsfarsi-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

persianttsfarsi-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file persianttsfarsi-0.1.0.tar.gz.

File metadata

  • Download URL: persianttsfarsi-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.1

File hashes

Hashes for persianttsfarsi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1916d62c0469fe92be276ebd0d5705aedda4516c6e5081323ab2772945a75233
MD5 42254cf946775bdc30013f03b50e89ed
BLAKE2b-256 2ab2e1274cd78c3ef259e0b37ef5a7d7d9ab96170ce1096316ddc298b44794b7

See more details on using hashes here.

File details

Details for the file persianttsfarsi-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for persianttsfarsi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 198511d90110c94dd44b686112de04115d0a4cb51841368f55092c0b7c3312e4
MD5 3c3d0fba30d9d27d7d1769fbe9ef12cf
BLAKE2b-256 0486d198b5d9a393f684f90ebd787f8942fcba4d03bea8cc2f80de9423d1ee76

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page