Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Speechmarks missing playerOffsetInMilliseconds #3

@jayeheffernan

Description

@jayeheffernan

I'm trying to modify these examples to be able to sync an animation on a Raspberry Pi to the voice of an Alexa Echo. I am receiving the speech data, but is seems to be missing some of the data required to sync. The documentation for the speechdata interface (linked to in your README, here) suggests:

To determine how to sync speechmark data to Alexa's speech, use startOffsetInMilliSeconds minus playerOffsetInMilliseconds.

The packets I am receiving look just like the example in the README:

# Speechmark
{ {'payload': {'speechmarksData': [{'value': 't', 'type': 'VISEME', 'startOffsetInMilliSeconds': 708}]}, 'header': {'namespace': 'Alexa.Gadget.SpeechData', 'name': 'Speechmarks'}} }

They have a startOffsetInMilliSeconds, but no playerOffsetInMilliseconds. Any idea how to sync an animation to the speech data without this value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions