New Board from Espressif – ESP32-LyraT in stock

ESP32_LyraT3

ESP32-LyraT is low cost IoT speech recognition board. It can work with many audio sources and have provisions to connect speakers, camera and LCD display.

The board documentation is skinny as this board is very new and we got limited quantity of one of the very first produced boards.

 

Make things talk with OLinuXino

Image

Festival is open source speech synthesizer which runs on Linux, here are instructions how to install and use it on any of our OLinuXino boards.

With Festival you can add voice to your next project.

1. Instalation

  • Go to http://festvox.org/packed/festival/2.1/
  • Download all archieves
  • We will use /root/festival
  • Move the archives to the /root/festival
  • Extract all archieves
  • After that there will be two new folders: -> speech_tools -> festival
  • If you want you can move them to different location
  • Open this demo Makefile, Edit: -> FES_DIR = /root/festival or other location
  • Open terminal and run:
# make remove
# make
To run the program:

 # bin/Festival

2.  Command options:

  • Verbose mode: –verbose, -v

Print extra output information.
Example:

# bin/Festival -v
  • Heap size: –heap, -h

Define the size of the used heap. Default value is 210000.
Example:

# bin/Festival -v --heap 1500000
  • Do not load init file: –no-init-file

Doesn’t load the default initilization file.
Example:

 # bin/Festival -v --no-init-file
  • Read text from text file: –file, -f

Open ASCII coded text file, and read it.
Example:

 # bin/Festival -v --file SomeText.txt
  • Read text from command line: –text, -t

Say text parsed from the command line.
Example:

# bin/Festival -v --text "Say Hello World"

the Festival archives are also backup on GitHub: 
https://github.com/OLIMEX/OLINUXINO/blob/master/SOFTWARE/OLinuXino%2BFestival.tar.gz

DuinoMite controls MP3 player – Add voice and music to your embedded projects

Image
MOD-MP3-X is smart MP3 player build with VS1053 MP3 decoder and STM32F103RBT6 Cortex M3 microcontroller. It can work in two modes – stand alone MP3 player and Smart MP3 player controllable via RS232. In stand alone mode you can control MOD-MP3-X with slide switch to play/stop forward/reverse and increase / decrease the volume.

In Smart MP3 mode you can load MP3 files on the MOD-MP3-X SD-card if you connect with USB to computer, or you can send commands via RS232.

To play file with Duinomite is very simple you just have to send to MOD-MP3-X via RS232 this message: “PSONGNAME FILE.MP3” and to stop it you should send “C”

MOD-MP3-X responds to the commands and you can play with the different commands using this simple BASIC code:

10 OPEN “COM3:9600” AS #1 ‘open UEXT RS232 port
20 INPUT “CMD: “,CMD$ ‘ask for command
30 PRINT #1, CMD$+CHR$(13); ‘send to MOD-MP3-X + CR
35 PAUSE 300 ‘wait the command to be executed
40 IF EOF(1) THEN 20 ‘if there is response from the MOD-MP3
50 PRINT INPUT$(1,1); ‘read and print it
60 GOTO 40 ‘loop forever

with this code you can check all commands which are written in MOD-MP3-X user manual and see what they do.

OK then let’s write small code which plays the song “DUHAST.MP3” from my SD card when I press DuinoMite-Mini user Button, then to stop the song when the button is pressed again .

the code is:

10 OPEN “COM3:9600” AS #1 ‘open UEXT RS232 port
20 PRINT “PRESS THE USER BUTTON TO PLAY DUHAST.MP3”
30 DO: PAUSE 100: LOOP UNTIL PIN(0)=1 ‘wait button to be pressed
40 PRINT #1, “PSONGNAME DUHAST.MP3” ‘start playing the song
50 PAUSE 1000 ‘wait 1 second
60 PRINT “PRESS THE USER BUTTON AGAIN TO STOP THE SONG”
70 DO: PAUSE 100: LOOP UNTIL PIN(0)=1 ‘wait button to be pressed
80 PRINT #1, “C” ‘stop playing the song
90 CLOSE #1

Here is link to video which show how this program runs: http://youtu.be/kW_vReFMhkUImage