Rhasspy + MaryTTS on one RPi4

Hello all.
I follow instruction from https://www.home-assistant.io/hassio/installation/. My system boot now, I install on it Rhasspy Assistant as add-ons. With web-ui I try eSpeak as tts for my language (ru). It work, but voice not natural( I decide try MaryTTS.
I read https://rhasspy.readthedocs.io/en/latest/text-to-speech/#marytts and understand that rhasspy use remote web server for MaryTTS.
As I have only one RPi4 now I have question:
Can I use Rhasspy + MaryTTS on one RPi4?

1 Like

Yes, but then you cannot use HassIO the way you did.
The HAssIO image has a locked down OS, named HassOS. There is no addon MaryTTS I think (maybe I am wrong)

However, you can install Hassio on a linux machine:

That way, you have HassIO (which is basically some docker images controlled by a supervisor)
You can install addons and all that, but you also have to power available in the linux distro and as such, are able to install whatever software you need.

Hope it helps

1 Like

Thank’s. I install docker on Rasbian and HassIO. I am new with docker. How to install MaryTTS system from https://hub.docker.com/r/synesthesiam/marytts?
I try
sudo docker pull synesthesiam/marytts
Using default tag: latest
Error response from daemon: manifest for synesthesiam/marytts:latest not found: manifest unknown: manifest unknown

I do not know if that container will work on a Pi. I think it is amd64.

You can try this: https://github.com/marytts/marytts/wiki/Local-MaryTTS-Server-Installation

There is no tag latest so you have to pull the image using

sudo docker pull synesthesiam/marytts:5.2

but yes it is only available for amd64 (I am currently working on automating cross compiling them for different hardware architectures)

I try build MaryTTS with instructions from github. But I use 1.8 version of JDK.
I get such error during build
https://pastebin.com/wErcB6qX

I try download file by hand and get
https://pastebin.com/MLbbAkbn

Where I can edit download link for build process?

You do not have to build MaryTTS by your own. You can also download a compiled version from the repository https://github.com/marytts/marytts/releases/download/v5.2/marytts-5.2.zip. I never tried it, but it should also run on a Raspberry Pi with JDK 1.8.

But if you want, then this repository could help: https://github.com/marytts/marytts-installer

1 Like