Compare commits

...

2 commits

Author SHA1 Message Date
Sebastian eff0a607d2 Added missing espeak-ng dependency 2024-12-18 18:45:13 +01:00
Sebastian b4006e545e Fixed more typos ...\o/ 2024-12-18 18:45:09 +01:00
2 changed files with 7 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ lib, python311Packages }:
{ lib, python311Packages, pkgs }:
with python311Packages;
let
# Stripped down version of the tts package (original is broken and needs cuda)
@ -15,6 +15,8 @@ let
};
doCheck = false;
nativeBuildInputs = [ pkgs.espeak-ng ];
dependencies = [
cython
numpy
@ -34,6 +36,7 @@ let
jamo
jieba
pypinyin
pkgs.espeak
];
};
in

View file

@ -96,11 +96,11 @@ in
WorkingDirectory = cfg.cache-dir;
};
script = ''
${cfg.package}/bin/mena-tts
${cfg.package}/bin/mensa_to_speech
${cfg.package}/bin/fm_feed_wav --local-addr ${cfg.local-address} \
--local-port ${cfg.local-port} \
--local-addr ${cfg.local-address} \
--local-port ${cfg.local-port} \
--remote-addr ${cfg.remote-address} \
--remote-port ${cfg.remote-port} \
--wav mensa.wav
'';
};