Shop OBEX P1 Docs P2 Docs Learn Events
->Speech recognition?2 — Parallax Forums

->Speech recognition?2

ArchiverArchiver Posts: 46,084
edited 2003-07-10 14:43 in General Discussion
What would i need to write/do that would be able to understand what i
am saying if i use pbasic and the microcontroller with eeprom?

what would i need to do if i use a PIC?

and what would i need to do to understand the numbers that the phone
is dialing with pbasic?

p.s. thanks, these are all good thoughts, im sure im going to ask
more too. =-)









--- In basicstamps@yahoogroups.com, "George Bush" <capthoohoo@y...>
wrote:
> --- In basicstamps@yahoogroups.com, "Tim Hart" <tim.hart@h...>
wrote:
> > Thinking out loud here....
> >
> > Motorola (or Nokia) phone with no service contract.....tell it to
> "call home"....have the stamp monitor the output of the phone as it
> dials. Then execute code based on the numbers it dialed.... Of
> course it won't cost anything for the phone to attempt a call
without
> a contract [noparse]:)[/noparse]
> >
> > Sure beats reinventing the speech recognition wheel!!
> >
> > Tim
>
> Tim - HA! I like it! Excellent suggestion for a work around!
>
> Dennis - if the A/D wouldn't be able to sample fast enough, we will
> have to speak vvvveeeerrryyy sssllloooowwllyyy to our Stamps! ;-)
>
>
> Neil

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-07-10 01:44
    --- In basicstamps@yahoogroups.com, "virtualeast" <vea@v...> wrote:
    > What would i need to write/do that would be able to understand what
    i
    > am saying if i use pbasic and the microcontroller with eeprom?
    >
    > what would i need to do if i use a PIC?
    >
    > and what would i need to do to understand the numbers that the phone
    > is dialing with pbasic?
    >
    > p.s. thanks, these are all good thoughts, im sure im going to ask
    > more too. =-)
    >

    The first thing you do is decide what you need as specifically as
    possible. Are you making "The Clapper" or are you trying to make
    something that would emulate the functionality of the cell phone? I
    would suggest starting with The Clapper. It would give you practice
    with the elements you would need to move on to more complicated sould
    recognition. The answer to all your questions is in the
    specifications of what you need to build.

    The three blocks I talked about before could be the basis of your
    design for all of the cases you ask about above. 1) High speed A/D
    (How fast, how much data?) 2) FFT function 3) known samples in memory
    with a "best fit" comparison algorithm. In each of your cases these
    blocks get implemented differently, but conceptually you need all
    three. In Tim's phone suggestion you would be sampling phone tones
    rather than the human voice.

    Neil
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-10 02:16
    You really really don't want to roll your own on this. Yes, in theory an
    FFT and a correlation algorithm will do the trick, but in real life
    there are a lot of tricks required to make it all work -- especially
    without training.

    HOWEVER, there are several Ics that do this already to some degree.
    Phillips makes the "Hello IC"
    http://www.semiconductors.philips.com/news/content/file_690.html

    http://www.sensoryinc.com/html/company/pr99_6.html

    ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/info/VoiceRecognitionProcess
    ors

    The OKI looks good as long as you can live with their standard words.
    Look at the technology that goes into some of these and you'll see what
    I mean.

    I don't mean to be discouraging, but this would be a huge undertaking
    even on a DSP or other high-performance chip.

    Al Williams
    AWC
    * Analog/Digital I/O with VB, Excel, C++, Java, more...
    http://www.al-williams.com/gp3.htm






    >
    Original Message
    > From: virtualeast [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=pfCouqeDOZgPYhLBSHdtMULB6BRm412ZHz1EBVvEybiaKstTAT6seiLwANDddono1ZYvLoYTRI-F]vea@v...[/url
    > Sent: Wednesday, July 09, 2003 6:58 PM
    > To: basicstamps@yahoogroups.com
    > Subject: [noparse][[/noparse]basicstamps] ->Speech recognition?2
    >
    >
    > What would i need to write/do that would be able to understand what i
    > am saying if i use pbasic and the microcontroller with eeprom?
    >
    > what would i need to do if i use a PIC?
    >
    > and what would i need to do to understand the numbers that the phone
    > is dialing with pbasic?
    >
    > p.s. thanks, these are all good thoughts, im sure im going to ask
    > more too. =-)
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > --- In basicstamps@yahoogroups.com, "George Bush" <capthoohoo@y...>
    > wrote:
    > > --- In basicstamps@yahoogroups.com, "Tim Hart" <tim.hart@h...>
    > wrote:
    > > > Thinking out loud here....
    > > >
    > > > Motorola (or Nokia) phone with no service contract.....tell it to
    > > "call home"....have the stamp monitor the output of the phone as it
    > > dials. Then execute code based on the numbers it dialed.... Of
    > > course it won't cost anything for the phone to attempt a call
    > without
    > > a contract [noparse]:)[/noparse]
    > > >
    > > > Sure beats reinventing the speech recognition wheel!!
    > > >
    > > > Tim
    > >
    > > Tim - HA! I like it! Excellent suggestion for a work around!
    > >
    > > Dennis - if the A/D wouldn't be able to sample fast enough, we will
    > > have to speak vvvveeeerrryyy sssllloooowwllyyy to our Stamps! ;-)
    > >
    > >
    > > Neil
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the
    > Subject and Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-10 14:39
    At 01:43 PM 7/10/03 +0000, Allan Lane wrote:
    >I could have sworn I found a speaker-dependent
    >speech module, which could be trained to recognize
    >15 words, for around $100.00, and which would
    >interface with a PIC, AVR, or Stamp.

    This may be the unit to which you are making reference:
    http://www.imagesco.com/catalog/hm2007/SpeechRecognitionKit.html

    Regards,

    Bruce Bates
  • ArchiverArchiver Posts: 46,084
    edited 2003-07-10 14:43
    I could have sworn I found a speaker-dependent
    speech module, which could be trained to recognize
    15 words, for around $100.00, and which would
    interface with a PIC, AVR, or Stamp.

    This approach is your only hope, as the Stamp
    by itself does not have the speed or ram space
    for voice recognition.

    For the numbers -- there are several inexpensive
    chips which understand DTMF, and there are
    Nuts&Volts articles on the Parallax website
    on this part.


    --- In basicstamps@yahoogroups.com, "virtualeast" <vea@v...> wrote:
    > What would i need to write/do that would be able to understand what
    i
    > am saying if i use pbasic and the microcontroller with eeprom?
    >
    > what would i need to do if i use a PIC?
    >
    > and what would i need to do to understand the numbers that the
    phone
    > is dialing with pbasic?
    >
    > p.s. thanks, these are all good thoughts, im sure im going to ask
    > more too. =-)
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > --- In basicstamps@yahoogroups.com, "George Bush" <capthoohoo@y...>
    > wrote:
    > > --- In basicstamps@yahoogroups.com, "Tim Hart" <tim.hart@h...>
    > wrote:
    > > > Thinking out loud here....
    > > >
    > > > Motorola (or Nokia) phone with no service contract.....tell it
    to
    > > "call home"....have the stamp monitor the output of the phone as
    it
    > > dials. Then execute code based on the numbers it dialed.... Of
    > > course it won't cost anything for the phone to attempt a call
    > without
    > > a contract [noparse]:)[/noparse]
    > > >
    > > > Sure beats reinventing the speech recognition wheel!!
    > > >
    > > > Tim
    > >
    > > Tim - HA! I like it! Excellent suggestion for a work around!
    > >
    > > Dennis - if the A/D wouldn't be able to sample fast enough, we
    will
    > > have to speak vvvveeeerrryyy sssllloooowwllyyy to our Stamps! ;-)
    > >
    > >
    > > Neil
Sign In or Register to comment.