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 ALSA lib pcm_hw.c:1693:(_snd_pcm_hw_open) Invalid value for card
      Error opening audio device plughw:1 for capture: No such file or directory
      FATAL: “continuous.c”, line 245: Failed to open audio device

      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 So how can I fin this?

        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 cat /proc/asound/cards

          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 pepemujica

            @strawberry-3.141 said in MMM-voice:

            cat /proc/asound/cards

            What should I do with this? Sorry for my bad linux usage

            0_1490896262887_upload-034fd73c-bcbe-4fbc-a037-de9eca9c7bfe

            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 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

                                            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
                                            • 16
                                            • 17
                                            • 1 / 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