• 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 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.
  • W Offline
    wirdman
    last edited by Jul 16, 2020, 4:52 PM

    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 Jul 16, 2020, 5:30 PM Jul 16, 2020, 5:28 PM

      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 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
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        13/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