Arduino Forum

Using Arduino => Audio => Topic started by: msb4180 on Nov 18, 2012, 08:31 pm

Title: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Nov 18, 2012, 08:31 pm
The main goal of this project was to test the speech recognition performance of BitVoicer (http://www.bitsophia.com/BitVoicer.aspx (http://www.bitsophia.com/BitVoicer.aspx)). For this purpose, I designed a simple led control sketch which I integrated with BitVoicer. Of course you can do anything you want once you have received the commands from Bitvoicer, but to keep things simple, I thought a led test would do just fine.

This is the YouTube video with the result:

http://www.youtube.com/watch?v=gs-3fJCa5P0 (http://www.youtube.com/watch?v=gs-3fJCa5P0)

This is the code I created to control the leds and retrieve data from BitVoicer:

Code: [Select]

//Includes the BitVoicer library to the sketch
#include <BitVoicer.h>

//Sets up the pins and default variables
int pinR = 3;
int pinY = 5;
int pinG = 6;
int blinkDelay = 250;
int sequenceDir = 0;
int lightLevel = 0;

//Creates a new instance of the BitVoicerSerial class and
//sets up serial port to 0
BitVoicerSerial bitVoicer = BitVoicerSerial(0);

void setup()
{
    //Starts serial communication and sets up the pinModes
    Serial.begin(9600);
    pinMode(pinR, OUTPUT);
    pinMode(pinY, OUTPUT);
    pinMode(pinG, OUTPUT);
}

void loop()
{
    //Retrieves data from serial buffer
    bitVoicer.getData();

    //Quits the loop if no string data was returned from getData
    if (bitVoicer.strData == "")
    {
        return;
    }

    //Each of the next 'if' statements performs a different
    //task based on the data received from BitVoicer
    if (bitVoicer.strData == "wake")
    {
        digitalWrite(pinR, LOW);
        digitalWrite(pinY, LOW);
        digitalWrite(pinG, LOW);
        digitalWrite(pinR, HIGH);
        digitalWrite(pinY, HIGH);
        digitalWrite(pinG, HIGH);
        delay(200);
        digitalWrite(pinR, LOW);
        digitalWrite(pinY, LOW);
        digitalWrite(pinG, LOW);
        delay(200);
        digitalWrite(pinR, HIGH);
        digitalWrite(pinY, HIGH);
        digitalWrite(pinG, HIGH);
        delay(200);
        digitalWrite(pinR, LOW);
        digitalWrite(pinY, LOW);
        digitalWrite(pinG, LOW);
        delay(200);
        digitalWrite(pinR, HIGH);
        digitalWrite(pinY, HIGH);
        digitalWrite(pinG, HIGH);
        delay(200);
        digitalWrite(pinR, LOW);
        digitalWrite(pinY, LOW);
        digitalWrite(pinG, LOW);
        bitVoicer.strData = "";
        lightLevel = 0;
    }
    else if (bitVoicer.strData == "sleep")
    {
        digitalWrite(pinR, LOW);
        digitalWrite(pinY, LOW);
        digitalWrite(pinG, LOW);
        digitalWrite(pinR, HIGH);
        digitalWrite(pinY, HIGH);
        digitalWrite(pinG, HIGH);
        delay(200);
        digitalWrite(pinR, LOW);
        digitalWrite(pinY, LOW);
        digitalWrite(pinG, LOW);
        delay(200);
        digitalWrite(pinR, HIGH);
        digitalWrite(pinY, HIGH);
        digitalWrite(pinG, HIGH);
        delay(200);
        digitalWrite(pinR, LOW);
        digitalWrite(pinY, LOW);
        digitalWrite(pinG, LOW);
        bitVoicer.strData = "";
        lightLevel = 0;
    }
    else if (bitVoicer.strData == "RH")
    {
        digitalWrite(pinR, HIGH);
        bitVoicer.strData = "";
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "RL")
    {
        digitalWrite(pinR, LOW);
        bitVoicer.strData = "";
        lightLevel = 0;
    }
    else if (bitVoicer.strData == "YH")
    {
        digitalWrite(pinY, HIGH);
        bitVoicer.strData = "";
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "YL")
    {
        digitalWrite(pinY, LOW);
        bitVoicer.strData = "";
        lightLevel = 0;
    }
    else if (bitVoicer.strData == "GH")
    {
        digitalWrite(pinG, HIGH);
        bitVoicer.strData = "";
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "GL")
    {
        digitalWrite(pinG, LOW);
        bitVoicer.strData = "";
        lightLevel = 0;
    }
    else if (bitVoicer.strData == "blink")
    {
        digitalWrite(pinR, HIGH);
        digitalWrite(pinY, HIGH);
        digitalWrite(pinG, HIGH);
        delay(blinkDelay);
        digitalWrite(pinR, LOW);
        digitalWrite(pinY, LOW);
        digitalWrite(pinG, LOW);
        delay(blinkDelay);
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "BF")
    {
        blinkDelay = 100;
        bitVoicer.strData = "blink";
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "BFF")
    {
        switch (blinkDelay)
        {
            case 500:
                blinkDelay = 250;
                break;
            case 250:
                blinkDelay = 100;
                break;
            default:
                break;
        }
        bitVoicer.strData = "blink";
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "BS")
    {
        blinkDelay = 500;
        bitVoicer.strData = "blink";
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "BSS")
    {
        switch (blinkDelay)
        {
            case 100:
                blinkDelay = 250;
                break;
            case 250:
                blinkDelay = 500;
                break;
            default:
                break;
        }
        bitVoicer.strData = "blink";
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "sequence")
    {
        if (sequenceDir == 0)
        {
            digitalWrite(pinR, HIGH);
            delay(250);
            digitalWrite(pinR, LOW);
            digitalWrite(pinY, HIGH);
            delay(250);
            digitalWrite(pinY, LOW);
            digitalWrite(pinG, HIGH);
            delay(250);
            digitalWrite(pinG, LOW);
        }
        else
        {
            digitalWrite(pinG, HIGH);
            delay(250);
            digitalWrite(pinG, LOW);
            digitalWrite(pinY, HIGH);
            delay(250);
            digitalWrite(pinY, LOW);
            digitalWrite(pinR, HIGH);
            delay(250);
            digitalWrite(pinR, LOW);
        }
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "revert")
    {
        if (sequenceDir == 0)
        {
            sequenceDir = 1;
        }
        else
        {
            sequenceDir = 0;
        }
        bitVoicer.strData = "sequence";
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "ALLON")
    {
        digitalWrite(pinR, HIGH);
        digitalWrite(pinY, HIGH);
        digitalWrite(pinG, HIGH);
        bitVoicer.strData = "";
        lightLevel = 255;
    }
    else if (bitVoicer.strData == "ALLOFF")
    {
        digitalWrite(pinR, LOW);
        digitalWrite(pinY, LOW);
        digitalWrite(pinG, LOW);
        bitVoicer.strData = "";
        lightLevel = 0;
    }
    else if (bitVoicer.strData == "brighter")
    {
        if (lightLevel < 255)
        {
            lightLevel += 85;
            analogWrite(pinR, lightLevel);
            analogWrite(pinY, lightLevel);
            analogWrite(pinG, lightLevel);
        }
        bitVoicer.strData = "";
    }
    else if (bitVoicer.strData == "darker")
    {
        if (lightLevel > 0)
        {
            lightLevel -= 85;
            analogWrite(pinR, lightLevel);
            analogWrite(pinY, lightLevel);
            analogWrite(pinG, lightLevel);
        }
        bitVoicer.strData = "";
    }
    else
    {
        Serial.println("ERROR:" + bitVoicer.strData);
        bitVoicer.strData = "";
    }
}


It uses the BitVoicer Arduino library that can be downloaded from BitSophia's website (http://www.bitsophia.com (http://www.bitsophia.com)).

This is the basic layout of this project. I also added a couple of pictures of the connected wires bellow the layout.

(http://www.justbuss.xpg.com.br/BitVoicerTest.jpg)

(http://www.justbuss.xpg.com.br/BitVoicerTest2.jpg)

(http://www.justbuss.xpg.com.br/BitVoicerTest3.jpg)

The Voice Schema used in this project can be downloaded from http://www.justbuss.xpg.com.br/BitVoicerTest.zip (http://www.justbuss.xpg.com.br/BitVoicerTest.zip) (you need to have BitVoicer installed in order to open it).
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: codlink on Dec 02, 2012, 06:16 pm
How is the Arduino wired to hear your voice?  I do not see a MIC in your Arduino schematics.  I am assuming that the Arduino has to be hooked to a computer to get the info from BitVoicer.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: michaelshiloh on Dec 02, 2012, 07:57 pm
I have sent your question to the company behind BitVoicer, but from the description on the web and the contents of their Arduino library it appears to be as you say:

BitVoicer is a Windows executable which can recognize speech and send  results to a serial port. In this since there is nothing very Arduino specific about it; however, the website provides an Arduino library, very prominently included in the main download section, and someone (perhaps the same person) has also written this nice tutorial.

Good documentation and a well written tutorial are certainly to be appreciated. This might be useful to newcomers to Arduino who need to get voice recognition integrated into an Arduino project with very little time to spend, and have access to a Windows PC.

Mind you, I have not tested this software (nor can I, I'm exclusively Linux), so I'm just responding to what I see in this thread and on the BitVoicer website.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: codlink on Dec 02, 2012, 10:28 pm
Yea I didn't thoroughly read the website.  I am in need of a voice recognition system that is Arduino compatible.  I currently designing around the EasyVR (http://www.veear.eu/products/easyvr/).  The only downfall is that it's Speaker dependent.  If I program my voice then it only responds to my voice..  I want it to recognize anyone. 

I am trying to keep this project independent from a PC, but it may will not be able since there will be face recognition also.  So it may not matter that it's PC dependent.

PS: I am designing a humanoid robot.  So far there are 3 Arduinos (actually custom PCB with Atmel MCUs) connected through Serial for the control.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Dec 18, 2012, 07:34 pm
I just looked at BitSophia's website and they released a new version of BitVoicer. Now it can recognize speech captured by a microphone hooked to the Arduino. I'm going to try this new version and order a wireless module (https://www.sparkfun.com/products/10822 (https://www.sparkfun.com/products/10822)) from Sparkfun.

I want to voice control some things at home. Any suggestions on how to connect them to Arduino?
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Jan 04, 2013, 10:16 pm
I added an electret microphone and wireless communication to this project so that the Arduino does not have to be physically connected to the computer. Here is the link to the new project: http://arduino.cc/forum/index.php/topic,140765.0.html (http://arduino.cc/forum/index.php/topic,140765.0.html)
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: Natemiester on Jan 30, 2013, 02:40 am
Hey, so I tried to upload your sketch, and I got the error "bitvoicerserial does not name a type"? any ideas?
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Jan 30, 2013, 04:56 pm
If you downloaded the 1.1 version of BitVoicer, you have to use the BitVoicer11.h library. Also, The code in this sketch is no longer supported by the new version. Use the code in this post instead: http://arduino.cc/forum/index.php/topic,140766.msg1072337.html#msg1072337, but if you are not using an electret microphone, you will have to make some changes to the code.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: Natemiester on Jan 31, 2013, 12:07 am
where is the library? also, is it not possible to use a mic connected to my computer? id like to not have to buy anything new, as I just want to test this software out.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Jan 31, 2013, 02:18 am
The "BitVoicer11.h" library can be found in the "Library" folder located inside the BitVoicer's installation folder.
Yes, you can use your computer's mic. Just set it as the audio input in the preferences.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: karthiksag on Feb 06, 2013, 11:30 am
the code written is giving error and #include<BitVoicer.h> is not poping up in a different colour in arduino editor
i have interfaced the library of bitvoicer to arduino and will this problem be solved if i buy the product key for bit voicer?

please respond as fast as possible :)
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Feb 06, 2013, 04:33 pm
I have already answerd this question, but ...

If you downloaded the 1.1 version of BitVoicer, you have to use the BitVoicer11.h library. Also, The code in this sketch is no longer supported by the new version. Use the code in this post instead: http://arduino.cc/forum/index.php/topic,140766.msg1072337.html#msg1072337; but if you are not using an electret microphone, you will have to make some changes to the code.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: rsmall on Feb 07, 2013, 04:05 am
Dear BitVoicer Guru,

I downloaded your product last night and have been working with it a little bit. I noticed from the other posts that you have upgraded to the mic attached to the board and gone wireless. I eventually want to get to that point but I'm going to have to wait on parts to arrive in the mail. I did however want to try to get this to work as you had in your first example (mic on the computer with usb connection etc...) The problem is (as mentioned before) that the code has changed. Im new to arduino and I wouldn't mind trying to tear apart the code, and compare to the old code so that I can use the mic on the computer and the newer BitVoicer 1.1 download. I'll probably start on tearing it apart tomorrow, just wondering if you had any suggestions as to where to start and as to what changes to make to the newer code, so that I can use the mic on the computer. Also do you think it would work if instead of the mic (newer version) I could replace it with an audio jack and plug in a headset with a mic?

Thanks for anyone who wants to comment on this.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: rsmall on Feb 07, 2013, 07:00 am
After going through a bunch of the code I think I found something. Let me know if you think this is the right way to go about it.

In the wireless version:
BitVoicerSerial bvSerial = BitVoicerSerial(); // Instantiates the BitVoicerSerial class

And in the older version:
BitVoicerSerial bvSerial = BitVoicerSerial(0); // Instantiates the BitVoicerSerial class and sets serial to port 0

Could I make the change (adding in the 0) to the wireless version and have it read in the mic data that my computer sends it from BitVoicer?

nvm, ran it on the arduino checker and there is no BitVoicerSerial(int) function. Was there one in the older version?
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Feb 08, 2013, 01:51 pm
The new version of the BitVoicerSerial class does not take any parameters, so you can not add 0 to the wireless version of the code. Only the old version would take an int value.

I found the code bellow in the BitVoicer's user manual. It uses the computer's mic to capture audio and does not use a wireless connection (the simplest setup possible). They have another sample code in the manual. I think you should take a look at it (section 5.5).

Code: [Select]

//Imports the BitVoicer library to the sketch
#include <BitVoicer11.h>

//Instantiates the BitVoicerSerial class
BitVoicerSerial bvSerial = BitVoicerSerial();

//Stores the data type retrieved by getData()
byte dataType = 0;
//Stores the state of pin 4
byte pinVal = 0;

void setup()
{
  //Starts serial communication at 9600 bps
  Serial.begin(9600);
  //Sets digital pin 4 as OUTPUT
  pinMode(4, OUTPUT);
  //Turns off pin 4
  digitalWrite(4, pinVal);
}

void loop()
{
  //Updates the state of pin 4 on every loop
  digitalWrite(4, pinVal);
}

//This function runs every time serial data is available
//in the serial buffer after a loop
void serialEvent()
{
  //Reads the serial buffer and stores the received data type
  dataType = bvSerial.getData();

  //Checks if the data type is the same as the one in the
  //Voice Schema
  if (dataType == BV_BYTE)
  {
    //Checks the stored value in byteData by getData() and
    //changes the value of the pin
    if (bvSerial.byteData == 0)
      pinVal = LOW;
    else
      pinVal = HIGH;
  }
}
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: ttttkk on May 02, 2013, 04:18 pm
is there a free trial? I tried to record something and it says i have to activate the program first.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: sbright33 on May 03, 2013, 10:28 pm
Here's an Alternative that is free:
http://arduino.cc/forum/index.php/topic,161960.msg1217180.html#msg1217180
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on May 07, 2013, 03:47 am
You can try BitVoicer if you use the computer's microphone as the input device, but you will need to activate it to be able to send commands to the microcontroller.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: acolin on Jan 05, 2014, 12:44 am
Hi, what's the range of the microphone? From how far away does is it able to pick up (and recognize) commands? Thanks.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: oeste24 on Jan 05, 2014, 04:16 am
HELLO  try to download and does not open the page

http://www.justbuss.xpg.com.br/BitVoicerTest.zip

please can you send me the file, thanks

email:     OESTE24@HOTMAIL.COM
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Jan 06, 2014, 01:33 pm
Well, I just tried the link and it works perfectly. I think you should try it again.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: leofelixzhu on Jan 09, 2014, 04:41 am
Hi,
I'm a beginner to Arduino and I am looking to build something along the lines of your project. I have downloaded and activated Bitvoicer. But for your uploaded Bitvoicer Schema, the link doesn't work for some reason. It eventually shows a domain for sale and is unable to be saved as. Is there any other place where I can take a look at the schema used? Or is there instructions on how to build it? I have a windows computer if that is relevant.

Thanks.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Jan 09, 2014, 03:31 pm
I also uploaded the file to http://www.4shared.com/zip/Q6uYrzguba/BitVoicerTest.html (http://www.4shared.com/zip/Q6uYrzguba/BitVoicerTest.html)
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: Robert_Newstrand on Jan 13, 2014, 09:11 pm
Questions: Does the software work with the Arduino Due? Also, the sample code with the new BitVoicer software and #include <BitVoicer11.h> doesn't compile at all. Also, I am using a 64-bit version of BitVoicer. Please help asap. Thanks.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: Robert_Newstrand on Jan 13, 2014, 10:16 pm
I found that it doesn't work with the Due, but I still have compilation problems with the Uno. Please help.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Jan 15, 2014, 03:21 am
I recently installed the last version of the Arduino IDE and had the same problem. The developer support told me to install the previous version of the Arduino IDE (not the new beta one) which solved the problem. I could also download a new installation package from their site and reinstall BitVoicer.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: leofelixzhu on Jan 26, 2014, 07:13 am
So I've installed the latest version of Bitvoicer, and am trying to use an Arduino board to do what you accomplished. But there is a problem with the code here: 

BitVoicerSerial bitVoicer = BitVoicerSerial(0);

It says "no matching function for call to 'Bitvoicer::BitvoicerSerial(int)'

What does this mean and how can I fix it? I'm using the Bitvoicer11.h library, which I believe is the latest one.

Also, when I try your schema, this message pops up:
"No recognizer of the required ID found."
What does this mean? Am I missing something?
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: msb4180 on Jan 27, 2014, 10:20 am
Have you copied the library files to the correct folder in the Arduino IDE installation folder? There are instructions about it in the manual.

I cannot help you with the second error you mentioned. Maibe their support can help.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: gilcd85 on Jan 27, 2014, 03:14 pm
I had the same errors you are seeing.

I put the .h and .cpp files from the BitVoicer library in the arduino project folder and reopened my project. It now has both files shown as tabs. I then changed the include from <> to "" (double quotes) to include it as a cpp file.

Code: [Select]
#include <BitVoicer.h> --> #include "BitVoicer.h"

I don't have the bits to make this work yet but I am able to compile the code. Hope this helps.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: Shreeyash on Jan 30, 2014, 08:15 am
m not able to find bitvoicer library :~ pls help me...
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: gilcd85 on Jan 30, 2014, 09:50 pm
Looks like it's back up now
http://www.bitsophia.com/files/BitVoicerSetup_v12_x86.exe
http://www.bitsophia.com/files/BitVoicerSetup_v12_x64.exe

I uploaded the version I had locally in case you still can't access the other ones
https://drive.google.com/file/d/0B_IPBNo37k91Yk1tMWlqbV9wNnM/edit?usp=sharing
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: petrovinsky on Oct 14, 2014, 04:36 am
Hey, i've managed to implement this in c# and visual studio. Look for the SpeechRecognitionEngine class (http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognitionengine%28v=vs.110%29.aspx (http://msdn.microsoft.com/en-us/library/system.speech.recognition.speechrecognitionengine%28v=vs.110%29.aspx)). It uses the built-in windows 7 speech recognition feature and any usb mike connected to the computer.

Something like this:
Code: [Select]


class SpeechRecConsole
    {
        static void Main(string[] args)
        {           
            // Create an in-process speech recognizer for the en-US locale.
            using (
            SpeechRecognitionEngine recognizer =
              new SpeechRecognitionEngine(
                new System.Globalization.CultureInfo("en-US")))
            {

                // Create and load a dictation grammar.
                recognizer.LoadGrammar(new DictationGrammar());

                // Add a handler for the speech recognized event.
                recognizer.SpeechRecognized +=
                  new EventHandler<SpeechRecognizedEventArgs>(recognizer_SpeechRecognized);

                // Configure input to the speech recognizer.
                recognizer.SetInputToDefaultAudioDevice();

                // Start asynchronous, continuous speech recognition.
                recognizer.RecognizeAsync(RecognizeMode.Multiple);

                // Keep the console window open.
                while (true)
                {
                    Console.ReadLine();
                }
            }
        }

        // Handle the SpeechRecognized event.
        static void recognizer_SpeechRecognized(object sender, SpeechRecognizedEventArgs e)
        {
            if (e.Result.Text.ToLower() == "lights on") {
                 SerialPort port = new SerialPort("COM6", 9600);
                port.Open();
                port.Write("lights on!!");
                port.Close();
        }
}
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: leofelixzhu on Oct 14, 2014, 04:46 am
Wow that's pretty cool Petrovinsky. I'm always thinking about how I should start learning visual studio and more c++.

Is there a way to program the whole BitVoicer sketch onto the Arduino so that it can run as a standalone unit without having to connect it to the computer and starting BitVoicer every time? I feel like this might be very difficult or impossible because you would have to write the entire BitVoicer program onto the Arduino. Any thoughts?
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: SeanHowson on Dec 13, 2014, 12:27 pm
Hey, so I tried to upload your sketch, and I got the error "bitvoicerserial does not name a type"? any ideas?
means your library isnt linking into the sketch properly, im having the same problem atm, by pc is usually a pain when bringing in new libraries, trouble is, i cant remember what i did last time this happened :l did you get anywhere with it?
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: kian79 on Dec 29, 2014, 04:25 am
I got Bitvoicer to work with an Arduino Uno. However, when I switched to using a Arduino Pro Mini (3.3V, 8MHz), I was unable to calibrate the microphone on the BitVoice desktop program. I am getting "0 samples per second" and "Invalid Reference Audio Level"

Anyone got this problem too and manage to solve it? I know its got something to do with the serial command from the PC to the arduino thats initiates the calibration process. Its somehow just not receiving that command.
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: fractor on Jul 03, 2015, 12:03 am
Have you guys seen this:
https://www.kickstarter.com/projects/310865303/movi-a-standalone-speech-recognizer-shield-for-ard/
?
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: sketchart on Sep 04, 2015, 06:00 pm
Hi, I am new, but a very experienced engineer. I wanted to let all know that when I ran Norton Power Eraser , which is an incredible virus detection tool for free, that is caught Bitvoicer1.2 in it's detection as a virus. I know that Bitvoicer sends computer info back to Sophia for verification, but I do not know what else it can do. I am, of course , suspicious, for every time I clean my computer, a PC, Windows 7, 64 bit, it picks up Bitvoicer and wants to clear just the setup file and shortcut. Just wanted to let all of you know so you don't do what I did and accidentally erase my only copy of Bivoicer1.1, but Sophia cam to the rescue and gave me great customer service. ? It leaves the application in the program files. I made a backup this time !!!

Bitvoicer works very well for my A/C control. I am working on other projects also. I am excited to get the new MOVI shield as mentioned by Tractor before me. . Thanks a great deal for the tip !!
Title: Re: NGE and BitVoicer.
Post by: rbots on Sep 30, 2015, 06:30 pm
Hello sketchart ! I found the NGE also while installing a VPN and it is also used to keep one off the blacklist  in case any viruses get into the machine. I had the same problem, but it allows one to just ignore by not selecting a check box. Unzbin is also cauht in it's web. I have been very successful with BitVoicer and the NGE tool is excellent, outstanding. Look at MXToolbox under blacklisting and it gives so much good advice on the subject.

I have not had a Trojan in months because of that one Tool !! I cannot believe it is free.

Also, does anyone have success in running an Arduino Uno R3 with Bitvoicer w/o the USB cable. It seems that if I apply external Vcc that it should run with the electret microphone.

Thanks for the Reminder
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: mohmdth120 on Apr 24, 2016, 10:39 am
hi
can you give me the library(BitVoicer.h)
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: Julianoplasido on Aug 02, 2016, 06:55 am
hello
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: Julianoplasido on Aug 02, 2016, 07:01 am
Hello, I need your help. Could help me please?

I have trying programmer arduino with Bit Voicer for to use with servo motor. I don't know why is wrog.

Please, help me?


#include <BitVoicer11.h>

BitVoicerSerial bvSerial = BitVoicerSerial();

//Stores the data type retrieved by getData()
byte dataType = 4;
//Stores the state of pin 4
int pinVal = 4;

void setup ()  {
  Serial.begin(9600);
 //Sets digital pin 4 as OUTPUT
 pinMode(4, OUTPUT);
 //Turns off pin 4
 digitalWrite(4, pinVal);

}

void loop()
{

}

//This function runs every time serial data is available
//in the serial buffer after a loop
void serialEvent()
{
 //Reads the serial buffer and stores the received data type
 dataType = bvSerial.getData();

if (dataType == BV_STR)
 {
   if (bvSerial.strData == "Ligar")  
     digitalWrite  (pinVal, 180 );
 
 }
}

:smiley-confuse:
Title: Re: Speech Recognition with BitVoicer and Arduino
Post by: martinius96 on Dec 24, 2018, 12:20 pm
I have made voice control for my projects...
You can try it on: https://arduino.php5.sk/PHP_en/ (https://arduino.php5.sk/PHP_en/)
Working only under Chrome browser. In settings of that webapp I can use each world language that is supporting Google.
Functionality is very easy. Arduino or ESP board in Webclient mode is reading variable from php file.