2022-01-16 18:20:39 +00:00
|
|
|
---
|
|
|
|
title: "festival"
|
2022-01-26 22:35:07 +00:00
|
|
|
tags: [ "Documentation", "Sound" ]
|
2022-01-16 18:20:39 +00:00
|
|
|
---
|
2020-01-02 00:04:35 +00:00
|
|
|
# Basics
|
|
|
|
|
2020-02-04 04:47:35 +00:00
|
|
|
Add your user to the audio group, and install `festival-english`.
|
|
|
|
|
|
|
|
> echo "(Parameter.set 'Audio_Method 'Audio_Command)" >> /usr/share/festival/voices.scm
|
|
|
|
|
|
|
|
> echo "(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")" /usr/share/festival/voices.scm
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
# Set Default Voice
|
|
|
|
|
|
|
|
Edit ~/.festivalrc with
|
|
|
|
|
|
|
|
`(set! voice_default voice_cmu_us_slt_arctic_hts)`
|
|
|
|
|
|
|
|
Or change the order in `/usr/share/festival/voices.scm`
|
|
|
|
|