Skip to content

TtsRequest CA_ES doesn't speak in catalan #428

Open
@acivit

Description

@acivit

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..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions