Skip to main content

VachanaTTS Text-to-Speech ภาษาไทย รวดเร็วและใช้งานง่าย.

Project description

Vachana TTS

VachanaTTS คือโมเดล Text-to-Speech (TTS) สำหรับภาษาไทย
สร้างเสียงพูดจากข้อความอย่างรวดเร็ว รองรับการใช้งานทั้ง CPU และ GPU ผ่าน onnxruntime

  • 🔥 สถาปัตยกรรม: VITS
  • ⚡ โค้ดหลักและการเทรน: PiperTTS

🚀 เริ่มต้นใช้งาน

ติดตั้ง

pip install vachanatts

การใช้งาน

from vachanatts import TTS

text = "สวัสดีครับ/ค่ะ นี่คือเสียงพูดภาษาไทย"

# เสียงพูดที่รองรับ th_f_1, th_m_1, th_f_2, th_m_2

TTS(text,
    voice="th_f_1",
    output="output.wav",
    volume=1.0,
    speed=1.0
)

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

vachanatts-0.0.6.tar.gz (6.5 MB view details)

Uploaded Source

Built Distribution

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

vachanatts-0.0.6-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

Details for the file vachanatts-0.0.6.tar.gz.

File metadata

  • Download URL: vachanatts-0.0.6.tar.gz
  • Upload date:
  • Size: 6.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for vachanatts-0.0.6.tar.gz
Algorithm Hash digest
SHA256 306dcf1f9f7423cfb1f5d18c2df4a87415666e9df4240f87fd7f404dc0d3c997
MD5 b6af267a08c232e0b10e2b7ac4370b05
BLAKE2b-256 d10cd670a26f15232bf17c6e3eb7a87e2a4a2b39a1a0f43c3c40c5a0c1cb5d7e

See more details on using hashes here.

File details

Details for the file vachanatts-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: vachanatts-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for vachanatts-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 58f3fb2d77cf981310ce27168591ea5ee76d5e2daee76f17358aa2d23152584f
MD5 c20a3e4563a7a9d086db4b8dc98f0aef
BLAKE2b-256 87b3c1b6d19002e1ddbcd1df18012a2e513249ca3643a64bcc784eae99f7ea6b

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