sponsor Vim development Vim logo Vim Book Ad

Speech : Speech to text and text to speech via google speech api

 script karma  Rating 30/11, Downloaded by 811  Comments, bugs, improvements  Vim wiki

created by
Onur Aslan
 
script type
utility
 
description
Speech.vim - Speech to text and text to speech via google speech api.
Copyright (C) <2011>  Onur Aslan  <onur@onur.im>

Speech to text:
<Leader>r for record your voice and press again to convert to text and
append after cursor.

Text to speech:
<Leader>s to get speech of your current line.

Requiments: In order to run this script, you need ffmpeg (with flac
encode support), wget and mplayer. This also works under UNIX like
systems.

This script uses ALSA to record your voice. If you have trouble when
you recording your voice, try to change SpechHwId variable. It comes
with hw:0,0 default. You can test your hw id with:

ffmpeg -f alsa -ar 16000 -ac 2 -i hw:0,0 -acodec flac -ab 96k out.flac

'arecord -l' will give you list of audio devices.

You can change language with SpeechLang variable.

LICENSE:

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>;.
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
speech.vim 0.1 2011-10-05 7.0 Onur Aslan Initial upload
ip used for rating: 3.231.228.109

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo