GithubHelp home page GithubHelp logo

Comments (7)

laves avatar laves commented on May 18, 2024

Are you also passing it the german porcupine and rhino model files? They are located at resources/porcupine/lib/common/porcupine_params_de.pv and resources/rhino/lib/common/rhino_params_de.pv. We noticed this is not included in the current version of our docs, so we'll add it shortly.

When using a different language, PicovoiceManager initliazation will look like this:

let porcupineSensitivity = 0.7
let rhinoSensitivity = 0.6
this._picovoiceManager = await PicovoiceManager.create(
            '/path/to/keyword/file.ppn',
            wakeWordCallback,
            '/path/to/context/file.rhn',
            inferenceCallback,
            porcupineSensitivity,
            rhinoSensitivity,
            "/path/to/porcupine/model_de.pv",
            "/path/to/rhino/model_de.pv");

from picovoice.

VolkerLieber avatar VolkerLieber commented on May 18, 2024

That seems to be an oversight on my side as well. Sorry for the inconvenice regarding this matter and thanks for your quick reply - but I still can't get the demo to work. If I manually provide the english files, everything works. With the german files it sadly does not.

from picovoice.

laves avatar laves commented on May 18, 2024

I was able to reproduce with the wake word file you provided. It seems the file is being rejected for either being for being from another platform or from another version of Porcupine. This might be our issue, but I just want to make sure - was this wake word trained for Android and exported through the console recently?

from picovoice.

VolkerLieber avatar VolkerLieber commented on May 18, 2024

model
wakeword

from picovoice.

laves avatar laves commented on May 18, 2024

Okay, we'll look into this and get back to you. Thanks for reporting.

from picovoice.

laves avatar laves commented on May 18, 2024

@VolkerLieber if you rename the model files or uninstall and reinstall the clock demo from your dev device it should work. I think what's happening is - since your files have the same name as the english ones, the german ones are not overwriting the old english ones that are still on the device. The react-native-fs package used in the demo claims it overwrites files that already exist, but that does not seem to be the case.

from picovoice.

VolkerLieber avatar VolkerLieber commented on May 18, 2024

Yes, that seems to be the problem. Thanks again for your excellent help

from picovoice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.