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

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.5.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.5-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vachanatts-0.0.5.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.5.tar.gz
Algorithm Hash digest
SHA256 823a640e1460bef60af8c7fe910dbf8a1e48367856dd7efdb38766a8eb4b64a9
MD5 62ad2b932535e08878452a6cecf9beb9
BLAKE2b-256 a479c4c9bc822f12ca51883f18b9e8e52651498785f7aaa6f885cad659a03f9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vachanatts-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 33c8350af569281ce9d00385abf0cd00409f98c59b03b456e90e472326e8b09f
MD5 bb46ab59d85b1d1df37adaae2fbce3b7
BLAKE2b-256 4cf0641353ba5205c4edeacbc252364e535966459bdfc9a55f32b478e4ed29fd

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