Package Details: piper-voices-minimal 1.0.0-4

Git Clone URL: https://aur.archlinux.org/piper-voices-minimal.git (read-only, click to copy)
Package Base: piper-voices-minimal
Description: Voices for Piper text to speech system (en_US, single model)
Upstream URL: https://huggingface.co/rhasspy/piper-voices
Keywords: tts
Licenses: MIT
Groups: piper-voices
Conflicts: piper-voices-en-us
Provides: piper-voices
Submitter: AlphaJack
Maintainer: AlphaJack
Last Packager: AlphaJack
Votes: 5
Popularity: 0.043991
First Submitted: 2024-02-28 13:06 (UTC)
Last Updated: 2024-04-18 21:22 (UTC)

Dependencies (2)

Required by (2)

Sources (0)

Pinned Comments

AlphaJack commented on 2024-03-06 13:57 (UTC)

As @evorster reported, a split package for such a big collection is not viable in the AUR.

Split packages in the repos (e.g. tesseract-data from which I took inspiration) work fine because the end user can download and install them individually, while split packages from the AUR must build and package everything, and only then the user can install only what he needs.

Therefore I am going to change the pkgname=() array and prepare_*() function from piper-voices, in order to introduce individual packages for each locale.

Latest Comments

AlphaJack commented on 2024-03-06 13:57 (UTC)

As @evorster reported, a split package for such a big collection is not viable in the AUR.

Split packages in the repos (e.g. tesseract-data from which I took inspiration) work fine because the end user can download and install them individually, while split packages from the AUR must build and package everything, and only then the user can install only what he needs.

Therefore I am going to change the pkgname=() array and prepare_*() function from piper-voices, in order to introduce individual packages for each locale.

ruahcra commented on 2024-03-06 08:57 (UTC)

Seems like the files are not being pulled correctly as well with the current PKGBUILD. Does it work for you @evorster ?

>cat /usr/share/piper-voices/en/en_GB/alan/medium/en_GB-alan-medium.onnx                                                       
version https://git-lfs.github.com/spec/v1
oid sha256:0a309668932205e762801f1efc2736cd4b0120329622adf62be09e56339d3330
size 63201294

evorster commented on 2024-03-04 10:10 (UTC)

Hi there!

I can see that these packages are still in a bit of flux, but I have to report that currently it is not possible to install piper-voices-en-gb and piper-voices-en-us concurrently.

Each of those also seem to want to clone all of the piper-voices git, which kind of defeats the purpose of splitting apart all these packages....

clonejo commented on 2024-02-15 00:54 (UTC)

In the piper-voices.install in line 38, there is a stray ` (backtick) that causes a syntax error.

EarthMind commented on 2024-01-27 16:00 (UTC) (edited on 2024-01-27 16:03 (UTC) by EarthMind)

I think there's an issue with your PKGBUILD. It ends in an error: error: command failed to execute correctly

I also tried to run the speak example command afterwords and it complains with:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Model file doesn't exist
ALSA lib pcm_dmix.c:1000:(snd_pcm_dmix_open) unable to open slave
aplay: main:834: audio open error: No such file or directory
zsh: done                           echo "Hello world" |
zsh: IOT instruction (core dumped)  piper-tts --model  --output-raw |
zsh: exit 1                         aplay -r 22050 -f S16_LE -t raw -

The audio file generation with:

terminate called after throwing an instance of 'std::runtime_error'
  what():  Model file doesn't exist