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

View file

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