0.0
No commit activity in last 3 years
No release in over 3 years
Builds a web page featuring speech recognition.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.5, >= 1.5.3
 Project Readme

Introducing the jsspeech2019 gem

Usage

require 'jsspeech2019'

jsr = JsSpeechRecognition.new
File.write '/tmp/sr.html', jsr.to_webpage
`chromium /tmp/sr.html`

To try speech recognition, allow the web page to use the microphone when prompted and then press the "start listening" button to record your voice. All going well, observe what you said transcribed to text.

Note: It's recommended you check the microphone volume before you try testing the speech recognition functionality. I used Audacity to test the microphone sound quality, as well as Pulse Audio volume control to adjust the microphone volume level.

Resources

js speech gem jsspeech2019 voice voicerecognition html javascript