MycroftAI / enclosure-mark1

Replacing the faceplate repo
Apache License 2.0
9 stars 8 forks source link

Enclosure changes to support synchronized mouth movements; matrix illumination #63

Closed penrods closed 8 years ago

penrods commented 8 years ago

This implements the changes necessary to synchronize the mouth shown on the matrix display with the actual speech coming out of Mimic. This happens by converting phoenemes (the basic units of speech) to visemes (the basic units of mouth shapes). This is a many-to-one mapping, so there are only a few mouth shapes needed to animate speech for Mycroft.

This adds the "mouth.viseme=" serial command to show the visemes. Also implemented the "mouth.faketalk=" to get the old behavior for TTS systems that have no ability to provide phoeneme timing info. It also removes the weather icons and replaces them with a generic mouth.icon= mechanism.

Also makes illumination level of the eyes be reflected by the brightness of the matrix display.

aatchison commented 8 years ago

LGTM