Shop OBEX P1 Docs P2 Docs Learn Events
Hanno's speech recognition completed at last!!! — Parallax Forums

Hanno's speech recognition completed at last!!!

MicrocontrolledMicrocontrolled Posts: 2,461
edited 2010-03-10 07:25 in Propeller 1
I have searched through my project notebook and saw Hanno's specs written down with all but "knows 6 words" and "fits in under 15k" marked off. I then got out Phil's goertzel speech program and started modifying the demo to meat the specifications. 2 hours later I have a functional object and I have finally gotten those last 2 things crossed off the list. Attached is the modifyed speech program and the goertzel object. I don't have a demo for the object written yet, but that will not be hard and I should get one up soon. I will admit that the "GetWordSamples" PUB is a disaster, and while a good consept will not work right yet. I am beginning work on that now and should have it done soon. BTW, special thanks to Phil for another wonderful speech related product. smile.gif

Micro

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't click on this.....

Comments

  • jazzedjazzed Posts: 11,803
    edited 2010-03-04 17:17
    Congrats micro! Can't wait to see a demo. Yeaay!!
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-03-04 17:20
    Thanks! Haven't progressed on the demo yet, still revising/correcting my N&V article. I should have it up before the day's over, though!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't click on this.....
  • HannoHanno Posts: 1,130
    edited 2010-03-04 18:46
    Congrats Microcontrolled!
    I'm very proud of you for sticking with this project. Controlling Propeller projects by speaking to them will be so cool!
    I've sent you a license of ViewPort Ultimate and will include your object in 12Blocks as soon as you're ready. (Congrats also to Phil for his work- he also won a license [noparse]:)[/noparse] )
    Time to get ready for the next challenge!
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
  • hover1hover1 Posts: 1,929
    edited 2010-03-04 18:57
    Way to go Micro! Many people would have lost interest after this amount of time.

    Jim
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-03-04 19:36
    Awesome Hanno! This will really help!
    @hover1: Thanks!

    Attached is the modified code. No demo yet, but it is on the way. I discovered on the old code that the "GetWordSamples" PUB was not working, but this one fixes that error.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't click on this.....
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2010-03-04 19:36
    Good going, Micro! I'm glad you didn't let it fall through the cracks. If you ever go into business for yourself, you'll find that it's much easier to find customers for the things you finish than for the things you start. smile.gif

    -Phil
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-03-04 19:38
    It is ironic then that it is usually I who start things and never fini
    smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't click on this.....
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-03-05 01:57
    I'm debugging it with ViewPort....... There is some wacky variables going on, but I'll get the bug out soon.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't click on this.....
  • mctriviamctrivia Posts: 3,772
    edited 2010-03-05 03:36
    congratulations. can't wait to get a chance to play with it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    24 bit LCD Breakout Board now in. $24.99 has backlight driver and touch sensitive decoder.

    If you have not already. Add yourself to the prophead map
  • Graham StablerGraham Stabler Posts: 2,510
    edited 2010-03-05 11:51
    Could someone post some links to the background behind all this, sounds really interesting.

    Graham
  • hover1hover1 Posts: 1,929
    edited 2010-03-05 12:36
    The original thread:
    ·http://forums.parallax.com/showthread.php?p=821251

    Phil's Goertzel-based speech "recognizer"
    ·http://forums.parallax.com/showthread.php?p=837331
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-03-05 13:06
    Also, my original speech recognition program is in the OBEX.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't click on this.....
  • lardomlardom Posts: 1,659
    edited 2010-03-09 16:24
    ·I did not realize speech recognition was that involved. I had wondered when someone would create an object that·could decode·a stored bitmap of the programmer's face.·My inexperience shows.
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-03-09 16:46
    I Propeller could NOT do that! This speech recognition took months to complete. If you want a speech comparison (for security, as it only recognizes your voice) you can try my driver in the OBEX. It only took 4 hours to complete. Propeller.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't click on this.....

    Use the Propeller icon!! Propeller.gif
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-03-09 16:51
    I've learned from experience not to say things like this...


    Why couldn't a Propeller be programmed to recognize a face? Heat sensor maybe?

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    New to the Propeller?

    Visit the: The Propeller Pages @ Warranty Void.
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2010-03-09 17:11
    OK, I should have said that it would be HARD for a propeller to do that. It could surly recognize a face, but it couldn't process the video power to recognize 1 from another. Well, it could with the help of ViewPort. \
    Every time that you think the ol' Props not capable of something...... it is. I bet $10 BradC will be the first one running Linux on it. smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Don't click on this.....

    Use the Propeller icon!! Propeller.gif
  • jazzedjazzed Posts: 11,803
    edited 2010-03-09 18:21
    microcontrolled said...
    OK, I should have said that it would be HARD for a propeller to do that. It could surly recognize a face, but it couldn't process the video power to recognize 1 from another. Well, it could with the help of ViewPort. \
    Every time that you think the ol' Props not capable of something...... it is. I bet $10 BradC will be the first one running Linux on it. smile.gif
    A face would be no harder to recognize than a voice *and* you could do it without Viewport. It might take some time given the lack of on-board resources though. All you need* is a cam that propeller can read, an sdcard, code to encode/decode face "attributes", and code to find attribute matches.

    I'm still waiting for the voice recognition demo video [noparse]:)[/noparse]

    *Note: famous last words.
  • lardomlardom Posts: 1,659
    edited 2010-03-10 06:38
    microcontrolled said...
    I Propeller could NOT do that! This speech recognition took months to complete. If you want a speech comparison (for security, as it only recognizes your voice) you can try my driver in the OBEX. It only took 4 hours to complete. Propeller.gif

    What is the name of it? I would like to study it. I'm a beginner and I was just listening in. I thought the prop could decode the pixels in a bitmap
  • PhilldapillPhilldapill Posts: 1,283
    edited 2010-03-10 07:25
    Wow! That's very impressive, micro! A couple of years ago during my sophomore year(BS electrical engineering), I had a course project where we had to write a program in Matlab that would recognize spoken digits, 0 through 9. My group got about 70% accuracy - the 2nd highest in the class. Granted, we started off by not knowing anything at all about speech recognition, but by the end, we learned an incredible amount. Now that I've taken the more advanced subjects like Linear Systems, and discrete signal processing, I have a better understanding of what we were doing back then... However, going through something like this and disecting it on your own is an invaluable activity. I can't tell you how many clumps of hair I pulled out during that project, but it was totally worth it in the end. I'm sure you've learned a good bit just from doing so much of this on your own. Way to go, and keep it up!
Sign In or Register to comment.