Skip to content

Speech Dialogue on a Raspberry Pi using Python and Pocket Sphinx #414

Closed

Description

@squirrel1

Hi. I am writing a Raspberry Pi project in Python that creates dialogue between the machine and the user. It is used offline so I am using Pocket Sphinx.

I have been unable to prove that this technology is capable of both speech-to-text and text-to-speech in the same application. They work fine alone but I'm first trying to have the raspberry pi restate what the user said in the form of "Did you say...." Part of my problem is that it must be multithreaded because it must both monitor input from the speaker and also from external messages to deliver to the speaker.

Has someone out there solved this problem? Is this technology capable of this interactive speech? I'd appreciate any help!

Activity

  1. squirrel1 commented on May 6, 2025

    @squirrel1
    Author

    Hello? Can someone out there please help me with my problem? I need to establish a spoken dialogue between the user and the Raspberry Pi based on input from multiple sources. Thanks!

  2. dhdaines commented on May 12, 2025

    @dhdaines
    Contributor

    Hi, this is an interesting problem, but not actually a bug in PocketSphinx, and without being able to look at your code there's unfortunately no chance at all that anyone can help you with your problem.

    I'm converting this to a discussion.

  3. locked and limited conversation to collaborators on May 12, 2025
  4. converted this issue into a discussion #415 on May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions