Text-to-speech conversion อาจไม่ดูสำคัญกับคุณ แตมันสำคัญ นอกจากช่วยให้ visually impaired people enjoy คอมพิวเตอร์ มันมี other uses ด้วย ทưởng像คุณอยู่ในรถ หวังว่าไม่ได้ขับ และ fancy a read แค่คุณ kind of get dizzy เวลาลอง หรือว่าคุณอยากเพิ่ม audio dimension ให้ tutorials ด้วย speech แทน long lines of text

Festival ทำแค่นั้น มันคือ Speech Synthesis System อนุญาตให้คุณแปลง text เป็น speech Festival ค่อนข้าง handy มันอนุญาต scripting และมี APIs สำหรับ programming languages หลายตัว ปัจจุบัน Festival มี several male และ female voices ใน American และ British English และ early support สำหรับ Spanish
มา看看
Festival in action
Festival available ใน repositories ของ most major distributions ดังนั้น installation ไม่ควรเป็นปัญหา Festival เป็น command line tool ไม่มี graphical interface การใช้ไม่ใช้ rocket science แตควร consult online manual สำหรับ basic instructions
โดยทั่วไป Festival รันใน interactive mode คุณ launch โปรแกรม แล้วบอกมันว่าจะพูดอะไร แตคุณยังสามารถ run โปรแกรม against files ได้ เช่น books หรือ papers หรือ pipe text จาก applications อื่นเข้า Festival
Interactive mode
Start Festival โดยพิมพ์ festival บน command line
จากนั้น เพื่อให้มันพูดสิ่งต่างๆ รันคำสั่งต่อไปนี้:
(SayText "your text here")
นี่คือ screenshot example:

File mode
แทนที่จะพิมพ์ long lines of text ที่ command line คุณสามารถ run Festival against a text line 真的 useful สำหรับ audio books, seminar material และ suchlike
นี่คือ sample file:

และจากนั้น รัน Festival against ไฟล์นี้:
festival --tts <file>
Record the text-to-speech
คุณสามารถ feed Festival sound ไป sound recording software เพื่อสร้าง audio files ซึ่งคุณสามารถ process ต่อได้ตามที่เห็นพอ ตัวอย่าง คุณสามารถใช้ Gnome Sound Recorder ทำได้

นี่คือ 12-second sample ที่ recorded แบบนี้
festival-demo.ogg, 12 sec, 253KB
ตอนนี้ ส่วนที่ดีที่สุด คุณสามารถ skip all of the above ได้จริงๆ Festival มาพร้อม built-in script ที่จะ automatically create .wav files จาก input text Script ชื่อ text2wave
text2wave <file> -o <output.wav>

Voices
มี several voices available คุณยังลอง online demo ได้ เพื่อดูว่าดังอย่างไร โดยทั่วไป ผมพบว่า British voices เป็น more realistic, more streamlined และ easier to understand แตเป็น your choice entirely
สรุป
Festival เป็น very handy software, simple และ useful แม้คุณไม่เห็น immediate use ในโปรแกรม คุณสามารถ consider introduce มันเข้า arsenal ของ multimedia tools ของคุณ ไม่ว่าจะ practical purposes เช่น audio-video lectures, tutorials หรือแค่ fun
หวังว่าคุณชอบ guide นี้ ตอนนี้เรารู้ text-to-speech software นิดหน่อย เราจะเร็วๆ นี้ examine Orca screen reader software ใน Linux และดู accessibility features อื่นๆ ตอนนี้ คุณสามารถดู Knoppix Adriane ที่ specially designed สำหรับ visually impaired users
ขอแสดงความนับถือ