MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. frodrd00
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    F
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Groups 0

    frodrd00

    @frodrd00

    0
    Reputation
    526
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    frodrd00 Unfollow Follow

    Latest posts made by frodrd00

    • RE: VoiceControl module

      Hi @GinSeng ,

      How can I change the volume with the voice?

      if (notification === “VOLUME_UP”){
      ?¿?¿?¿?¿?
      }
      if (notification === “VOLUME_DOWN”){
      ?¿?¿?¿
      }

      Thanks.

      posted in Utilities
      F
      frodrd00
    • RE: Simple Music Player Module

      Hi,
      I use the module voicecontrol.
      How can I change the following to raise the volume?

      if (notification === “VOLUME_UP”){
      ?¿?¿?¿?¿?
      }
      if (notification === “VOLUME_DOWN”){
      ?¿?¿?¿
      }

      posted in Entertainment
      F
      frodrd00
    • RE: VoiceControl module

      Hi, I have a problem with the module. The microphone and speaker work well. I do not understand why this happens. The error log:

      ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
      ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
      ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
      ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
      ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
      Cannot connect to server socket err = No such file or directory
      Cannot connect to server request channel
      jack server is not running or cannot be started
      Expression ‘paInvalidSampleRate’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2048
      Expression ‘PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2719
      Expression ‘PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2843
      Traceback (most recent call last):
      File “./modules/voicecontrol/snowboy/kws-multiple.py”, line 34, in
      detector = snowboydecoder.HotwordDetector(models, sensitivity=sensitivity)
      File “/home/pi/MagicMirror/modules/voicecontrol/snowboy/snowboydecoder.py”, line 115, in init
      stream_callback=audio_callback)
      File “/usr/lib/python2.7/dist-packages/pyaudio.py”, line 747, in open
      stream = Stream(self, *args, **kwargs)
      File “/usr/lib/python2.7/dist-packages/pyaudio.py”, line 442, in init
      self._stream = pa.open(**arguments)
      IOError: [Errno Invalid sample rate] -9997
      connected

      posted in Utilities
      F
      frodrd00