MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. kupperma
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    kupperma

    @kupperma

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

    kupperma Unfollow Follow

    Latest posts made by kupperma

    • RE: arecord sudo only

      @sdetweil
      thank you,
      I have set in the config of MMM-voice the microphone 1, but there is still an error.
      I will ask the developer of MMM-voice.

      Manfred

      posted in Troubleshooting
      K
      kupperma
    • RE: arecord sudo only

      @sdetweil
      pi@raspberrypi:~ $ which arecord
      /usr/bin/arecord

      pi@raspberrypi:~ $ ls /usr/bin/arecord -laF
      lrwxrwxrwx 1 root root 5 16. Apr 2021 /usr/bin/arecord -> aplay*

      Is it that way that I have to set the microphone in MM separately so that the Module MMM-voice will recognize the micophone which is on card 1 device 0.

      posted in Troubleshooting
      K
      kupperma
    • RE: arecord sudo only

      @sdetweil
      Thank you for your reply.

      pi@raspberrypi:/ $ arecord --format=S16_LE --duration=5 --rate=16000 --file-type=wav out.wav
      Aufnahme: WAVE ‘out.wav’ : Signed 16 bit Little Endian, Rate: 16000 Hz, mono
      out.wav: Keine Berechtigung

      This ist the arecord without sudo

      pi@raspberrypi:/ $ sudo arecord --format=S16_LE --duration=5 --rate=16000 --file-type=wav out.wav
      Aufnahme: WAVE ‘out.wav’ : Signed 16 bit Little Endian, Rate: 16000 Hz, mono

      and here the task with sudo.

      ls arecord or find arecord – file or folder not found.

      I assume that arecord is part of aplay probably of the alsa family.
      But why do tasks of the same family ask for different rights.

      Manfred

      posted in Troubleshooting
      K
      kupperma
    • arecord sudo only

      Hello
      I installed a USB-Micro and a speaker on the headphone socket.
      I used aplay and arecord to test.
      when typing aplay … and enter it runs and plays the sound
      when typing arecord…out.wav it says no rights
      so I tried sudo arecord… it runs and records the file, which I can listen to via aplay.

      MagicMirror cannot access the micro because of sudo.

      How can I change the rights for arecord so MM can use it?

      Manfred

      posted in Troubleshooting
      K
      kupperma
    • RE: MMM-CoronaVirus Module

      @vince
      I read the read.md of maykle1 and according to the Moduls config entry in MM’s config.js there is no way to add a second country.
      I will not advise you to tamper the NODE HELPER file but contact maykle1 personally to add a country-2 run for getting the data.

      Manfred

      posted in Troubleshooting
      K
      kupperma