• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 note here

Scheduled Pinned Locked Moved Utilities
22 Posts 4 Posters 2.9k Views 4 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.
  • W Offline
    wirdman
    last edited by wirdman Jul 16, 2020, 5:32 PM Jul 16, 2020, 5:32 PM

    @killerjoe34 said in MMM-GoogleAssistant note here:

    aplay --format=S16_LE --rate=48000 out.raw

    i think no ^^

    pipi@raspberrypi:~ $ arecord --format=S16_LE --duration=5 --rate=48000 --file-type=raw out.raw
    ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM input
    arecord: main:828: erreur à l'ouverture audio: Aucun fichier ou dossier de ce type
    pi@raspberrypi:~ $ arecord --format=S16_LE --duration=5 --rate=48000 --file-type=raw out.raw
    ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM input
    arecord: main:828: erreur à l'ouverture audio: Aucun fichier ou dossier de ce type
    
    
    1 Reply Last reply Reply Quote 0
    • ? Offline
      A Former User
      last edited by Jul 16, 2020, 5:36 PM

      arecord -D plughw:2 -q -r 16000 -c 1 -t wav -f S16_LE -d 3 test.wav
      aplay test.wav
      
      W 1 Reply Last reply Jul 16, 2020, 5:37 PM Reply Quote 0
      • W Offline
        wirdman @Guest
        last edited by wirdman Jul 16, 2020, 5:37 PM Jul 16, 2020, 5:37 PM

        @Bugsounet

        pi@raspberrypi:~ $ arecord -D plughw:2 -q -r 16000 -c 1 -t wav -f S16_LE -d 3 test.wav
        arecord: main:828: erreur à l'ouverture audio: Périphérique ou ressource occupé
        
        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by Jul 16, 2020, 5:38 PM

          cela veux simplement dire que tu enregistre deja quelque chose
          suremement Magicmirror est lancer ;)

          W 1 Reply Last reply Jul 16, 2020, 5:39 PM Reply Quote 0
          • W Offline
            wirdman @Guest
            last edited by Jul 16, 2020, 5:39 PM

            @Bugsounet

            haa d’accord merci beaucoup

            pi@raspberrypi:~ $ arecord -D plughw:2 -q -r 16000 -c 1 -t wav -f S16_LE -d 3 test.wav
            pi@raspberrypi:~ $ aplay test.wav
            Lecture WAVE 'test.wav' : Signed 16 bit Little Endian, Fréquence 16000 Hz, Mono
            
            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by Jul 16, 2020, 5:42 PM

              So: It’s meens, if you hear your voice plughw:2 is the good configuration for micConfig: {} part
              [donc , si vous entendez votre voix, cela signifie que plughw:2 est la bonne configuration a mettre dans micConfig: {}]

              W 1 Reply Last reply Jul 16, 2020, 5:48 PM Reply Quote 0
              • W Offline
                wirdman @Guest
                last edited by Jul 16, 2020, 5:48 PM

                @Bugsounet

                Tout fonctionne merci énormément 😁😁😁

                merci pour votre aide et votre patience pour le noob que je suis

                🤩

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by Jul 16, 2020, 5:52 PM

                  no problem, it’s logical i help you … just because i code it ;)
                  [pas de souci, vu que je créé ce module, il me parait logique d’aider (surtout les français … comme moi)]

                  now let’s try Assistant2Display extension, for displaying all jobs
                  [essayez maintenant Assistant2Display, l’extension de GA pour afficher plein de chose…]

                  W 2 Replies Last reply Jul 16, 2020, 5:53 PM Reply Quote 0
                  • W Offline
                    wirdman @Guest
                    last edited by Jul 16, 2020, 5:53 PM

                    @Bugsounet

                    i going right night to see that 😃

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wirdman @Guest
                      last edited by Jul 16, 2020, 6:12 PM

                      @Bugsounet said in MMM-GoogleAssistant note here:

                      Assistant2Display

                      je suis un peut perdu je pense a cause du

                      var config = {
                        address: "localhost",
                        electronOptions: {
                          webPreferences: {
                            webviewTag: true
                          }
                        },
                        port: 8080,
                      ...
                      

                      voici l’erreur sinon tout ce lance correctement

                      [2020-07-16 20:03:31.883] [LOG]    [A2D] MMM-Assistant2Display Version: 2.2.1
                      [2020-07-16 20:03:31.910] [ERROR]  (node:9433) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
                      [2020-07-16 20:03:31.916] [ERROR]  (node:9433) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
                      [2020-07-16 20:03:34.067] [LOG]    Refreshed access token because it has expired. Expired at: 20:03:31 now is: 20:03:34
                      [2020-07-16 20:03:34.126] [LOG]    Refreshed access token because it has expired. Expired at: 21:03:34 now is: 20:03:34
                      [2020-07-16 20:03:35.013] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                      [2020-07-16 20:03:36.759] [LOG]    [A2D] Assistant2Display is disabled.
                      
                      W 1 Reply Last reply Jul 16, 2020, 6:35 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        16/22
                        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