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.

    Multiple audio input

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 2.4k 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.
    • ? Offline
      A Former User
      last edited by

      All modules seem to lock the audio input device when starting,
      like MMM-GoogleAssistant or MMM- Alexa.
      What can I do if I want to run more than one module waiting for a magic word ?
      Sometimes I might want to use Alexa, but in other situations the Google Assistant.
      Maybe there is a way to make a module kind of ‘active’ for audio input ?
      Pressing a button or using another module to distribute the request ?

      ? 1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User @Guest
        last edited by

        @howi42
        How about using AssistantPi? That is not the answer to your question, but it could be help for your situation.

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by A Former User

          @Sean said in Multiple audio input:

          AssistantPi

          Thanks, I will give it try.
          BTW, I tried AlexaPi earlier, not the best results.
          It crashes always when questions get a bit longer.
          Restart helps, but that is not a good option.
          Just for completeness :
          This is a typical result if you ask Alexa a longer question, like :
          How is the weather in Berlin

          Exception in thread Thread-2:
          Traceback (most recent call last):
          File “/usr/lib/python2.7/threading.py”, line 810, in __bootstrap_inner
          self.run()
          File “/usr/lib/python2.7/threading.py”, line 763, in run
          self.__target(*self.__args, **self.__kwargs)
          File “/opt/AlexaPi/src/main.py”, line 611, in trigger_process
          alexa_speech_recognizer(audio_stream)
          File “/opt/AlexaPi/src/main.py”, line 420, in alexa_speech_recognizer
          process_response(resp)
          File “/opt/AlexaPi/src/main.py”, line 510, in process_response
          with open(filename, ‘wb’) as f:
          IOError: [Errno 2] No such file or directory: ‘/tmp/AlexaPi-runtime-1HoVt4/5bdf1b19-4123-42fb-8c65-863eb1b071e3#Alexa3P:1.0/2017/08/31/21/3cd42c9aa6484b8c90aa75b6f956bf47/06:50::TNIH_2V.11cf1cd6-6ebf-4e5b-81fc-c7f609a99e06ZXV/0_1364971548.mp3’

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