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.

    Microphone/MMM-voice Help

    Scheduled Pinned Locked Moved Troubleshooting
    31 Posts 7 Posters 14.2k Views 7 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
      Abhilash1368 @strawberry 3.141
      last edited by

      @strawberry-3-141 I don’t see any content,but its working now.Initially I have my own custom twitter module loaded along with MMM-voice(my twitter.js is not modified yet to support MMM-voice). Once after making changes to my twitter.js according to “Hey Lucy” documentation to receive voice notifications,then it is started working. Thanks

      1 Reply Last reply Reply Quote 0
      • richland007R Offline
        richland007
        last edited by

        @strawberry-3-141 Ok so i have a very similar situation i have AlexaPi (and MMM-AlexaPi for visual feedback) and want to use MMM-voice and Hello-Lucy. I have 2 USB microphones (a webcam that i talk to AlexaPI and a USB sound card that i want to use for MMM-voice)
        On the config.js i have assigned microphone id of 2 for MMM-voice ( arecord -l and the install of MMM-voice show that alsa as 0 USB webcam as card 1 and USB sound card as card 2)
        when i start magic mirror MMM-voice says “initializing” than briefly “Waiting for module commands” than settles on “error”
        My questions are:

        1. and i am pretty sure i have an answer for this is that AlexaPi and MMM-voice can they use the same mic or not … most likely not .
        2. why isn’t using microphone #2 straight forward do i have to twitch anything on alsa config, etc will pulse audio be better and what is the difference ?? how do we mitigate this problem??

        I have tested and confirmed that both usb microphones work when they are plugged each by themselves but not when they are both simultaneously plugged in only the webcam would record … i am not sure if i am putting the right parameter here “arecord hw:1,0 -d 10 /tmp/test-mic.wav”

        Please any help will be greatly appreciated
        Denis

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          TheGeekfather @richland007
          last edited by

          @richland007

          I too am trying to get Hello-Lucy/Voice to work with my usb soundcard and microphone. I can record outside of MagicMirror so that works but I have the same problem:

          “displays mic flashing symbol and just says initialising and undefined at bottom”

          I have tried following the documentation but still no luck

          Anyone get Hello-Lucy to work?

          S Mykle1M 2 Replies Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @TheGeekfather
            last edited by

            @TheGeekfather use arecord -l and lsusb to find the hw: device id needed…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @TheGeekfather
              last edited by

              @TheGeekfather
              @sdetweil
              @cowboysdude

              My apologies, gentlemen. There is a problem with the mic upon install that seems to be specific to the Pi. @cowboysdude did an install late last night and he encountered the same issue, so forgive me. I am looking at it right now and will not sleep until it is resolved. Not!

              Seriously, it will be fixed ASAP.

              Thank you for your patience and interest.

              Create a working config
              How to add modules

              T 1 Reply Last reply Reply Quote 1
              • T Offline
                TheGeekfather @Mykle1
                last edited by

                @Mykle1

                AWESOME - it is such a great module and to get the mic working would be great !!!

                Mykle1M 1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @TheGeekfather
                  last edited by

                  @TheGeekfather

                  Sorry about the trouble, man. Totally my fault. Thanks for your patience and interest

                  Create a working config
                  How to add modules

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @Mykle1
                    last edited by Mykle1

                    @TheGeekfather

                    Please try adding microphone: "0", to your config entry. If that does not work please try microphone: "1",

                    EXAMPLE: Just add the microphone line.

                    keyword: 'HELLO LUCY', 
                    microphone: "0",
                     timeout: 7, 
                       
                    

                    Create a working config
                    How to add modules

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      TheGeekfather @Mykle1
                      last edited by

                      @Mykle1

                      It says Initializing “undefined” with line through flashing mic icon with both 0 and 1

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @TheGeekfather
                        last edited by

                        @TheGeekfather

                        Hmm, ok, working on it

                        Create a working config
                        How to add modules

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          TheGeekfather @Mykle1
                          last edited by

                          @Mykle1

                          When I try “0” no flashing mic but still “undefined”

                          I can hear “hello Michael what would you like to see” and then say “Hello Lucy”

                          but no mic input

                          mic works - tried arecord

                          Mykle1M 1 Reply Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @TheGeekfather
                            last edited by

                            @TheGeekfather

                            Understood. Lets move this to the Hello-Lucy topic, if you don’t mind

                            https://forum.magicmirror.builders/topic/6241/hello-lucy/192

                            Create a working config
                            How to add modules

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              TheGeekfather @Mykle1
                              last edited by

                              @Mykle1

                              Yes :)

                              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
                              • 2 / 2
                              • 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