Skip to content

Commit d7bbf11

Browse files
committed
parameterize language
1 parent bb83b6e commit d7bbf11

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

piper.fish

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
function piper
2-
natrix -m piper -m en_US-lessac-medium --output-raw 2>/dev/null | aplay -r 22050 -f S16_LE -t raw - 2>/dev/null
1+
function piper -a lang
2+
test -n "$lang" || set lang en_US-lessac-high
3+
natrix -m piper -m "$lang" --output-raw 2>/dev/null | aplay -r 22050 -f S16_LE -t raw - 2>/dev/null
34
end

0 commit comments

Comments
 (0)