bin/mbrola_write_wav
changeset 0 06dd3b8d90ad
equal deleted inserted replaced
-1:000000000000 0:06dd3b8d90ad
       
     1 #!/bin/bash
       
     2 
       
     3 ROOT=/opt/mbrola                # Where are the needed files?
       
     4 VOICE=$ROOT/de5/de5             # Path to the mbrola-voice
       
     5 SEX=f                           # m/f Which sex has your voice?
       
     6 
       
     7 file=$1
       
     8 
       
     9 eval "cat $file |\
       
    10 $ROOT/bin/pipefilt |\
       
    11 $ROOT/bin/preproc $ROOT/Rules.lst $ROOT/data/hadifix.abk |\
       
    12 $ROOT/bin/txt2pho -$SEX -p $ROOT/data/ |\
       
    13 $ROOT/bin/mbrola $VOICE - $2"