Changeset 4755


Ignore:
Timestamp:
May 15, 2017, 2:00:45 PM (2 years ago)
Author:
joamuran
Message:

added festival capabilities

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

Legend:

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

    r4721 r4755  
     1lliurex-tts (0.2) xenial; urgency=high
     2
     3  * Added festival capabilities too for catalan language
     4
     5 -- Jose A. Murcia <joamuran@gmail.com>  Mon, 15 May 2017 13:56:56 +0200
     6
    17lliurex-tts (0.1) xenial; urgency=high
    28
  • lliurex-tts/trunk/fuentes/debian/control

    r4721 r4755  
    99Package: lliurex-tts
    1010Architecture: all
    11 Depends: ${misc:Depends}, xsel, libnotify-bin, libttspico0, libttspico-utils, libttspico-data, libwww-perl, libwww-mechanize-perl, libhtml-tree-perl, sox, libsox-fmt-mp3
     11Depends: ${misc:Depends}, xsel, libnotify-bin, libttspico0, libttspico-utils, libttspico-data, libwww-perl, libwww-mechanize-perl, libhtml-tree-perl, sox, libsox-fmt-mp3, festival, festvox-ca-ona-hts (>= 1.3-1)
    1212Description: LliureX TTS
    1313 Some text to speech for
  • lliurex-tts/trunk/fuentes/simple-google-tts/simple_google_tts

    r4721 r4755  
    233233}
    234234
     235# pico2wave --wave="eixida.wav" --lang="es-ES" "Hola"
     236#
     237
     238fest_synth(){
     239    echo "$1" | text2wave -o "$OutFile" -eval '(voice_upc_ca_ona_hts)'
     240}
     241
    235242pico_synth(){
    236243  pico2wave --wave="$OutFile" --lang="$LangCode" "$1"
     
    278285  elif [[ "$LangCode" = "it" ]]; then
    279286    LangCode="it-IT"
     287  elif [[ "$LangCode" = "ca" ]]; then
     288    LangCode="ca"
     289   
    280290  else
    281291    echo "$MsgErrInvalidLang"
     
    286296  # fixed formatting line-breaks well enough on its own.
    287297  # no need to use split_into_paragraphs()
    288   pico_synth "$InputText"
     298 
     299  if [[ "$LangCode" != "ca" ]]; then
     300      pico_synth "$InputText"
     301  else
     302      fest_synth  "$InputText"
     303  fi
     304 
    289305  echo "$MsgInfoPlayback"
    290306  $Player "$OutFile" > /dev/null 2>&1
Note: See TracChangeset for help on using the changeset viewer.