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.

    MMM-voice

    Scheduled Pinned Locked Moved Utilities
    voice control
    329 Posts 55 Posters 999.0k Views 50 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.
    • A Offline
      Advokaten @strawberry 3.141
      last edited by

      @strawberry-3.141 I’m lost. Still can’t figure out what’s wrong. :(

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @Advokaten
        last edited by

        @Advokaten did you try what the second link suggested?

        Please create a github issue if you need help, so I can keep track

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Advokaten @strawberry 3.141
          last edited by Advokaten

          @strawberry-3.141 Yes, sir! The ERROR text is gone. Now it’s displaying “Initialising…” and the mic icon has a slash through it and is blinking infinitely. I bet I’m doing a rookie mistake somewhere.

          strawberry 3.141S 1 Reply Last reply Reply Quote 0
          • strawberry 3.141S Offline
            strawberry 3.141 Project Sponsor Module Developer @Advokaten
            last edited by

            @Advokaten never had this happened before neither did someone report this issue. I would need to see it myself in order to debug it.

            Please create a github issue if you need help, so I can keep track

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Advokaten @strawberry 3.141
              last edited by Advokaten

              @strawberry-3.141 I tried reinstalling it with bash dependencies.sh and it’s back to “ERROR”. Derp.

              Looking at error.log in the MMM-voice folder I can find:

              Error opening audio device plughw:1,0 for capture: Connection refused
              FATAL: "continuous.c", line 245: Failed to open audio device

              Somebody gave a suggestion on running:

              pocketsphinx_continuous -inmic yes -adcdev plughw:1,0

              That too gave me:

              Error opening audio device plughw:1,0 for capture: Connection refused
              FATAL: "continuous.c", line 245: Failed to open audio device

              I haven’t attached anything to my RPi except for an USB microphone.

              strawberry 3.141S 1 Reply Last reply Reply Quote 0
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @Advokaten
                last edited by

                @Advokaten did. you disable pulseaudio like in the Link?

                Please create a github issue if you need help, so I can keep track

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  Advokaten @strawberry 3.141
                  last edited by

                  @strawberry-3.141 Yes.

                  checking pulse/pulseaudio.h usability... no
                  checking pulse/pulseaudio.h presence... no
                  checking for pulse/pulseaudio.h... no
                  checking alsa/asoundlib.h usability... yes
                  checking alsa/asoundlib.h presence... yes
                  checking for alsa/asoundlib.h... yes

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pepemujica
                    last edited by

                    Hi @strawberry-3-141 Now when I launch the mirror first it says “ready choose a mode” and after a few secnods “error” any idea why?

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      Advokaten @pepemujica
                      last edited by

                      @pepemujica if you scroll to the bottom in your error.log, what does it say? I also cannot get it started.

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        pepemujica @Advokaten
                        last edited by

                        @Advokaten Just a ‘1’

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          Advokaten @pepemujica
                          last edited by

                          @pepemujica and the debug.log?

                          P 1 Reply Last reply Reply Quote 0
                          • P Offline
                            pepemujica @Advokaten
                            last edited by

                            @Advokaten INFO: dict.c(213): Dictionary size 34, allocated 0 KiB for strings, 0 KiB for phones
                            INFO: dict.c(361): 5 words read
                            INFO: dict2pid.c(396): Building PID tables for dictionary
                            INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
                            INFO: dict2pid.c(132): Allocated 42672 bytes (41 KiB) for word-final triphones
                            INFO: dict2pid.c(196): Allocated 42672 bytes (41 KiB) for single-phone word triphones
                            INFO: ngram_model_trie.c(354): Trying to read LM in trie binary format
                            INFO: ngram_model_trie.c(365): Header doesn’t match
                            INFO: ngram_model_trie.c(177): Trying to read LM in arpa format
                            INFO: ngram_model_trie.c(193): LM of order 3
                            INFO: ngram_model_trie.c(195): #1-grams: 25
                            INFO: ngram_model_trie.c(195): #2-grams: 46
                            INFO: ngram_model_trie.c(195): #3-grams: 23
                            INFO: lm_trie.c(474): Training quantizer
                            INFO: lm_trie.c(482): Building LM trie
                            INFO: ngram_search_fwdtree.c(74): Initializing search tree
                            INFO: ngram_search_fwdtree.c(101): 28 unique initial diphones
                            INFO: ngram_search_fwdtree.c(186): Creating search channels
                            INFO: ngram_search_fwdtree.c(323): Max nonroot chan increased to 157
                            INFO: ngram_search_fwdtree.c(333): Created 28 root, 29 non-root channels, 5 single-phone words
                            INFO: ngram_search_fwdflat.c(157): fwdflat: min_ef_width = 4, max_sf_win = 25
                            INFO: continuous.c(307): pocketsphinx_continuous COMPILED ON: Mar 29 2017, AT: 15:15:03

                            Error opening audio device plughw:0 for capture: Device or resource busy
                            FATAL: “continuous.c”, line 245: Failed to open audio device

                            A 1 Reply Last reply Reply Quote 0
                            • A Offline
                              Advokaten @pepemujica
                              last edited by

                              @pepemujica We have the same error! I feel relieved that I’m not alone! :D

                              P 2 Replies Last reply Reply Quote 0
                              • P Offline
                                pepemujica @Advokaten
                                last edited by

                                @Advokaten :D

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pepemujica @Advokaten
                                  last edited by

                                  @Advokaten Hi, nothing to do with this, but as far as I couldn’t update the MM, I’ve removed the update notification from the config file and now it seems to be working the MM-Voice. don’t know why

                                  1 Reply Last reply Reply Quote 0
                                  • P Offline
                                    pepemujica
                                    last edited by

                                    Hi @strawberry-3-141 finally I could get working the module, I say something and I see under the mic, but thats all. Should I do anything else so I can show or hide modules for example?
                                    Kind regards

                                    strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                    • strawberry 3.141S Offline
                                      strawberry 3.141 Project Sponsor Module Developer @pepemujica
                                      last edited by

                                      @pepemujica you have to enter voice mode first

                                      Please create a github issue if you need help, so I can keep track

                                      P 1 Reply Last reply Reply Quote 0
                                      • P Offline
                                        pepemujica @strawberry 3.141
                                        last edited by

                                        @strawberry-3.141 how do I do that? Is there any tutorial?

                                        strawberry 3.141S 1 Reply Last reply Reply Quote 0
                                        • strawberry 3.141S Offline
                                          strawberry 3.141 Project Sponsor Module Developer @pepemujica
                                          last edited by

                                          @pepemujica saying the keyword followed by the mode you want to enter https://github.com/fewieden/MMM-voice#usage

                                          Please create a github issue if you need help, so I can keep track

                                          P 1 Reply Last reply Reply Quote 0
                                          • P Offline
                                            pepemujica @strawberry 3.141
                                            last edited by

                                            @strawberry-3.141 GOD!!! I’ve change a module and now I get error again ):
                                            Despite of that, I’ve said Magic Mirror Open Help, and nothing happen

                                            strawberry 3.141S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 13
                                            • 14
                                            • 15
                                            • 16
                                            • 17
                                            • 16 / 17
                                            • First post
                                              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