DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Automation with voice recognition

Sat Sep 07, 2013 8:56 pm

Hi everyboby,

I started a new project about home automation with voice recognition. Actually, voice recognition is not so bad but I wondering what type of microphone I should use to improve voice recognition fonctionnality.
I use a logitech C270 webcam to capture sound for mic but I know that this one is not good when you are far away.
Is someone could give me his opinion? Should I use one array microphone or several microphones ( one per room which could be used by my RPi over wifi or RF for exemple).

Thanks a lot,

DrFatalis

shuckle
Posts: 565
Joined: Sun Aug 26, 2012 11:49 am
Location: Finland

Re: Automation with voice recognition

Sun Sep 08, 2013 5:16 am

I am using ps3 eye as microphone and it works ok. I think you will need one per each room.
What software are you using to recognice voice?

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Automation with voice recognition

Sun Sep 08, 2013 12:21 pm

That's one way to do it.

You can eliminate the complication and expense of a RPi+microphone in every room by using the noise canceling microphones and speech recognition you always have within reach. Your phone!

http://www.youtube.com/user/TheElvisImprsntr
http://www.youtube.com/user/TheElvisImprsntr

User avatar
gadgethome
Posts: 69
Joined: Mon Mar 04, 2013 2:45 pm

Re: Automation with voice recognition

Sun Sep 08, 2013 2:24 pm

elvisimprsntr wrote:That's one way to do it.

You can eliminate the complication and expense of a RPi+microphone in every room by using the noise canceling microphones and speech recognition you always have within reach. Your phone!

http://www.youtube.com/user/TheElvisImprsntr
Are there any alternatives for android?

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Sun Sep 08, 2013 6:50 pm

Voice recognition on my raspberry pi has been developped by Steven Hickson (http://stevenhickson.blogspot.fr/2013/0 ... ry-pi.html) and is based on google voice API to translate and synthetize text.

My objective is to not use a phone to communicate with RPi because I don't want to carry my phone everywhere in my appartement.

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Mon Sep 09, 2013 8:16 pm

I will try to go to an open air solution and get a multi-room audio and mic. Seemes to be expenssive but very usefull and discret.

User avatar
Mariuspe
Posts: 27
Joined: Thu Mar 14, 2013 5:55 pm

Re: Automation with voice recognition

Thu Sep 19, 2013 9:21 am

Hi, any updates on your chosen mic? I am looking to do something similar, not sure which mic would fit best and would not be too costly. Thanks!

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Sun Sep 22, 2013 7:43 pm

Mariuspe wrote:Hi, any updates on your chosen mic? I am looking to do something similar, not sure which mic would fit best and would not be too costly. Thanks!
Sorry for the update, i was very busy last weeks.
I saw different Mic which could be fine, very discret and used in conference room. I will put links soon. But one question still tease me... How this Mic works? It necessites perhaps a 4 voices mixer if I want one Mic per room and this thing is very expensive so I don't want to do a mistake before taking my Mic.

I will update this topic with some links.

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Sun Sep 22, 2013 8:05 pm

Here is one example of open air microphone.

http://james.lipsit.com/whole.htm

Microphone used are PZ-10 and in the description there is an audio mixer which cost like 800€/1000$ if I remember well and its a bit expensive for me LOL

User avatar
Mariuspe
Posts: 27
Joined: Thu Mar 14, 2013 5:55 pm

Re: Automation with voice recognition

Mon Sep 23, 2013 4:37 pm

DrFatalis wrote:Here is one example of open air microphone.

http://james.lipsit.com/whole.htm

Microphone used are PZ-10 and in the description there is an audio mixer which cost like 800€/1000$ if I remember well and its a bit expensive for me LOL
Thanks man!
I just starting to think that even with expensive mics system would be still pretty demanding: you would not be able to stand anywhere in the room and voice control, as everyone expects. Getting closer to mic only makes sense if system controls multiple devices and pressing buttons is more time consuming. But in this case simpler mic would do the job as well. Not sure if it worth investing big money into more sensitive mic when you still would need to get close to it.

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Tue Sep 24, 2013 2:34 pm

the best option could be home made microphone, which could send information by rf but problem still is mixing all input before sending audio to my raspberry.

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Tue Sep 24, 2013 10:58 pm

My last idea isn't so bad I think. I found some information about the possibility to create open-air solution thanks to an arduino board with xbee commnunication (network mode, not point to point).

exemple: http://www.youtube.com/watch?v=S72i8MwFBaw

Each microphone will be an arduino board with xbee module which can send data in real time. Xbee works on 100 meters so it's large enough for me.
If I have several mic, like 3 or 4, it could be fine to share communication between all mics and my raspberry and to add a treshhold before communicate with the raspberry.
Last edited by DrFatalis on Wed Sep 25, 2013 7:11 am, edited 1 time in total.


DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Sun Sep 29, 2013 4:15 pm

Hi everyone,

This weekend I was able to send command from my raspberry to my marmitek relay through cm15 pro using voice command. Now I will focus the audio part to create microphone connected to my rpi thanks to a xbee module.
I ordered this afternoon an arduino mega and its xbee board. I will update this as soon as I progress in this project.

Shea
Posts: 104
Joined: Fri Nov 25, 2011 7:16 pm
Location: Markham, Canada

Re: Automation with voice recognition

Mon Sep 30, 2013 5:29 pm

Hi, could you tell us a bit more regarding your setup with C270 mic, and voice control. I have a C260, and I like to do some the similiar thing thing like turing the light off with voice.

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Thu Oct 24, 2013 1:15 pm

Hi,
I am back with some news about the last and most difficult part of this project, the audio part.
My first idea was to stream audio from mcu board to my rpi thanks to rf module, but it seems that streaming is very difficult with multiple transmitter. To be clear it's impossible to stream audio from two transmitter to one receiver and use receiver audio output for my voice recognition program on rpi.

So I start to search a solution, another one, to create multizone microphone. My new idea is to use an audio record shield on arduino uno for example to record sound when it is higher than a defined level. I could record audio for 3-4 second and send it to rpi as an audio file which could be used in voice recognition program. This file will be send to google speech-to-text api to be convert etc...
I will contact voice recognition developper, Steven Hickson, to see if it is possible to modify his program in order to read audio file instead of recording it directly via usb mic as it is done currently.

What is your point of view on this new solution?

User avatar
Defiant
Posts: 179
Joined: Tue Oct 30, 2012 6:17 pm
Location: Hamburg, Germany

Re: Automation with voice recognition

Fri Oct 25, 2013 8:18 am

I guess the first question would be: How big are your rooms?

And why do you try anything with arduino? 8 Bi µC are a bit too small for Audio..
I'ld use multiple PIs to record and either send the audio over wifi or directly recognize the text.

On the Software side, you could also try wit.ai to parse your spoken text and Pocketsphinx for recognition.

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Fri Oct 25, 2013 9:52 am

22kHz, 16bits mono audio recorder works on arduino Uno, with SD card. Little deportee microphone.

https://www.adafruit.com/products/94

sharafath
Posts: 1
Joined: Fri Oct 25, 2013 12:52 pm

Re: Automation with voice recognition

Fri Oct 25, 2013 1:04 pm

hey pal ..!!! am doing my final year project related to this concept ... and am new to Rpi .. but interested to go with it ..
can u help me out regarding my final year project :?

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Fri Oct 25, 2013 11:09 pm

Why not I wish I could help you?
Send private message with a description of your final year project and I will see if I can help you. :D

mparini
Posts: 1
Joined: Fri Aug 30, 2013 2:20 pm

Re: Automation with voice recognition

Sun Oct 27, 2013 12:23 pm

Is not better put in every room one Raspberry pi with USB Dogle Wifi and Mic?.

Massimo

DrFatalis
Posts: 24
Joined: Sat Sep 07, 2013 8:47 pm

Re: Automation with voice recognition

Sun Oct 27, 2013 1:30 pm

As i said previously my control ligth system is a cm15 pro which cost 70euros so if i want to control light from everywhere i cant buy this module for each room.
Moreover use google api this wifi is a bit slower throught wifi (in my opinion).

JuanPipoi
Posts: 1
Joined: Fri Oct 11, 2013 2:41 pm

Re: Automation with voice recognition

Mon Dec 09, 2013 2:38 am

Hi! Im doing also a research project like this. But Im using a bluetooth microphone as audio input. I tried to use steven hickson's program but the code is programmed for usb mic.. do you know how to modify the code? thanks

neeteen09
Posts: 15
Joined: Sat Apr 18, 2015 9:19 am

Re: Automation with voice recognition

Sat Apr 18, 2015 9:26 am

i want to connect android mobile phone to raspberry pi
Actually, i have to speak to mobile to make a phone call , the .wav file will be generated, that wav file processed by raspberry pi board, for speech recognition i am using pocketsphinx software on raspberry board. please help

Mr.Ndimo
Posts: 1
Joined: Tue Mar 06, 2018 8:01 am

Re: Automation with voice recognition

Tue Mar 06, 2018 9:56 am

Hi guys,i have been given a project on access control via voice recognition.Kindly assist,am a bit green od Raspberry pie

Return to “Automation, sensing and robotics”