Retrained Swedish text-to-speech voice for
Piper.
1echo 'Hej, hur mår du idag?' | piper \
2 --model sv_SE-alma-medium.onnx \
3 --config sv_SE-alma-medium.onnx.json \
4 --output_file output.wav \
5 --noise-scale 0.8 --noise-w 0.6 --length-scale 0.9
Alma integrates with
libspiel — GNOME's modern speech framework — via
speech-provider-piper.
Orca (screen reader)
└─ libspiel (GObject Introspection client library)
└─ D-Bus → ai.piper.Speech.Provider (speech-provider-piper)
└─ Piper VITS engine + ONNX model
└─ Voice files in /usr/share/piper-voices/
1# Add repository
2wget -qO- https://yeager.github.io/debian-repo/yeager-repo-key.asc | \
3 sudo tee /usr/share/keyrings/yeager-repo.asc > /dev/null
4sudo tee /etc/apt/sources.list.d/yeager.sources << SOURCES
5Types: deb
6URIs: https://yeager.github.io/debian-repo/
7Suites: stable
8Components: main
9Signed-By: /usr/share/keyrings/yeager-repo.asc
10SOURCES
11
12sudo apt update
13
14# Install speech stack + Alma voice
15sudo apt install libspiel-1.0-0 speech-provider-piper piper-voice-sv-alma
16
17# Optional: development headers and GObject Introspection
18sudo apt install libspiel-dev gir1.2-spiel-1.0