Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Hardware Hacking Input Devices Build

Whistled Platform Upgraded With Word Recognition 30

An anonymous reader writes "A few weeks ago, Slashdot featured a cheap platform performing 80FFTs per second to recognize whistles. The platform is open hardware/open source and is aimed for sound processing projects. To this goal, the creator (limpkin) just implemented a simple proof of concept algorithm that will control your lighting once the platform listens to a particular word. A small video has been made to explain the basic concepts of sound recognition to encourage hobbyist to make their own."

This discussion has been archived. No new comments can be posted.

Whistled Platform Upgraded With Word Recognition

Comments Filter:
  • by Anonymous Coward

    I now have a way to wipe all my drives and trigger my thermite detonators incase the feds come knocking.. now i just need to make sure no good looking women come near me so I don't wolf whistle... I think I'll be ok!

  • by Jane Q. Public ( 1010737 ) on Monday June 24, 2013 @08:08PM (#44097409)
    In the 1970s, a book was published entitled "How To Build Your Own Computer-Controlled Robot". In fact this was one of the books that first got me interested in computing.

    The author of the book, a high-school student, built (with the help of his engineer father, I don't want to downplay that) a small robot that had obstacle sensors, light sensors, and some basic mapping capability so it could find its own charging station (not so different from a Roomba today).

    But my main point is: it also had effective voice recognition, for simple commands. And the implementation was pretty simple: the audio input was amplified, then sent through 3 notch filters to separate high, medium and low audio frequencies. Each of the 3 frequencies was digitally sampled at about 40kHz. Repeated samples were averaged and saved in a table in memory.

    The CPU (and remember, this was a 1970s-era CPU, if I recall an 8080a or a Z-80 or similar) constantly sampled incoming sounds, and when one sufficiently matched one of the stored templates it meant "command received".

    It was a simple scheme, and it worked fine. I don't want to detract from this inventor, but in essence he is doing a similar thing. Except instead of using notch filters, he's using FFTs to do the frequency analysis and build (and then compare to) the templates. The ideas aren't all that different.

    But personally, I think I'd prefer the old method, as it demonstrably worked at least as well as this, used only a few $ in hardware in addition to the CPU, and was pretty definitely less compute-intensive to achieve.

    Keep in mind: that was 40 years ago. Maybe this newer approach has more potential; I don't know. But it certainly doesn't look much different at this time.
    • by Anonymous Coward

      If you can't see why this has more potential, you know nothing about DSP. Yes, for voice, 3 well-chosen fixed bands is mostly enough. But for whistling (as per the original application) or various other sounds, those same three bands will be pretty crap.

      Now we could make the 3 analog notch filters tunable via a DAC output, and get good results for one group (at a time) of a wide range of sounds, but that complicates it substantially. Yes, doing it with FFTs uses a lot more computational power -- but when th

      • "But for whistling (as per the original application) or various other sounds, those same three bands will be pretty crap."

        I'm not suggesting otherwise. I think you're missing my point, which was that THIS was about voice recognition, not whistling, and he is using a high-tech solution for that where a lower-tech, simpler solution might actually be better.

        Nor am I saying we shouldn't do it this way. I'm only saying there are alternatives that might work as well for THIS application, which are also simpler and cheaper.

    • I read a different book, in the '80s about things that you could do with a BBC Micro. One of them was a sound recogniser, which worked in a similar way with a 1MHz 6502. Most of this kind of book seemed to disappear in the '90s though, and didn't really start to reappear until recently.
      • Do you happen to remember the title of the book? I'd certainly be interested in that.
        • I don't, I'm afraid. My school had a book shelf full of books of fun projects involving the BBC, and this was one entry in one of them.
  • you knew that one was coming.
  • by Anonymous Coward
    but in the 1980s you could buy a chip to recognize certain words at Radio Shack.

    http://21stdigitalhome.blogspot.ca/2013/06/vcp200-voice-recognition-ic.html [blogspot.ca]

  • POTATO! Doesn't work...
  • by BlueStrat ( 756137 ) on Monday June 24, 2013 @09:23PM (#44097693)

    Simon Phoenix, after reprogramming Dr. Cocteau's house lights;

    "Nah, I changed that."

    "Illuminate"

    "De-luminate"

    "Ah, Isn't that much better?"

    (I swear, the US is looking and feeling more and more like the fictional "Greater SanAngeles" from the movie with every day that passes.)

    Strat

  • ...apparently. It's why they had to keep Kevin Mitnick in solitary confinement so he couldn't whistle launch codes into the prison payphones: http://en.wikipedia.org/wiki/Kevin_Mitnick#Arrest.2C_conviction.2C_and_incarceration [wikipedia.org]

  • by Connie_Lingus ( 317691 ) on Monday June 24, 2013 @09:39PM (#44097757) Homepage

    ..if he could get it recognize, say. the sound of two handclaps...wouldnt that be something?

  • Unfortunately the US has charged them with espionage, cut off their funding. And they have been forced to shutdown.
  • Prometheus (Score:4, Funny)

    by TheSkepticalOptimist ( 898384 ) on Tuesday June 25, 2013 @08:10AM (#44099659)

    The moment I have to blow anything to use a device I will retire and become a Luddite.

A committee takes root and grows, it flowers, wilts and dies, scattering the seed from which other committees will bloom. -- Parkinson

Working...