Bugsounet Coding

    • Register
    • Login
    • Search
    1. Home
    2. Blane
    This Forum is now reserved to registred users!
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    Blane

    @Blane

    0
    Reputation
    1
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Blane Unfollow Follow

    Latest posts made by Blane

    • RE: Problems with speech recognition

      Hello bugsounet, unfortunately, nothing has changed. The file is still not present and the recording worked and was played back. After deactivating the modules, the MagicMirror just stays black and I can no longer reach the gateway

      admin@raspberrypi:~ $ cd ~ && cat .asoundrc 
      cat: .asoundrc: No such file or directory
      
      admin@raspberrypi:~ $ arecord -D default -q -r 16000 -c 1 -t wav -f S16_LE -d 3 test.wav && aplay test.wav
      Wiedergabe: WAVE 'test.wav' : Signed 16 bit Little Endian, Rate: 16000 Hz, mono
      
      
      admin@raspberrypi:~ $ ps aux | grep record
      admin     2602  0.0  0.0   3536  1660 pts/0    S+   23:48   0:00 grep --color=auto record
      
      
      posted in Issues
      B
      Blane
    • RE: Problems with speech recognition

      Hello bugsounet, tried what you wrote, the file .asoundrc does not exist and the recording started and played back without error.

      cd ~ && cat .asoundrc 
      cat: .asoundrc: No such file or directory
      
      admin@raspberrypi:~ $ arecord -D default -q -r 16000 -c 1 -t wav -f S16_LE -d 3 test.wav && aplay test.wav
      Wiedergabe: WAVE 'test.wav' : Signed 16 bit Little Endian, Rate: 16000 Hz, mono
      
      
      admin@raspberrypi:~ $ ps aux | grep record
      admin     3575  0.0  0.0   3536  1552 pts/0    S+   12:53   0:00 grep --color=auto record
      
      
      posted in Issues
      B
      Blane
    • RE: Problems with speech recognition

      Thank you very much for your support, unfortunately I can’t work on the mirror again until Monday. I will try and post the outputs on Monday

      posted in Issues
      B
      Blane
    • RE: Problems with speech recognition

      Here are the outputs

      admin@raspberrypi:~/MagicMirror $ ps aux | grep pulse
      admin      721  0.0  0.4 920580  7928 ?        S<sl 15:58   0:16 /usr/bin/pulseaudio --daemonize=no --log-target=journal
      admin    13587  0.0  0.0   3536  1624 pts/0    S+   22:54   0:00 grep --color=auto pulse
      
      admin@raspberrypi:~ $ arecord -L
      null
          Discard all samples (playback) or generate zero samples (capture)
      default
          Playback/recording through the PulseAudio sound server
      lavrate
          Rate Converter Plugin Using Libav/FFmpeg Library
      samplerate
          Rate Converter Plugin Using Samplerate Library
      speexrate
          Rate Converter Plugin Using Speex Resampler
      jack
          JACK Audio Connection Kit
      oss
          Open Sound System
      pulse
          PulseAudio Sound Server
      upmix
          Plugin for channel upmix (4,6,8)
      vdownmix
          Plugin for channel downmix (stereo) with a simple spacialization
      usbstream:CARD=b1
          bcm2835 HDMI 1
          USB Stream Output
      usbstream:CARD=Headphones
          bcm2835 Headphones
          USB Stream Output
      hw:CARD=Device,DEV=0
          USB PnP Sound Device, USB Audio
          Direct hardware device without any conversions
      plughw:CARD=Device,DEV=0
          USB PnP Sound Device, USB Audio
          Hardware device with all software conversions
      sysdefault:CARD=Device
          USB PnP Sound Device, USB Audio
          Default Audio Device
      front:CARD=Device,DEV=0
          USB PnP Sound Device, USB Audio
          Front output / input
      dsnoop:CARD=Device,DEV=0
          USB PnP Sound Device, USB Audio
          Direct sample snooping device
      usbstream:CARD=Device
          USB PnP Sound Device
          USB Stream Output
      usbstream:CARD=UACDemoV10
          UACDemoV1.0
          USB Stream Output
      
      admin@raspberrypi:~ $ uname -a
      Linux raspberrypi 5.15.84-v7l+ #1613 SMP Thu Jan 5 12:01:26 GMT 2023 armv7l GNU/Linux
      
      admin@raspberrypi:~ $ cat /etc/os-release 
      PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
      NAME="Raspbian GNU/Linux"
      VERSION_ID="11"
      VERSION="11 (bullseye)"
      VERSION_CODENAME=bullseye
      ID=raspbian
      ID_LIKE=debian
      HOME_URL="http://www.raspbian.org/"
      SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
      BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
      
      admin@raspberrypi:~ $ cat .soundrc
      cat: .soundrc: No such file or directory
      
      posted in Issues
      B
      Blane
    • RE: Problems with speech recognition

      I had no intention of changing the micro configuration. The voice input did not work and then I came across the warning in the gateway terminal output. I just wonder why the voice input does not work. I have installed and configured everything according to your instructions. When I make a request to google via the gateway tools, it is answered and displayed on the mirror.

      posted in Issues
      B
      Blane
    • Problems with speech recognition

      Hello bugsounet, first of all many thanks for your great work. Do you have any idea where the problem could be? The google assistant does not respond to any voice input. In the terminal output of gateway there is a warning from arecord(screenshot1) every second. As I understand it does not find the micro. So I started looking for the device name in your files and found the following entry in three files:

      /MagicMirror/modules/EXT-Detector/components/porcupine.js
      ./MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/index.js:
      ./MagicMirror/modules/EXT-Detector/node_modules/@bugsounet/snowboy/sample.js:

      device=“plughw:1”

      When I tried to start a recording with arecord --device =plughw:1 --format… I tried to start a recording and got an error. So I searched for my device name, it is “plughw:2,0”. At least I can start a recording with arecord --device =plughw:2,0 --format…(screenshot2) and record sound. After I have adjusted the entries in the three files (screenshot3), unfortunately the message still appears and the voice input still does not work. Maybe you have an idea what else it could be?Screenshot1.png
      Screenshot2.png Screenshot3.png

      posted in Issues
      B
      Blane