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-GoogleAssistant/ Assistant2Display : Issues with sound for radio

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 3 Posters 775 Views 3 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.
    • Z Offline
      ZeFX
      last edited by

      Hello everyone,

      I’ve been playing with vocal control lately, and GA/A2D is a great piece of module !
      Great job from @Bugsounet :)

      I’m facing a weird issue that I can’t solve on my own though… I can’t have sound both on the Assistant voice and on the radio/youtube streaming.

      Example:

      responseConfig: {
            useNative:true,
            playProgram: "mpg321" 
      },
      

      Results with above config :
      “Jarvis, Bonjour” : I can hear the chimes sound and voice from the assistant
      “Jarvis, Mets France Info” : bip sound is ok, logo appears but no sound
      “Jarvis, Mickael jackson youtube”: picture but no sound

            responseConfig: {
                  useNative:true,
                  playProgram: "mpg321" 
            },
      

      Results with above config :
      “Jarvis, Bonjour” : I can hear the chimes sound but no sound
      “Jarvis, Mets France Info” : bip sound is ok, logo appears with no sound
      “Jarvis, Mickael jackson youtube”: video and sound are ok

      Tried to change the program with aplay or afplay but no improvement.

      Any idea ?

      Thanks in advance !

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @ZeFX
        last edited by

        @ZeFX both those responseConfig sections are the same

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • Z Offline
          ZeFX
          last edited by

          Thanks @sdetweil … second config should read “useNative:False,”

          Example:

          responseConfig: {
                useNative:true,
                playProgram: "mpg321" 
          },
          

          Results with above config :
          “Jarvis, Bonjour” : I can hear the chimes sound and voice from the assistant
          “Jarvis, Mets France Info” : bip sound is ok, logo appears but no sound
          “Jarvis, Mickael jackson youtube”: picture but no sound

          responseConfig: {
                     useNative:false,
                     playProgram: "mpg321" 
               },
          

          Results with above config :
          “Jarvis, Bonjour” : I can hear the chimes sound but no sound
          “Jarvis, Mets France Info” : bip sound is ok, logo appears with no sound
          “Jarvis, Mickael jackson youtube”: video and sound are ok

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

            @ZeFX said in MMM-GoogleAssistant/ Assistant2Display : Issues with sound for radio:

              responseConfig: {
                    useNative:true,
                    playProgram: "mpg321" 
              },
            

            this GA config is ONLY for GA and not A2D (i remember you … it’s 2 different modules :) )

            if you have no sound in A2D it’s because your output sound card is not correcly configured in your RPI desktop try to setup it correctly (sound icon -> make correctly default and reboot)

            but generaly in 80% it will not works …
            why ?

            • use USB Sound card output audio (not works correctly with MagicMirror and drivers sucks)
            • use Pulseaudio … MagicMirror don’t like it (so more issue)
            • bluetooth using … yes only with pulseaudio … i know

            Solve way :

            • use native 3.5 Jack output or HDMI output
            • desinstalling pulseaudio (if installed) and reconfigure audio card
            • not using bluetooth …

            I can’t do better actually … I can’t playing Youtube with an MP3 player ! it’s only with HTML5 audio

            1 Reply Last reply Reply Quote 0
            • Z Offline
              ZeFX
              last edited by

              Thanks for your help !

              I understand that it is 2 differents modules, however changing the parameters for “usenative” impacts the sound output for radio… i don’ understand why just what happened while I was trying to sovle the issue.

              I don’t have pulseaudio but the speaker is indeed an USB, even though it is working perfectly with VLC, youtube on chromium and so on… I’ll keep looking !

              By the way, is there anyway to change the default voice from GA ? From female to male ?

              have a nice day,
              Cheers

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

                hi, i don’t send any help … sorry

                maybe … try to ask to @MichMich … he have maybe some response

                (see my signature)

                I strongly advise you to mention it in your comments! ( @MichMich)
                thanks in advance
                @bugsounet

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