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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @pepemujica
      last edited by

      @pepemujica if this soundcard is your microphone then put microphone: 0 in your config

      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 I’ve already tryed that, and got the same result:
        First “Initialising”, after a few seconds “ERROR” and under the microphone “undefined”

        Error.log

        0_1490903332620_upload-9de8f59a-a8e3-4fa3-a056-a66c55142af6

        debug.log
        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

        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 the pi is nit able to use your microphone, can you test it with another one?

          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 Actually, I’ve tried whith an “Online Mic Tester” and could record and listen my voice, so I asume it is able to use the microphone.

            Could you recommend me something else?

            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 could try to record on the pi https://stackoverflow.com/questions/28054731/capture-record-audio-input-in-raspberrypi

              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 I can record with the mic when I use arecord -f cd -D plughw:0 -d 10 a.wav and after I can listen

                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 the error message says that your microphone is used by something else, so i guess you have to investigate on that

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

                  1 Reply Last reply Reply Quote 0
                  • daenickD Offline
                    daenick
                    last edited by

                    Hello, I´m havin problems with this:

                    alt text

                    Any idea?

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

                      @daenick what is your os version?

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

                      daenickD 2 Replies Last reply Reply Quote 0
                      • daenickD Offline
                        daenick @strawberry 3.141
                        last edited by

                        @strawberry-3.141 2017-03-02-raspbian-jessie

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

                          @daenick can you update your system and try again? sudo apt-get update ; sudo apt-get upgrade

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

                          1 Reply Last reply Reply Quote 0
                          • daenickD Offline
                            daenick @strawberry 3.141
                            last edited by

                            Yes, that was the first thind I do, but doesn´t works…

                            Mysteriously after of the installation of MMM-mail could continue

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

                              @daenick so it is installed now?

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

                              1 Reply Last reply Reply Quote 0
                              • daenickD Offline
                                daenick
                                last edited by

                                No, now I get this:

                                alt text

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

                                  @daenick looks like you executed the installer with sudo

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

                                  daenickD 1 Reply Last reply Reply Quote 0
                                  • daenickD Offline
                                    daenick @strawberry 3.141
                                    last edited by daenick

                                    @strawberry-3.141 can try again without restart everything?

                                    By the way, you are so friendly. Thanks!

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

                                      @daenick remove the node_modules folder in MagicMirror/modules/MMM-voice first and go into /root/pocketsphinx and execute sudo make uninstall same in /root/sphinxbase then rerun the installer

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

                                      daenickD 2 Replies Last reply Reply Quote 0
                                      • daenickD Offline
                                        daenick @strawberry 3.141
                                        last edited by daenick

                                        @strawberry-3.141 I ran the bash without the sudo. Finish ok

                                        1 Reply Last reply Reply Quote 0
                                        • daenickD Offline
                                          daenick @strawberry 3.141
                                          last edited by

                                          @strawberry-3.141 Hello Again,

                                          Finnaly I got the MMM-voice installed, but how can I set the micro as default? Sometimes the micro can “hear me” but mostly of time no

                                          There´s some kind of special configuration with the micro?

                                          Thanks!

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

                                            @strawberry-3-141
                                            I get this error (or is it?) when starting MagicMirror.

                                            MMM-voice: Starting pocketsphinx.
                                            (node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
                                            (node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
                                            (node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
                                            (node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
                                            (node:1844) DeprecationWarning: Calling an asynchronous function without callback is deprecated.

                                            The microphone icon appears and after it it states “ERROR”, within MagicMirror.

                                            Thanks!

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 16
                                            • 17
                                            • 5 / 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