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

                                        @daenick can you give more details about the issue? the only thing that is configurable is the mic the module should use like microphone: 0 or microphone: 1 …

                                        @Advokaten what is inside the error.log, if you only can see numbers in there please enable debug: true in the config and share the debug.log

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

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

                                          @strawberry-3.141

                                          error.log says 11111111

                                          debug.log in /home/pi/MagicMirror/modules/MMM-voice ? There’s a ton of INFO: lines and at the bottom it says
                                          Error opening audio device plughw:1 for capture: Connection refused
                                          FATAL: "continuous.c", line 245: Failed to open audio device

                                          It works fine with Alexa.

                                          EDIT: When I added debug: true to the config file. When MagicMirror is up, it says “ERROR undefined” rather than just “ERROR”, like it did before.

                                          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 choose the correct audio device id?

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

                                            A 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
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 16
                                            • 17
                                            • 10 / 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