Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Add Voice Commands in a Web Application

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
3,090
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

In this article, the development of a web application with voice command capabilities using AngularJS and PubNub is explored, focusing on creating Siri-like commands to set alarms and handle time-related queries. The application involves integrating several JavaScript libraries, including Ohm for building a domain-specific language to parse and handle voice commands. The article details the implementation of a user interface to accept voice commands and outlines how to structure commands using Ohm's grammar and semantics. It also discusses the use of webkitSpeechRecognition for speech recognition and PubNub for real-time message handling. Overall, the project demonstrates how to build a simple yet functional voice-activated application with potential for further development, inspired by existing voice assistants like Siri and Google Now.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 12 186 61 29 -6%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.