Slashdot Mirror


Princeton Students Develop Open Source Voice Control Platform For Any Device

rjmarvin (3001897) writes "Two Princeton computer science students have created an open source platform for developing voice-controlled applications that are always on. Created by Shubhro Saha and Charlie Marsh, Jasper runs on the Raspberry Pi under Raspbian, using a collection of open source libraries to make up a development platform for building voice-controlled applications. Marsh and Saha demonstrate Jasper's capability to perform Internet searches, update social media, and control music players such as Spotify. You need a few easily obtainable bits of hardware (a USB microphone, wifi dongle or ethernet, and speakers). The whole thing is powered by CMU Sphinx (which /. covered the open sourcing of back in 2000). Jasper provides Python modules (under the MIT license) for recognizing phrases and taking action, or speaking when events occur. There doesn't seem to be anything tying it to the Raspberry Pi either, so you could likely run it on an HTPC for always-on voice control of your media center.

7 of 34 comments (clear)

  1. Re:Open source platform for Voice control by wiredlogic · · Score: 2

    The solution is just to attach a hub. It isn't meant to be a production SBC. They can't meet their price point by adding more connectors to a larger board.

    --
    I am becoming gerund, destroyer of verbs.
  2. Re:Another project using sphinx isn't impressive by serviscope_minor · · Score: 3, Insightful

    There are tens of these sort of projects and this one won't run on 'any' hardware as it uses some heavy libraries that certainly aren't going to work on ANY of the embedded systems I use.

    Well, I'm shocked at ther deceptiveness of the article! Shocked, I tell you, shocked AND appaled.

    I mean there are *so* many devices these things won't run on. It won't run on my little PIC12F678 with it's 64B of RAM and 1K flash. It won't run on my typewriter OR daisywheel and it most certainly won't work on my wax cylinder player.

    A clue: "any" in this context means there are no device specific restrictions limiting it artificially. But you already knew that.

    --
    SJW n. One who posts facts.
  3. Re:Open source platform for Voice control by Anrego · · Score: 5, Interesting

    My experience is the rasp pi just isn't stable enough in that kind of configuration for serious use (other experiences may vary). When you get higher USB traffic or eth traffic, it fails, and when it fails spectacularly and usually takes the board down with it. There are better boards out there are a slightly higher price range that can handle this no problem.

    Don't get me wrong, I love the rasp pi and I think it's awesome what they've done and more importantly what they've started (this kinda ultra cheap computer was a dream just a little while ago, now you've got a wide variety, and I believe the rasp pi was directly responsible for this). The reality is however that a good number of alternatives have popped up at a variety of price points, many better suited for a lot of the purposes we originally were salivating over for the pi. Definitely worth looking around before trying to force a pi to do it.

  4. Pretty cool.. by Anonymous Coward · · Score: 3, Insightful

    The fun things students come up with!
    My son currently is in an engineering Graduate program in MA. He used to think they could try making cool things and maybe actually build and sell them.
    Unfortunately most, if not all, can't take it beyond the classroom or home made use only. There is a huge list of patent trolls waiting on you if do.
    Start here: https://www.google.com/?tbm=pts#q=voice+control&tbm=pts

    He found this out the hard way :(

  5. Re:Another project using sphinx isn't impressive by BitZtream · · Score: 2

    No, I don't magically know what they mean given no context. Thats the point. It won't run on any device, hell, it won't even run on any RaspberryPi since ... some of the licenses for those libraries themselves are potentially conflicting.

    I'm not sure what magical fairy world 'any' device belongs to, but not a single one I can think of applies here.

    But hey, why let reality cloud your inner fanboy, eh?

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
  6. Re:Another project using sphinx isn't impressive by khellendros1984 · · Score: 2

    If the device can't run full-blown Linux with either ALSA or OSS support, then it sounds like you're out of luck. Full language models seem to be around 50MB of data, although I assume that simpler models could be used if recognition is constrained to a certain word set.

    Compiled on my system, libsphinxbase.a is 298KB after being stripped, and the shared library is 302KB. That sounds like it's pretty far out of the size range that you're looking for.

    --
    It is pitch black. You are likely to be eaten by a grue.
  7. Re:Open source platform for Voice control by Anonymous Coward · · Score: 4, Informative

    Sounds like a crap powersupply.