Comments (7)
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.
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.
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.
from picovoice.
Okay, we'll look into this and get back to you. Thanks for reporting.
from picovoice.
@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.
Yes, that seems to be the problem. Thanks again for your excellent help
from picovoice.
Related Issues (20)
- [question] is it possible disable IOS AVAudioSession handling to prevent conflict with flutter_webrtc HOT 1
- Rhino - best practice recommendation HOT 1
- Complete Raspberry Pi 5 Support HOT 9
- "Tallinn" missing from Rhino word list HOT 2
- Picovoice Issue: can't save in console, error "Rhino could not validate context within the given timeout" HOT 3
- Picovoice Documentation Issue (/docs/tips/syntax-cheat-sheet/) HOT 1
- Error on Leopard build when using custom model HOT 2
- Picovoice Issue: HOT 2
- 我的账户被删除了,我不清楚我违反了什么条款 HOT 2
- how do I change account Email HOT 3
- Picovoice Console Issue: HOT 2
- Request for Future Turkish Language Support HOT 1
- Picovoice Console Issue: Porcupine Wake Word HOT 1
- Picovoice Console Issue: not able to create a wakeword HOT 3
- Console wierd behavior - Leopard custom voc / boost words HOT 2
- picovoice not starting HOT 2
- Picovoice Console Issue: HOT 1
- STM32F407G-DISC1 Demo Project Issues HOT 6
- Hardware for just Picovoice to run HOT 3
- Picovoice Console Issue: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picovoice.