Changeset 4830


Ignore:
Timestamp:
May 18, 2017, 2:28:26 PM (2 years ago)
Author:
joamuran
Message:

release 0.3

Location:
lliurex-tts/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-tts/trunk/fuentes/debian/changelog

    r4768 r4830  
     1lliurex-tts (0.3) xenial; urgency=high
     2
     3  * Added -s (silent mode) option
     4
     5 -- Jose A. Murcia <joamuran@gmail.com>  Thu, 18 May 2017 14:27:40 +0200
     6
    17lliurex-tts (0.2) xenial; urgency=high
    28
  • lliurex-tts/trunk/fuentes/simple-google-tts/simple_google_tts

    r4768 r4830  
    3333############# GLOBVAR/PREP ###############
    3434
     35############# LliureX Modifications ##############################
     36#
     37#         May 2017, Supports catalan Festival voices
     38#         Added options to store in file and silent mode
     39#
     40##################################################################
     41
     42
    3543ScriptPath="$(readlink -f "$0")"
    3644ScriptBase="$(basename "$0")"
     
    5563    -h:   display this help section
    5664    -w: wav_file: if you want to only save wav_file, instead of speak it.
     65    -s: silent mode
    5766
    5867    Selection of valid language codes: en, es, de...
     
    127136arg_evaluate_options(){
    128137    # grab options if present
    129     while getopts "gphw:" Options; do
     138    while getopts "gpshw:" Options; do
    130139      case $Options in
    131140        g ) OptNotify="1"
    132141            ;;
    133142        p ) OptOffline="1"
     143            ;;
     144        s ) exec > /dev/null
    134145            ;;
    135146        h ) echo "$Usage"
     
    284295      echo $WavToSave
    285296      if [[ $WavToSave != "" ]]; then # Check if we want to save - LLX
    286           echo "Saving $OutFile to $WavToSave"
     297          echo "Google TTS Saving $OutFile to $WavToSave"
     298          #echo "copying ${OutFile} ${WavToSave}" >> /tmp/tts.log
    287299          cp $OutFile $WavToSave
     300          echo $?
    288301        else
    289302            $Player "$OutFile" > /dev/null 2>&1 &
     
    329342 
    330343  if [[ $WavToSave != "" ]]; then # Check if we want to save - LLX
    331           echo "Saving $OutFile to $WavToSave"
     344          echo "TTS Pico Saving $OutFile to $WavToSave"
    332345          cp $OutFile $WavToSave
    333346        else
Note: See TracChangeset for help on using the changeset viewer.