top of page

create a vocal assistant with random japanese citations #vocal assistant #robot #ubuntu

  • Photo du rédacteur: christophe desterke
    christophe desterke
  • 27 déc. 2018
  • 1 min de lecture

#install speak assistant sudo apt-get install espeak-ng espeak-ng-espeak sudo apt-get install libttspico-utils #check if french language is installed espeak-ng --voices=FR #vocal assistant with random japanese citations in french language #set the 5 citations set -- "L'amour est au-delà de la raison" "Une mauvaise action court plus vite que le vent" "Le monde est éternel, la vie est bien courte" "En période de paix, il ne faut pas oublier les troubles" "La poussière fait une montagne quand elle est accumulée" #build a random Z variable with the expression Z=$(eval echo \$$(expr $RANDOM % 5 + 1)) #vocal assistant which return the selected random citation espeak-ng -v fr -X -s 110 "$Z"

 
 
 

Comments


bottom of page