Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TtsRequest CA_ES doesn't speak in catalan #428

Open
acivit opened this issue Nov 17, 2023 · 1 comment
Open

TtsRequest CA_ES doesn't speak in catalan #428

acivit opened this issue Nov 17, 2023 · 1 comment

Comments

@acivit
Copy link

acivit commented Nov 17, 2023

Hello,

I want Temi to talk in catalan for my project, until now I used the SDK "'com.robotemi:sdk:0.10.65'", which has not catalan implemented in their languages, so I used Microsoft speech synthesis library.

I saw that you have implemented catalan for temi, so I wanted to check if it worked properly, but when executing the speaking its pronunciation is in English. I'm using: "'com.robotemi:sdk:1.131.4'"

This is a wrap of code using this:

import com.robotemi.sdk.Robot;
import com.robotemi.sdk.TtsRequest;

public class RobotApi implements TtsListener,
                                 AsrListener,
                                 OnGoToLocationStatusChangedListener{
    private final Robot robot;
    public TemiWebsocketServer server;
    String speak_id;

public String speak(String sentence, String id) throws ExecutionException, InterruptedException {
        //TtsRequest.Language language = TtsRequest.Language.CA_ES; (I have used both)
        TtsRequest.Language language = TtsRequest.Language.valueToEnum(22);

        TtsRequest request = TtsRequest.create(sentence, false, language);
        robot.speak(request);

        return "ok";

I'm using Temi v2. Android 6.0, minSdkVersion 23, targetSdkVersion 29. Robox OS 128.12, Launcher OS 16402.

Any idea why this must happen? Thanks!

PD: Catalan does not appear in settings -> language..

@zjn0505
Copy link
Contributor

zjn0505 commented Nov 20, 2023

https://github.com/robotemi/sdk/wiki/Release-Info#version-11302

Catalan as a system and TTS language will require temi V3, it is added in 130 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants