PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Voice Recognition For Linux

Go down

Voice Recognition For Linux Empty Voice Recognition For Linux

Post by jamied_uk 1st July 2017, 20:37

Installation

Run the following commands to install LiSpeak on Ubuntu:

Code:
sudo apt-get install python-serial
git clone https://github.com/BmanDesignsCanada/LiSpeak/
cd LiSpeak
./lispeak --setup

Usage

Once the setup is complete, start LiSpeak by running:
Code:
./hotkey




I kept getting the following error but the setup continued anyway:
ERROR WRITING TRANSLATION
Running the last command with sudo OR using the –debug option (for more information) might help. The setup starts a GUI, asks for preferences and install packages LiSpeak depends on.


tuxdiary.com/2015/05/25/lispeak



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Simon Voice Recognition For Linux


Getting Simon

Simon is written in Qt and depends on phonon, so it is probably best to install it on KDE (plasma)-based systems, unless you don’t mind ~300MB of dependencies being pulled in with the installation (on a Kubuntu 15.04 system, Simon only takes up 55 Mb). Simon is in the Ubuntu repositories, so installing it would be as easy as
Code:
sudo apt-get install -y simon



on any Ubuntu-based distro. In Linux Mint (or in other distros), if you find that Simon cannot connect after installation, you will have to install
Code:
libqt4-sql-lite


Code:
sudo apt-get install -y libqt4-sql-sqlite



maketecheasier.com/simon-linux-speech-recognition


Last edited by jamied_uk on 1st July 2017, 21:02; edited 3 times in total
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Voice Recognition For Linux Empty Re: Voice Recognition For Linux

Post by jamied_uk 1st July 2017, 20:44

Other methods:


Code:
sudo apt-get install -y sox python-argparse libsox-fmt-mp3 mutt xvkbd xautomation

Code:
git clone https://github.com/JamezQ/Palaver.git




superuser.com/questions/602634/google-speech-recognition-offline-linux

stackoverflow.com/questions/35246786/python-offline-speech-recognition

encrypted.google.com/search?q=voice+recognition+for+linux+offline&ie=utf-8&oe=utf-8
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Voice Recognition For Linux Empty Re: Voice Recognition For Linux

Post by jamied_uk 1st July 2017, 21:45

Windows

Vox Commando

voxcommando.com/mediawiki/index.php?title=Getting_Started
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Voice Recognition For Linux Empty Re: Voice Recognition For Linux

Post by jamied_uk 1st July 2017, 21:54

Sphinx For Linux

lifewire.com/state-of-linux-voice-recognition-2204883

cmusphinx.github.io/wiki/download

Code:
apt install -y pocketsphinx






convert from mp3 to wav


Code:
ffmpeg -i inputfilename.mp3 -acodec pcm_s16le -ar 16000 outputfilename.wav



 

To run PocketSphinx use the following command:


Code:
pocketsphinx_continuous -dict /usr/share/pocketsphinx/model/lm/en_US/cmu07a.dic -infile  voice2.wav -lm cmusphinx-5.0-en-us.lm 2>voice2.log




Code:
mkdir  /usr/share/pocketsphinx/
mkdir /usr/share/pocketsphinx/model
mkdir /usr/share/pocketsphinx/model/lm/
mkdir /usr/share/pocketsphinx/model/lm/en_US/
cp cmu07a.dic /usr/share/pocketsphinx/model/lm/en_US/




Download the dictonary file

github.com/KingOfBrian/VocalKit/blob/master/VocalKitTest/model/lm/en_US/cmu07a.dic


and put in above folder (usr/share....)
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Voice Recognition For Linux Empty Re: Voice Recognition For Linux

Post by jamied_uk 1st July 2017, 22:18

Record Mic

Code:
sox -t alsa default file.wav
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Voice Recognition For Linux Empty Re: Voice Recognition For Linux

Post by jamied_uk 12th July 2017, 16:24

Fixing Sirius Voice Control Dependency Setup Issues



Code:
sudo -H  pip install --upgrade pip
sudo -H  pip install --upgrade setuptools
jamied_uk
jamied_uk
Admin

Posts : 2951
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Voice Recognition For Linux Empty Re: Voice Recognition For Linux

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum