No sound during verification.

The SpeakUp software is a for configuring SpeakUp, the speech recognition click board.
Post Reply
Author
Message
Aeliss
Posts: 6
Joined: 01 Dec 2014 20:07

No sound during verification.

#1 Post by Aeliss » 01 Dec 2014 20:15

Hi.
First, I haven't problem with this hardware, for the moment it works perfectly. But just a question after having recording a sound, on somes videos, the software repeat the sentence, not in my case, even if I use the play button on the project tab.
I m just using it on USB port. It will use computer speaker ?

It s normal ?

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: No sound during verification.

#2 Post by darko.minic » 02 Dec 2014 16:27

Hi Aeliss,

Basically SpeakUp is designed for spoken recognition (not for recorded commands). In theory it can work with recorded commands, but we didn't test it.
In which situations SpeakUp works correctly? SpeakUp can be used with external microphone.

Regards,
Darko

Aeliss
Posts: 6
Joined: 01 Dec 2014 20:07

Re: No sound during verification.

#3 Post by Aeliss » 02 Dec 2014 18:08

It works correctly in all situation, I haven't problem with it.
When you press the "record" button, you record your word, and immediatly after the sofware make a verification with reading the previous word, the recorded command is
played back automatically, not on my version.
Even if I press the "play" button, I haven't sound.

I have see some video on youtube, and other version have sound at this moment.

It s not a problem, all working fine, it s just because my version don't work like on video.

Aeliss
Posts: 6
Joined: 01 Dec 2014 20:07

Re: No sound during verification.

#4 Post by Aeliss » 04 Dec 2014 19:03

I m the only one with this strange working mode :D ?

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: No sound during verification.

#5 Post by darko.minic » 05 Dec 2014 16:38

Hello,

Problem which you have is unusual, in theory when the command is recorded properly you should be able to hear it.
Certainly we will investigate this problem a little bit further, and try to find source of problem.

Regards,
Darko

Aeliss
Posts: 6
Joined: 01 Dec 2014 20:07

Re: No sound during verification.

#6 Post by Aeliss » 06 Dec 2014 13:42

Thx, just for information I m on windows seven x64.

Aeliss
Posts: 6
Joined: 01 Dec 2014 20:07

Re: No sound during verification.

#7 Post by Aeliss » 06 Dec 2014 17:50

Another strange thing, I don't know if it s normal or not.
If I plug the board with USB in a PC all is ok, but if I plug it (with usb too) on the raspberry it don't work, the LED1 (amber) is not lighning.
To make it working with raspberry I need to connect the 3.3V and Ground pin (without usb connection ofc), it don't work with raspberry USB port.

I have made a try with an USB port on a modem, same problem, it s not possible to use an USB port just for alimentation.

For the moment I use uart connection beetween Speakup and raspberry, but I think because of that it s not possible to use only the USB port for alimentation and communication ?

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: No sound during verification.

#8 Post by darko.minic » 08 Dec 2014 16:18

Hello Aeliss,

Unfortunately we didn't tested speakUp with raspberry Pi connected over USB.
SpeakUp is designed to be recognized as standard HID device when is connected with PC, and controlled via SpeakUP application.

In theory if you use SpeakUp click in click mode (when it's connected with microBUS socket) you should receive index of recognized word/command over UART.

Regards,
Darko

Aeliss
Posts: 6
Joined: 01 Dec 2014 20:07

Re: No sound during verification.

#9 Post by Aeliss » 08 Dec 2014 17:56

In theory if you use SpeakUp click in click mode (when it's connected with microBUS socket) you should receive index of recognized word/command over UART.
It's not theory, :D , I can confirm, it s works perfectly with UART, I m just using a breadboard, with ground, +3.3V, TX and RX. But I m curious to know why USB don't work (even just for alimentation) , I can't understand if it's software or hardware.

The code I m using to make my test on Raspberry, in C, the code isn't perfect it s just a prototype for my test, lot of useless code inside.

Code: Select all

/**************************************************

file: demo_rx.c
purpose: simple demo that receives characters from
the serial port and print them on the screen,
exit the program by pressing Ctrl-C

compile with the command: gcc -O UART2 uart.c rs232.c

http://www.teuniz.net/RS-232/

**************************************************/

#include <stdlib.h>
#include <stdio.h>

#ifdef _WIN32
#include <Windows.h>
#else
#include <unistd.h>
#endif

#include "rs232.h"



int main()
{
  int i, n,
      cport_nr=22,       
      bdrate=115200;

  unsigned char buf[4096];

  char mode[]={'8','N','1',0};


  if(RS232_OpenComport(cport_nr, bdrate, mode))
  {
    printf("Can not open comport\n");

    return(0);
  }

  printf("Open port %i a la vitesse %i\n",cport_nr,bdrate);

  while(1)
  {
    n = RS232_PollComport(cport_nr, buf, 4095);

    if(n > 0)
    {
      buf[n] = 0;   /* always put a "null" at the end of a string! */

      for(i=0; i < n; i++)
      {
        if(buf[i] < 32)  /* replace unreadable control-codes by dots */
        {
          //buf[i] = '.';
        }
      }

      printf("received %i bytes: %s\n", n, (char *)buf);
      if (i == 1)
      	{
		printf("Value : %d\n", buf[0]);
	}
      if (i == 2)
      	{
		printf("Value : %d\n", buf[1]*255+buf[0]);
	}
    }

#ifdef _WIN32
    Sleep(100);
#else
    usleep(100000);  /* sleep for 100 milliSeconds */
#endif
  }

  return(0);
}
Your board is realy a good hardware, but there is too few tutorial to use it at this moment.

User avatar
darko.minic
Posts: 747
Joined: 01 Dec 2014 11:10

Re: No sound during verification.

#10 Post by darko.minic » 09 Dec 2014 16:57

Hi Aeliss,

Thank you for sharing your experience with our users.

Regards,
Darko

Post Reply

Return to “SpeakUp Software”