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

    Scheduled Pinned Locked Moved Troubleshooting
    19 Posts 2 Posters 10.2k Views 2 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @strawberry 3.141
      last edited by

      @strawberry-3.141 said in MMM-NFL:

      without any modifications this is only possible with mmm-voice

      Ok, then I will give MMM-voice a try. Thanks

      Create a working config
      How to add modules

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

        @strawberry-3.141

        MM shows a little white microphone in the bottom left of the screen with the word ERROR next to it

        run bash dependencies.sh in ~/MagicMirror/modules/MMM-voice/installers directory, to install all dependencies.

        This command would not work for me on the laptop so I manually installed these dependencies in the /MagicMirror/modules/MMM-voice/installers directory:
        SphinxBase :heavy_check_mark:
        PocketSphinx :heavy_check_mark:
        A microphone - I tested the microphone of the laptop and it is working. I recorded a test file. :heavy_check_mark:
        npm - already installed :heavy_check_mark:
        PocketSphinx-continuous :heavy_check_mark:
        lmtool :heavy_check_mark:

        Do I have to also install these? If so, how would I find them? Google search?

        Packages: bison libasound2-dev autoconf automake libtool python-dev swig python-pip

        microphone REQUIRED Id of microphone shown in the installer.

        I did not see and Id for the microphone.

        Create a working config
        How to add modules

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

          @strawberry-3.141

          This was in my terminal when I closed MM

          MMM-voice: Checking files.
          MMM-voice: Generating dictionairy and language model.
          MMM-voice: Saved words.json successfully.
          MMM-voice: Starting pocketsphinx.
          (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
          k is deprecated.
          (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
          k is deprecated.
          (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
          k is deprecated.
          (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
          k is deprecated.
          (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
          k is deprecated.
          (node:1892) DeprecationWarning: Calling an asynchronous function without callbac
          k is deprecated.

          Create a working config
          How to add modules

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

            @Mykle1 never tried to install it on a non linux system

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

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

              @strawberry-3.141 said in MMM-NFL:

              never tried to install it on a non linux system

              Ok,then lets start off simply, if you don’t mind

              Are these part of the dependencies installed by the bash command?
              Packages: bison libasound2-dev autoconf automake libtool python-dev swig python-pip

              Create a working config
              How to add modules

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

                @Mykle1 yes it’s the first step in the installer, when I remember correctly (half a year ago) those were needed to install pocketsphinx and sphinxbase

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

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

                  @strawberry-3.141 said in MMM-NFL:

                  yes it’s the first step in the installer, when I remember correctly (half a year ago) those were needed to install pocketsphinx and sphinxbase

                  Ok, then theoretically, I should be able to find and install each one individually in the /MagicMirror/modules/MMM-voice/installers directory. I will follow the order of the installations from the dependencies.sh file.

                  The problem is with sudo (I think) based on this:

                  [STEP 1/6] Installing Packages
                  dependencies.sh: line 36: sudo: command not found
                  [STEP 1/6] Installing Packages | Failed
                  
                  Pop@Pop-CQ57-Laptop MINGW32 ~/MagicMirror/modules/MMM-voice/installers (master)
                  

                  Anyway, I’ll keep trying

                  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

                    Oh well, I don’t think this is gonna happen. The libasound2-dev file, from what I can tell, is designed for the ALSA sound component that the Pi uses. My poor son-in-law. He doesn’t get a MMM-NFL laptop.

                    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

                      I just chatted with cowboysdude. Apparently, he installed ubuntu on a computer and was able to get MMM-voice to work that way. I’m going to try that. Wish me luck

                      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

                        Installed uBuntu and was able to successfully install MMM-NFL and MMM-voice and the dependencies as directed.

                        This was at the end of the dependencies installation for MMM-voice

                        [INFO] Possible Audio Devices to set in config.js
                        
                         0 [SB             ]: HDA-Intel - HDA ATI SB
                                              HDA ATI SB at 0xf0440000 irq 16
                        pop@NFL:~/MagicMirror/modules/MMM-voice/installers$ 
                        

                        Please tell me what to put in the config for Microphone

                        Create a working config
                        How to add modules

                        strawberry 3.141S 1 Reply Last reply Reply Quote 0
                        • 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