bin/mbrola_write_wav
author Markus Bröker <mbroeker@largo.dyndns.tv>
Sat, 13 Dec 2008 15:57:04 +0100
changeset 1 fd135abaac89
parent 0 06dd3b8d90ad
permissions -rwxr-xr-x
Troubleshooting: * See http://de.gentoo-wiki.com/Mbrola * txt2pho needs a config file -> ~/.txt2phorc or /etc/txt2pho committer: Markus Bröker <mbroeker@largo.homelinux.org>

#!/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"