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 3.0k 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.
    • K Offline
      killerjoe34
      last edited by

      Does it appear with

      arecord -l
      

      And if it is, the card number should be reported in your config.js

       micConfig: { // put there configuration generated by $
                                  recorder: "arecord",
                                  device: "plughw:2",
                                },
      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        pense également a vérifier le volume du micro ;)

        va dans le bureau du RPI > icone volume > (clique droit) > output device > device setting
        vérifie egalement qu’il est pas sur mute !

        1 Reply Last reply Reply Quote 0
        • W Offline
          wirdman
          last edited by

          voici ma config.js et le

          arecord -l
          

          Capture d’écran 2020-07-16 à 18.49.16.png

          Capture d’écran 2020-07-16 à 18.50.05.png

          Merci encore pour votre aide

          1 Reply Last reply Reply Quote 0
          • K Offline
            killerjoe34
            last edited by killerjoe34

            avec MM arrêté, essaie

            arecord --format=S16_LE --duration=5 --rate=48000 --file-type=raw out.raw
            et
            aplay --format=S16_LE --rate=48000 out.raw
            

            pour voir s’il est configuré correctement

            1 Reply Last reply Reply Quote 0
            • W Offline
              wirdman
              last edited by wirdman

              @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

                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 Reply Quote 0
                • W Offline
                  wirdman @Guest
                  last edited by wirdman

                  @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

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

                    W 1 Reply Last reply Reply Quote 0
                    • W Offline
                      wirdman @Guest
                      last edited by

                      @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

                        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 Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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