Code Snippet

Listen

Make Ohbot react to spoken words.

The Listen blocks

About this snippet

Ohbot is able to listen using a microphone. The when word heard event block is triggered when the word on the block is spoken into the microphone. The words Ohbot can understand can be set from the Sensing screen on the Settings menu. Using a smaller vocabulary of words makes Ohbot's speech recognition more accurate.

Download

  1. Click the download button below.
  2. In the Ohbot App, on the File menu select ‘Open Ohbiverse Download’.
  3. Find the downloaded file and click Open.
Download snippet
Listen — Code Snippet | Ohbot