🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

persian-tts-mrj

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

persian-tts-mrj

A Persian text-to-speech library using Bing TTS API.

1.0.0
PyPI
Maintainers
1

Persian TTS (MRJ) By Ali Jahani

A Python package for synthesizing Persian speech using Persian Text-to-Speech Via Bing API.

Installation

pip install persian_tts_mrj


from persian_tts_mrj.speech import PersianTTS

# Initialize the synthesizer
tts = PersianTTS()

# Text to synthesize
text = "سلام! این یک آزمایش است."

# Generate speech and save it to output.mp3
tts.synthesize(text, output_file="output.mp3", pitch="0%", rate="-10%", volume="100%")

Keywords

TTS

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts