Code Snippet

Lip Synch

Make Ohbot's lips move as it speaks, using the speech sensor variable.

The Lip Synch blocks

About this snippet

This snippet shows one way of synchronising lip movements with speech. The toplip and bottom lip (light blue sensor blocks) are variables that change following the speech generated by the purple Say block. Ohbot has separate motors for its top and bottom lips where Picoh has a single motor that moves its bottom lip. This code can be used for either.

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
Lip Synch — Code Snippet | Ohbot