diff --git a/bin/mbrola_write_wav b/bin/mbrola_write_wav new file mode 100755 --- /dev/null +++ b/bin/mbrola_write_wav @@ -0,0 +1,13 @@ +#!/bin/bash + +ROOT=/opt/mbrola # Where are the needed files? +VOICE=$ROOT/de5/de5 # Path to the mbrola-voice +SEX=f # m/f Which sex has your voice? + +file=$1 + +eval "cat $file |\ +$ROOT/bin/pipefilt |\ +$ROOT/bin/preproc $ROOT/Rules.lst $ROOT/data/hadifix.abk |\ +$ROOT/bin/txt2pho -$SEX -p $ROOT/data/ |\ +$ROOT/bin/mbrola $VOICE - $2"