Skip to main content

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
)

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vachanatts-0.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 c5e203446242076d70e61d1ca109d721e0bb031824dc93fed3d182db67a80bad
MD5 dd0607eab4a44810e83c32883ed04738
BLAKE2b-256 f253c64e7b9a71db53867f90f5a21ecca3655cd0a9ac70725d3fd988e59e004c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vachanatts-0.0.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 87244b82bc15711558ca5fd735379f3b77887ec655254c80ff6ad99c57686ad6
MD5 48bb5c543481db822ba8f0f3a4159c3b
BLAKE2b-256 e186896500e5ca2a063f2fde2a90cfa327083306b1fd3e8f5edcccb8bdfe0a3c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 files

0.0.6

2 files

0.0.5

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page