CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Voice/sound recognition
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
edi



Joined: 22 Dec 2003
Posts: 82

View user's profile Send private message

Voice/sound recognition
PostPosted: Sun Sep 19, 2004 11:48 pm     Reply with quote

Hi,

Any idea how to recognize specific sound or voice using PIC 16Fxxx device? Small circuit beside the PIC... is also possible.
(Need to recognize just one kind of sound/voice not simple frequency)

Edi
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Mon Sep 20, 2004 12:04 am     Reply with quote

What do you exactly mean by 'Recognize'?
Guest
Guest







Voice recognition
PostPosted: Mon Sep 20, 2004 12:43 am     Reply with quote

Get a microphone, hook it up to the PIC. Turn on the PIC. Speak into the mic.

DONE.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Sep 20, 2004 1:07 am     Reply with quote

Microchip has a speech recognition library for their dsPIC chips.
But, it's not free, and it's not for small quantities. But at least
this answers your question of "is it possible ?"
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en020141
edi



Joined: 22 Dec 2003
Posts: 82

View user's profile Send private message

PostPosted: Mon Sep 20, 2004 2:26 am     Reply with quote

I want to activate an alarm just if a specific sound heard. Not for any noise!
Of course a MIC is needed and amplifier.
mkent



Joined: 09 Sep 2003
Posts: 37
Location: TN, USA

View user's profile Send private message

PostPosted: Mon Sep 20, 2004 5:29 am     Reply with quote

Look up LM567; it may be what you want. Mick
yerpa



Joined: 19 Feb 2004
Posts: 58
Location: Wisconsin

View user's profile Send private message Visit poster's website

PostPosted: Mon Sep 20, 2004 7:57 am     Reply with quote

You have a lot of work ahead of you. Beyond simple filtering and amplitude detection, you won't have much of an intelligent conversation with a PIC. Maybe two commands at best. You've got to be more specific about what your "specific sound" is. DTMF detection is possible and you can search Microchips app notes for that. Good luck.
John Morley



Joined: 09 Aug 2004
Posts: 97

View user's profile Send private message

PostPosted: Mon Sep 20, 2004 8:24 am     Reply with quote

Hi,

There is an IC available that can "learn" a small number of spoken works, and has a microcontroller interface. I'm at the office now, and the info on this is at home, but I will post a followup later on. If I remember correctly, I got it at Jameco or Digikey.
_________________
John Morley
John Morley



Joined: 09 Aug 2004
Posts: 97

View user's profile Send private message

PostPosted: Tue Sep 21, 2004 5:50 am     Reply with quote

Hi,

The kit I was referring to is made by Sensory, and is called the VoiceDirect Speech Recognition Kit. You can find their website here: www.sensoryinc.com

Good Luck!
_________________
John Morley
Trampas



Joined: 04 Sep 2004
Posts: 89
Location: NC

View user's profile Send private message MSN Messenger

PostPosted: Tue Sep 21, 2004 7:10 am     Reply with quote

One trick you can do is connect a mic up to an amp, then run the output through 3 or 4 band pass filters with high gain amplifiers. Then run these band pass outputs to RB or external interrupt pins.

Then when that frequency of signal comes in it triggers interrupt which can be used for limited speech recongition.

Trampas
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Sep 21, 2004 7:11 am     Reply with quote

I remember reading an article quite a few years ago about someone who could control their robot by whistling. I think they sent a 4 bit command by first whistling a reference tone, then whistling the bits either higher or lower in frequency than the reference. They found they couldn't reliably whistle any specific tone, but they could go above and below a reference. Each command quickly becomes a little 5 note tune that is easy to memorize.

It was probably done in assembly for a 6502 or an 8085 chip. Maybe using one of those dog commanding whistles, or a harmonica might make it easier, at least to start.
_________________
The search for better is endless. Instead simply find very good and get the job done.
Guest
Guest







Voice/sound recognition
PostPosted: Tue Sep 21, 2004 7:21 am     Reply with quote

I think I remember the article about whistling for robot and remote control. Reliability was an issue. Its not easy to whistle a Manchester-encoded version of "When the saints go marching in" in real time.
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Sep 21, 2004 9:41 am     Reply with quote

It depends on how many commands are needed. If you can get away with four commands that is only two bits plus one as checksum for four tones total. Of course certain codes need to be avoided so you don't get slapped in mixed company.

Another option might be whistling Morse code. There must be plenty of Morse decoding code for PICs out there.
_________________
The search for better is endless. Instead simply find very good and get the job done.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Sep 21, 2004 10:06 am     Reply with quote

Quote:
I want to activate an alarm just if a specific sound heard.
Not for any noise! Of course a MIC is needed and amplifier.

I think you're trying to do something like this product. It has a little
microphone, and it responds to certain tones, and then sounds an alarm.
http://www.keyringer.com/
Sergio



Joined: 16 Oct 2003
Posts: 11
Location: Arkansas, USA

View user's profile Send private message

PostPosted: Tue Sep 21, 2004 9:05 pm     Reply with quote

John,

I was also looking at the Sensory chip for an upcoming project. Have you played around with it yet?
_________________
Sergio
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group