VaniraTTS: Text-to-Speech ภาษาไทย รวดเร็วและใช้งานง่าย
Project description
Vanira TTS
VaniraTTS โมเดล Text-to-Speech (TTS) สำหรับภาษาไทย
สร้างเสียงพูดจากข้อความอย่างรวดเร็ว รองรับการใช้งานทั้ง CPU และ GPU ผ่าน onnxruntime
- 🔥 สถาปัตยกรรม : MixerTTS
- ⚡ โค้ดหลัก : nipponjo/mixer-tts-pytorch
🚀 เริ่มต้นใช้งาน
ติดตั้ง
pip install vaniratts
การใช้งาน
from VaniraTTS import VaniraTTS
tts = VaniraTTS()
text = "สวัสดีครับ/ค่ะ นี่คือเสียงพูดภาษาไทย"
# เสียงพูดที่รองรับ
# - 1: เสียงผู้หญิง 1
# - 2: เสียงผู้หญิง 2
# - 3: เสียงผู้ชาย 1
# - 4: เสียงผู้ชาย 2
tts.infer(text,
speaker=1, # 1-4
output="output.wav",
volume=1.0,
speed=1.0
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vaniratts-0.0.2.tar.gz
(118.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
vaniratts-0.0.2-py3-none-any.whl
(122.1 kB
view details)
File details
Details for the file vaniratts-0.0.2.tar.gz.
File metadata
- Download URL: vaniratts-0.0.2.tar.gz
- Upload date:
- Size: 118.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab62f3c7fcbef250daeb74334ed8ed6c2221a50b818772256b5d3636482f79b1
|
|
| MD5 |
056dc7698e811defe319fa33fceaff94
|
|
| BLAKE2b-256 |
bb84b7655c4679cb7e1d65b9d29774d93ef4d123615c8d28200c3b40db52622b
|
File details
Details for the file vaniratts-0.0.2-py3-none-any.whl.
File metadata
- Download URL: vaniratts-0.0.2-py3-none-any.whl
- Upload date:
- Size: 122.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
023076e8697c5f9de63105a76a9e3b5018a442081febed4a3037e1c9d206ffbc
|
|
| MD5 |
d9cd2c1639c48bd13641189a191a44e1
|
|
| BLAKE2b-256 |
d497e7ceb53964c1bb41373f0bb2b39be74964424d599ed5a901ebd03b750255
|