luxai-qtrobot / QA

Virtual repository for Questions & Answers system
http://luxai-qtrobot.github.io
5 stars 0 forks source link

Missing acapela language files #56

Open ysl208 opened 1 year ago

ysl208 commented 1 year ago

Hi, my QTRP only has two files in ~/robot/acapela which are

qtrobot@QTRD000156:~$ ll robot/acapela/voices/hq-ref-USEnglish-
hq-ref-USEnglish-Ella-22khz/
hq-ref-USEnglish-Valeria-English-22khz/

If I check my /opt/ros/kinetic/share/qt_robot_interface/config/qtrobot-interface.yaml there seem to be more options for German and French.

  speech:
        engine: acapela
        acapela:
            path: '/home/qtrobot/robot/acapela/'
            language: de_DE
            speed: 80
            pitch: 150
            voices:
                en_US: enu_ella_22k_ns.qvcu
                en_SP: enu_valeriaenglish_22k_ns.qvcu
                de_DE: ged_lea_22k_ns.qvcu
                fr_FR: frf_valentin_22k_ns.qvcu

I also tried setting the svox language but it didn't work

        svox:
            path: '/home/qtrobot/robot/data/tts-lang/'
            language: de-DE
            speed: 80
            pitch: 180

Where do I get the missing languages from?

codionysus commented 1 year ago

Hi @ysl208, the two folders (in robot/acapela) that you have are default two voices/languages (acapela voices) that come with QTrobot, any additional voice/language needs to be ordered. Configuration file (config/qtrobot-interface.yaml) is just preconfigured for other voices, but the voices are not installed on the QTrobot. Svox should work, only thing you need to change is line engine: acapela to engine: svox and reboot the QTrobot