Announcement

Collapse
No announcement yet.

how to do TTS?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    how to do TTS?

    Ok, I've read here (in the HS3-Pi forum) that the RPi can do TTS -- directly out of the unit, and sent to HSTouch. However, I can't get a peep out of my unit (have tried only direct, not HST).
    First question: Do I just plug a speaker into the audio jack on the RPi? I think that it might be a headphone jack (which would be non-amplified and stereo). I don't have headphones to try; I have a speaker (1 channel) plugged in.
    Second question: Do I have to set up something in HS? (BTW, I access my HS via SSH.) I've been trying to make it speak something, but can't get past some config problems.

    Code:
    homeseer@HomeTrollerZeeS2V2:/usr/local/HomeSeer $ cat speak.sh
    #!/bin/sh
    flite -voice kal16 -t "$1"
    homeseer@HomeTrollerZeeS2V2:/usr/local/HomeSeer $ flite -lv
    Voices available: kal awb_time kal16 awb rms slt
    homeseer@HomeTrollerZeeS2V2:/usr/local/HomeSeer $ id
    uid=1001(homeseer) gid=1001(homeseer) groups=1001(homeseer),29(audio)
    homeseer@HomeTrollerZeeS2V2:/usr/local/HomeSeer $ ./speak.sh "Testing 1 2 3"
    The last line produces nothing.
    So, how do I get TTS working?
Working...
X