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 ttspersian

Usage

from ttspersian 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

ttspersian-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.

ttspersian-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ttspersian-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 ttspersian-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1111aaabed81bcf65cebc20b412b94e30b86f003272f67e6054823e816a0361c
MD5 6bdb4a69f07b2987bdadbb6092d98cea
BLAKE2b-256 2f3d8de5fb4160467fcf15e7429b37cd3d2f40d0b913c8bf6040aa7bf7950d2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ttspersian-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.1

File hashes

Hashes for ttspersian-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdb14a1b92f7eea19780faa5a98d0689df9b25e30c8a1c3524ecff852264383f
MD5 eaef5040a7bd814f84ba457e711e2af3
BLAKE2b-256 a822c1005e2446daf9003e6c93a90422cb77e3b344b15a1d91aa9c46713733b2

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