First of all, thank you to all the devs and users that make my home automation fascination grow larger and my bank account getting smaller each day!
My question here today is: I have been using the Voice Assistant for a few weeks now. It is great, it understands and speaks European Portuguese (unlike Alexa or Google Assistant) and I have been able to tweak it to my liking.
My problem is with wake words: the pre-determined wake words work fairly well (OK Nabu, Alexa, etc.), albeit with quite a few false positives, but I would like to set a custom wake word in Portuguese. I want to use a name (âAmbrĂłsioâ) that checks a few boxes:
itâs an unusual first name but everyone knows it (itâs the name of the chauffeur in the PT version of the 1990s ad of Ferrero Rocher)
itâs kind of funny (see item above)
it has 4 syllables (not too short, not too long)
its sound is not very likely to be mistaken with other common words (the sound âĂłsioâ is not very common in Portuguese)
For all these reasons, Iâm dead set on making it work.
Here is what I have done so far:
I tried to train a openwakeword custom model (through Google Colab) by writing a phoneme in English that kind of sounds like âAmbrĂłsioâ, along the lines of Am-brah-zee-ooh.
This does not work: HA recognizes the wake word only maybe 50-60% of the times, in a good day.
I tried (and achieved) to install the porcupine addon in HA, and I have trained a new model in Portuguese (here: Picovoice â Wake Word Detection & Keyword Spotting) but I canât upload it to Home Assistant and make it work.
Can someone point me in the right direction? If using a custom wake word in Porcupine in HA is not possible, are there any other viable alternatives to bring AmbrĂłsio to life?
Thanks for any help and keep up the good work and this great community!
I would also like that for Romanian language.
I would accept recording myself saying the wake-up word in Romanian 100 times (or more) if this will work better than trying to make an english voice spell something which technically is correct but doesnbât at all sound Romanian âŠ
How to create my Romanian wake-up word ?? (not by being pronounced by an English voice)
Dead end⊠Snowboy only supports wake words in English or Chinese:
" Copy the WAV files to /share/snowboy/train/<language>/<wake_word> where <language> is either en for English or zh for Chinese (other languages are not supported). <wake_word> should be the name of your wake word, such as hey_computer (spaces in the same are not recommended)." - Snowboy addon documentation.
I donât think that the language of personal wake words would matter, snowboy doesnât do any speech to text processing, you can give it nonsense words and itâll still recognize them. It wouldnât matter to it whether the wake word was English, Portuguese, or Martian. Try training your preferred wake word on it using this online tool and see for yourself: http://snowboy.jolanrensen.nl/
Just wanted to add, train your personal wake word in a perfectly silent environment, ideally using the same device and mic that you plan to use it on, I had good luck with it after creating 24 audio samples, donât ask me why that number worked, more would probably work too but Iâm not going to mess with what worked.
I have been using Porcupine with moderate success. A few false alarms and the assistant meddling in normal conversations. Not many, but still a menace to the WAF.
Not sure if itâs the wakeword engine or the mic sensitivity. Still have to test snowboy.
I actually stopped using this, I have found the HA Voice Assistant (or the wyoming satellite, to be more precise) to be too unreliable: many false positives (it started talking when someone was having a conversation or in the middle of a movie), the system crashed for no apparent reason, etc.
I honestly donât remember where I put the final files, but check if you have any luck with these: Unique Download Link | WeTransfer