Web Speech API Demo
✓ Published0🌍 Public
Aandrewxhill
Last edited Jan 25, 2015
Created on Jan 25, 2015
This demo uses the Web Speech API to drive a CartoDB map visualization. It listens for spoken words, converts them to text, and submits the transcribed phrase as a search query through the cartodb.js search overlay. The map renders a CartoDB-hosted dataset, and after each utterance, the speech recognition restarts to allow continuous voice-controlled searching. The code relies on `webkitSpeechRecognition` for speech-to-text and the CartoDB `createVis` function to display the map layer.
AI-generated description