Loading...
  Show Posts
Pages: [1] 2 3
1  Using Arduino / Audio / Re: Speech Recognition with BitVoicer, Arduino and a Microphone on: June 09, 2013, 07:27:59 pm
brainaly, most of the code will work. You just have to disable some parts of the loop() structure.
2  Using Arduino / Audio / Re: Speech Recognition with BitVoicer and Arduino on: May 06, 2013, 08:47:33 pm
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.
3  Using Arduino / Project Guidance / Re: Speech recognition on: April 25, 2013, 04:46:52 pm
I think my post can help you out: http://arduino.cc/forum/index.php/topic,139333.0.html.

I used BitVoicer for the speech recognition part and an electret microphone from Sparkfun.

Just a tip: microcontrollers do not have the processing power nor the memory to perform reasonable speech recognition, so you will need external help.
4  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 1) on: April 25, 2013, 03:35:17 pm
If the microcontroller you are using is able to capture and send 8000 samples per second from the mic, it should work with BitVoicer.

Just a tip: microcontrollers do not have the processing power nor the memory to perform speech recognition as shown in the video, so you will need external help.
5  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 2) on: April 03, 2013, 03:33:43 pm
I'm using the computer's WiFi interface and my home wireless network to send data to the Roving WiFly module attached to the Arduino. The communication preferences are just the IP address of the WiFly module and TCP port 2000. If you are using a pair of XBEEs, I believe that the one connected to the PC would appear as a virtual COM port, so you would have to use the settings of this port in the BitVoicer preferences. Which wireless module are you using with the Arduino?
6  Using Arduino / Audio / Re: Speech Recognition with BitVoicer and Arduino on: February 08, 2013, 07:51:03 am
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:
//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;
  }
}
7  Using Arduino / Audio / Re: Speech Recognition with BitVoicer and Arduino on: February 06, 2013, 10:33:59 am
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.
8  Using Arduino / Audio / Re: Speech Recognition with BitVoicer and Arduino on: January 30, 2013, 08:18:35 pm
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.
9  Using Arduino / Audio / Re: Speech Recognition with BitVoicer and Arduino on: January 30, 2013, 10:56:15 am
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.
10  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 2) on: January 14, 2013, 10:30:15 pm
I don't know any other program that does something like this.
11  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 1) on: January 11, 2013, 07:00:30 am
Once again, the "set comm xxxxx" commands are for communication from the wireless module to the PC. They are useless when sending data from the PC to the module.

I don't think you are able to send data to the wireless module from a Telnet connection. In the module's manual there is no command to do that. You need to do it through software or making an HTTP request from the module to a web server.
12  Using Arduino / Project Guidance / Re: Ethernet Shield Project on: January 09, 2013, 09:49:49 pm
I believe my post can help you with your project: http://arduino.cc/forum/index.php/topic,140765.0.html. I use BitVoicer (http://www.bitsophia.com/BitVoicer.aspx) to perform speech recognition and send data over wifi to my Arduino.
13  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 1) on: January 09, 2013, 08:37:39 pm
The second part of this post has all the code I used (http://arduino.cc/forum/index.php/topic,140766.0.html).

The set comm match, size and time commands of these wireless modules are intended for communication from the module to the remote host, so using them will not help you receive data from the PC. I didn't have to setup anything to receive data from the PC and forward it to the Arduino through RX/TX. As far as I understood, the module fowards data as soon as it receives a complete packet.

I think you are getting the ERR: Connected! message because you are already connected to the IP address and port you are trying to connect. If no arguments are provided to the open command, the device will attempt to connect to the stored remote host IP address and remote port number. Try using a different port and make sure that port is listening for incoming connection.

What data are you trying to send to Arduino and which program is sending it?
14  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 2) on: January 07, 2013, 10:01:14 am
Yes, I bought the product key and I don't know of another way. It's only $ 4.50.
15  Using Arduino / Audio / Re: Wireless Audio Streaming and Speech Recognition (PART 2) on: January 06, 2013, 08:35:53 am
I call setAudioInput(0) in the setup() passing ZERO (analog pin 0) to the function so that processAudio() uses analog pin 0 to capture audio.
Pages: [1] 2 3