News for hackers. Stuff that matters.
Re:Mycroft – An open-source voice assistant by lifty on Friday March 27, 2020 @09:17AM (#22702575)
As far as I know Mycroft does its speech recognition in the cloud, so your voice has to leave your network unfortunately. This is the reason why I don't have a voice assistant yet. There was snips.ai which tried to solve this problem locally but they were acquired by Sonos.

edit: spelling

Re:Mycroft – An open-source voice assistant by lukifer on Friday March 27, 2020 @01:20PM (#22704783)
I've been having great success building homebrew voice assistants with Rhasspy [0] and voice2json [1] (they're sister projects from the same maintainer). The code's not ready to share yet, but I have a voice-controlled Raspberry Pi music server in my car now, working 100% offline (got it ready just in time to never have to drive anywhere, lol).

[0] https://github.com/synesthesiam/rhasspy

[1] http://voice2json.org/

Re:Mycroft – An open-source voice assistant by nabeards on Friday March 27, 2020 @04:36PM (#22706617)
Please share! The community can help with ‘readiness’ (:
Re:Mycroft – An open-source voice assistant by lukifer on Friday March 27, 2020 @04:41PM (#22706672)
Haha, it's a completely garbage hodge-podge of Node and Bash right now, but I'm cleaning it up and will be sharing soon!
Re:Mycroft – An open-source voice assistant by hipitihop on Friday March 27, 2020 @10:34AM (#22703125)
The pieces of Snips that were OSS before Sonos bought and ditched the community are being leveraged along with new work in Project Alice https://github.com/project-Alice-assistant It continues to strive to be modular and offline. By design, the choice of online/offline elements including Google ASR and Amazon TTS along with corresponding quality and privacy tradeoffs is your choice. Come give a hand.
Re:Mycroft – An open-source voice assistant by tetris11 on Friday March 27, 2020 @01:43PM (#22704997)
This is really nice, are there any plans for Android deployment?
Re:Mycroft – An open-source voice assistant by intopieces on Friday March 27, 2020 @04:00PM (#22706262)
Pretty cool but weird choice of logo... are they run by The Umbrella Corporation?
Re:Mycroft – An open-source voice assistant by raghava on Saturday March 28, 2020 @01:56AM (#22709514)
Re:Mycroft – An open-source voice assistant by deadbunny on Friday March 27, 2020 @05:22PM (#22707028)
Probably referencing Program Alice from the films.
Re:Mycroft – An open-source voice assistant by tekchip on Friday March 27, 2020 @09:45AM (#22702755)
The default configuration is cloud based. However you do get to choose where your voice data goes. They also have a method to keep the TTS local and I haven't checked in on the project in a while but they were either working on or already had a local home server so you can make the whole system internal if you wish. I'd provide reference links but as noted site is down currently.

Edit: There are also several skills available that can point at full, local, downloads of wikipedia and the like. So if you prefer faster results and keeping some of your queries internal as a sort of hybrid thing that's an option as well.

Re:Mycroft – An open-source voice assistant by StavrosK on Friday March 27, 2020 @10:10AM (#22702935)
Snips were acquired? That's bad news, they were the only ones doing offline voice recognition...
Re:Mycroft – An open-source voice assistant by ocdtrekkie on Friday March 27, 2020 @10:23AM (#22703035)
They were definitely not the only ones, just the ones with the most aggressively spammy marketing team. HN mods actually stepped in once or twice about it.

Rhasspy is a really cool project that is compatible with a bunch of fully offline speech frameworks. PicoVoice is a super neat company too.

Re:Mycroft – An open-source voice assistant by lifty on Friday March 27, 2020 @10:35AM (#22703131)
Thanks for the tip! Both Rhasspy and PicoVoice look great. Anyone can recommend a microphone array that works with the raspberry pi?
Re:Mycroft – An open-source voice assistant by maddocche on Friday March 27, 2020 @10:59AM (#22703328)
Look for keystudio respeaker hat for raspberry. I got one for this exact purpose but still haven't got the chance to test it.
Re:Mycroft – An open-source voice assistant by lifty on Friday March 27, 2020 @11:10AM (#22703433)
Very cool. I see that respeaker has even a 6 mic array for the pi: https://respeaker.io/6_mic_array/
Re:Mycroft – An open-source voice assistant by kelnos on Friday March 27, 2020 @03:58PM (#22706240)
I have the (older, discontinued) 6+1 USB mic array, but I'm in general wary of the ReSpeaker stuff. I have the original ReSpeaker Core v1 hardware as well, and it's incredibly unstable. It comes with a tiny amount of flash that you're supposed to augment with a SD card (which then gets overlayfs'd onto the root filesystem), but the hardware is so buggy that running things from the SD card causes random SIGSEGV and SIGILL all over the place (and yes, I've painstakingly verified that this is not a software issue).

They essentially abandoned development of the v1 line (but appear to still be selling it!) for the v2 line, and I have a hard time trusting them.

Admittedly, I haven't done that much with the mic array I have, mainly because I got burned out dumping tens of hours into trying to get ReSpeaker Core v1 working (which I ended up trashing; it was that bad). I'd like to use it with a Raspberry Pi; hopefully that works out.

Re:Mycroft – An open-source voice assistant by lukifer on Friday March 27, 2020 @01:34PM (#22704914)
Seconding both ReSpeaker and Rhasspy/voice2json, I've been having great luck with that combo. The docs and example code for ReSpeaker are great, very easy to work with.
Re:Mycroft – An open-source voice assistant by StavrosK on Friday March 27, 2020 @10:25AM (#22703056)
Oh, thanks for that, I've been looking for a good offline speech framework. Unfortunately, the hardest part for me is the microphone array, hopefully I can find something good there.
Re:Mycroft – An open-source voice assistant by ocdtrekkie on Friday March 27, 2020 @10:27AM (#22703075)
I haven't had time to play with Rhasspy, but the fact that you can plug and play components from different speech platforms is really promising, particularly when I want to interface it with my own assistant at some point.

Wake word detection, speech to text, intent recognition, etc. is all split out and able to be plugged into separately.

Re:Mycroft – An open-source voice assistant by taf2 on Friday March 27, 2020 @11:30AM (#22703682)
Re:Mycroft – An open-source voice assistant by lukifer on Friday March 27, 2020 @01:24PM (#22704815)
For n=1, I got DeepSpeech 0.6 working on a Raspberry Pi, and the recognition accuracy was atrocious. Haven't tried the new 0.7 branch, though.
Re:Mycroft – An open-source voice assistant by taf2 on Friday March 27, 2020 @04:24PM (#22706498)
Keep in mind deepspeech is an implement of speech recognition algorithm... the results will largely depend on model used which typically require lots of manual labor
Re:Mycroft – An open-source voice assistant by bluGill on Friday March 27, 2020 @01:01PM (#22704596)
That is one of the toolkits used by mycroft. It isn't everything needed for an assistant but if you want to make one it is probably the best starting point.
Re:Mycroft – An open-source voice assistant by CodeMage on Friday March 27, 2020 @01:27PM (#22704854)
I found about Mycroft through their Kickstarter project, Mycroft Mark II. What convinced me to back them was that they said that, theoretically, I should be able to self-host their server on my own hardware at home.

Unfortunately, they mismanaged Mark II so badly that I lost all faith in Mycroft in general.

Re:Mycroft – An open-source voice assistant by catacombs on Friday March 27, 2020 @03:16PM (#22705897)
Same.

I, too, saw the Indiegogo campaign and gladly handed over nearly $200 for the Mycroft Mark II.

Two and half years later, there has been little progress, with no telling when they'll actually deliver the device to backers.

It's one thing for a company to delay production to have lost money on this with no help from Indiegogo and a refusal from the company to refund backers, I have no hope for this product seeing the light of day any time soon.

Shame on Mycroft for this scam.

Re:Mycroft – An open-source voice assistant by blendergeek on Friday March 27, 2020 @07:47PM (#22707927)
That is the nature of crowdfunding. This is not a scam unless there is deliberate malice involved. A mere inability to deliver a product is not a scam. They cannot give you a refund as the money had been spent on development. If they had held your money so that they could now give you a refund, that would be extremely problematic.
Re:Mycroft – An open-source voice assistant by adamredwoods on Friday March 27, 2020 @06:28PM (#22707491)
I can't wait for a community-driven, open-source data model that we can take offline and plug into any software adapter. With a little version control and some voluntary data samples, a large enough community could get it going.
Re:Mycroft – An open-source voice assistant by tobylane on Friday March 27, 2020 @12:34PM (#22704335)
Last time this came up the options were the Mozilla TTS service or do it locally with tensorflow lite and DeepSpeech.
Re:Mycroft – An open-source voice assistant by kleiba on Friday March 27, 2020 @02:21PM (#22705336)
Well, there is some current research in Europe at least on how to make voice assistant technology more respecting of their user's privacy: https://www.compriseh2020.eu/ It's still far from market-ready, though...
Re:Mycroft – An open-source voice assistant by andoriyu on Friday March 27, 2020 @06:00PM (#22707304)
Re:Mycroft – An open-source voice assistant by specialist on Friday March 27, 2020 @10:56AM (#22703304)
"As far as I know Mycroft does its speech recognition in the cloud..."

How practical would it be to recognize my most common commands, eg "resume podcast", offline?

Re:Mycroft – An open-source voice assistant by necovek on Friday March 27, 2020 @12:52PM (#22704512)
The fact that they are online is stopping a bunch of people from shouting at nobody in particular to "dim the lights", "play this (local) playlist", "turn ac on", "play two random episodes of paw patrol"... Eg. me.

Many of those who are concerned with apps phoning home would be the ones to keep their data and media locally too!

Re:Mycroft – An open-source voice assistant by Erlich_Bachman on Friday March 27, 2020 @01:11PM (#22704693)
Very practical, there are even dictation apps with quite good accuracy (and that is dictation, which is much harder because the sentences are free-form, not predefined) which work offline (like some offline Nuance Dragon apps).
Re:Mycroft – An open-source voice assistant by Erlich_Bachman on Friday March 27, 2020 @01:09PM (#22704671)
This is a major drawback of mycroft and I really hope they fix it soon.
Re:Mycroft – An open-source voice assistant by antonzabirko on Friday March 27, 2020 @09:32AM (#22702667)
Your voice is already compromised if you use a smartphone or windows/Mac with a mic.
Re:Mycroft – An open-source voice assistant by lukifer on Friday March 27, 2020 @01:31PM (#22704899)
One theory of security is that you can't ever be truly secure; but you can make it difficult/expensive for your security to be violated. If you lock the door, someone can always break a window, but that creates more noise and therefore more risk, making an intruder more likely to seek a softer target. A ten-foot wall can be breached, but it will likely dissuade anyone without an eleven-foot ladder.

The problem with mass surveillance is not that the NSA/etc can breach anyone they want; that's effectively always been true. It's that it's cheap to breach everyone, by default, all the time. Taking reasonable precautions such that you can't have your data swept up cheaply, instead requiring targeted human effort and/or a court order, does create a deterrent, and helps counteract the current imbalance of power between TLAs and We The People.

Re:Mycroft – An open-source voice assistant by lifty on Friday March 27, 2020 @09:39AM (#22702712)
If you are a target of the NSA or some other state actor, then perhaps. If not, and you take a bit of care to disable the voice assistant on your devices (Siri, Google. etc), then you should be fine.
Re:Mycroft – An open-source voice assistant by antonzabirko on Friday March 27, 2020 @10:27AM (#22703074)
It's not the NSA that does it, it's Microsoft, apple, Huawei, and so on. And no, disabling the voice apps does not out you out of telemetry.
Re:Mycroft – An open-source voice assistant by mthoms on Friday March 27, 2020 @04:59PM (#22706821)
Do you have any citation/proof? Or is this just a suspicion?
Re:Mycroft – An open-source voice assistant by Rooster61 on Friday March 27, 2020 @10:02AM (#22702875)
That just disables the voice assistant. It does nothing to ensure that your mic isn't on, listening, and recording at any time. I've had too many targeted ads start popping up after conversations with people to be convinced otherwise.
Re:Mycroft – An open-source voice assistant by Jarwain on Friday March 27, 2020 @10:32AM (#22703109)
My pet theory is that this is actually a geo-location type of tracking, combined with the recency illusion.

Let's say person A was doing research on a product they're interested in buying. That product category is now associated with person A. Person A goes and visits person B. Because our phones track where we go by default for most people, now there's an association between Person A and Person B, and a potential likelihood that person B is also interested in that product. Thus the occasional ad shows up for the product Person A was researching. Since Person A and Person B are friends, it's possible Person A will talk about the product they're interested in. Person B now notices that they're getting ads for the product that Person A talked about.

Re:Mycroft – An open-source voice assistant by arbitrage on Friday March 27, 2020 @10:15AM (#22702979)
it's observer bias, nothing more. test it out. pick a phrase, my spouse and i chose "snowmobile". For the next week, we had random conversations about how cool snowmobiles are, how badly we wanted one, what price we were willing to pay, financing, etc. we peppered our conversations with click bait, honestly. neither of us particularly ever had any interest whatsoever in snowmobiles, so we figured this would be a pretty ok test for anecdata.

at the end of the week, we both saw no increase or even a mention in our targeted adverts regarding snowmobiles. likely what is happening is that you searched something somewhere on your phone, then brought it up in conversation, then saw an increase in ads related to that subject.

Re:Mycroft – An open-source voice assistant by iamricks on Friday March 27, 2020 @10:22AM (#22703032)
I think people just underestimate how good targeted ads are. They're probably predicting something we might want before we even realize we want it.
Re:Mycroft – An open-source voice assistant by Rooster61 on Friday March 27, 2020 @10:27AM (#22703070)
> At the end of the week, we both saw no increase or even a mention in our targeted adverts regarding snowmobiles.

While I do respect you and your spouse for trying this experiment, it's entirely too small a sample size to really prove that this doesn't happen. There are a ton of variables involved, the biggest being which advertisers may or may not be listening in at any given time. It's hardly a controlled experiment, and I can't say I can put any stock in it.

It also does not prove that it is observer bias. I have had things pop up that I am %100 absolutely positive I never in any way shape or form looked into, yet there the ads were after a short conversations with others who did have an interest.

Re:Mycroft – An open-source voice assistant by mrobot on Friday March 27, 2020 @10:36AM (#22703137)
One thing i thought of and wanted to test: what if you yourself don't do any internet queries but someone on the same network as you does? I've had conversations with people, one time we were talking about a concert venue which i did not look up, but i did start to receive ads for that concert venue. It creeped me out initially, but I believe the other person on the same home network was googling or looking for information on that venue on their phone. I believe we were just associated together for advertisement purposes.
Re:Mycroft – An open-source voice assistant by wolfgang42 on Friday March 27, 2020 @09:07PM (#22708342)
I’m pretty sure this happens. When I was doing work with NetSuite, my roommate (who has no interest in anything remotely related to enterprise software, and doesn’t have any other devices that could have been listening in) started getting ads for them on his laptop.

It makes sense for them to target by IP, so if one person in an office is researching the product they can start targeting the entire office and maybe get their ad in front of an exec who can make a purchasing decision.

Re:Mycroft – An open-source voice assistant by TheSpiceIsLife on Friday March 27, 2020 @10:23AM (#22703037)
Do you live somewhere snowmobile advertisers are likely to target?
Re:Mycroft – An open-source voice assistant by bluGill on Friday March 27, 2020 @01:07PM (#22704650)
Even if he doesn't there are snowmobile resorts. People pay good money to go to places with a lot of snow, rent a snowmobile and ride in the wilderness for a week.

Also a fair number of people live where a snowmobile isn't practical but have a cabin where they are and so they will be making weekend trips to where they are practical.

Your point stands though, anyone who lives in the wrong area is unlikely to be targeted if the only indication they might want a snowmobile is home conversion. If you are serious you will do other searches (tracked for sure), and have location history in a target area (might not be track able, these area often have poor cell coverage)

Re:Mycroft – An open-source voice assistant by antonzabirko on Friday March 27, 2020 @10:37AM (#22703153)
That experiment is meaningless my friend. Aside from it not being applicable, ads are only a fraction of the issue.
Re:Mycroft – An open-source voice assistant by slipheen on Friday March 27, 2020 @10:23AM (#22703034)
Your defeatism is making things worse not better.

Your message is basically "You're already screwed, why bother trying?"

Why act that way? Who are you helping?

If you support privacy, then people taking steps to try to share less data ought to be encouraged, right?

Maybe it's not perfect - But it's worth trying to do better.

Re:Mycroft – An open-source voice assistant by Rooster61 on Friday March 27, 2020 @10:30AM (#22703096)
In what way did my message suggest defeatism?

I take active steps to minimize when and how the microphones around me listen in. In no way do I subscribe to the idea that "we are already screwed".

Please do not take the worst possible interpretation of what people say on HN. It's in the guidelines and generally looked down upon. This is not reddit.

Re:Mycroft – An open-source voice assistant by pkalinowski on Friday March 27, 2020 @10:37AM (#22703152)
Android doesn't listen. You can check by yourself using adb logcat
Re:Mycroft – An open-source voice assistant by antonzabirko on Friday March 27, 2020 @10:30AM (#22703101)
No, stop wasting your energy on change you won't make happen. Imagine if every innovator spent their time appealing to others.
Re:Mycroft – An open-source voice assistant by _def on Friday March 27, 2020 @10:32AM (#22703111)
Good thing it runs on a RPi then.