• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Anybody know about PocketSphinx? Need help....

Scheduled Pinned Locked Moved Solved Troubleshooting
4 Posts 2 Posters 1.1k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    THeStigh
    last edited by Feb 10, 2019, 6:48 PM

    Hi,

    I need some help with PocketSphinx_Continuous, and I hope there are somebody out there with some experience with this.

    Please get in touch if so, then I can explain the little thing I’m missing …

    S 1 Reply Last reply Feb 11, 2019, 3:11 AM Reply Quote 0
    • S Away
      sdetweil @THeStigh
      last edited by sdetweil Feb 11, 2019, 7:41 PM Feb 11, 2019, 3:11 AM

      @thestigh so, you want to slide the mic to someone else, and back… fun times…

      PSC-node needs a start and stop, separate from constructor, right now the constructor does an implict start

      the start does the spawn (save id)
      the stop does a kill (id)

      then MMM-Voice node helper needs commands to stop and restart/start.
      right now its all ‘start’

      the PSC on handlers have to be redone on start/restart, cause the background process stdout is closed and reopened on new spawn.

      then the MMM-Voice has to have added function to receive request to yield and issue request to obtain control.

      there may be some additional recovery work on resumption of listen to the mic after the prior process was killed…(abruptly)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • S Away
        sdetweil
        last edited by Feb 11, 2019, 3:47 PM

        i modified the pocketsphinx-continuous-node and MMM-voice repos to add the start/stop listening support , at least to get it working…

        I have not added any cross module communications yet to invoke it like you wanted…

        see the repos on github

        MMM-voice change https://github.com/sdetweil/MMM-voice/tree/mic_sharing (old code continues to work as it did unchanged)
        pocketsphinx-continuous-node change https://github.com/sdetweil/pocketsphinx-continuous-node

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil
          last edited by sdetweil Feb 12, 2019, 1:10 PM Feb 12, 2019, 1:09 PM

          i posted an update for the MMM-Voice repo that implements the mic sharing via voice command and cross module notifications…

          still need a fallback mechanism in case no other module claims the mic, right now I have a hard coded 10 second timer just to prove it works

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • 1 / 1
          1 / 1
          • First post
            4/4
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Sam, technical setup by Karsten.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy