MagicMirror Forum

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

    DevilRev

    @DevilRev

    0
    Reputation
    891
    Profile views
    19
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    DevilRev Unfollow Follow

    Latest posts made by DevilRev

    • RE: VoiceControl module

      So, I found out that there is a sensitivity setting which can be changed in one of the snowboy configs permanently but it can also be controlled for each hotword individually.

      It would be a great feature if we could set a sensitivity for each hotword in the normal config file, if you find the time i would be really thankful for this addition.

      posted in Utilities
      D
      DevilRev
    • Stop/Freeze and Restart modules

      Hi guys,

      I am currently building a voicecontrolled room using snowboy hotword detection module but it is very insensitive with the commands, meaning they get triggered by normal conversations, too.

      Therefore I want to activate the voicecontrol module with another voicecontrol module and a trigger word.
      To do this I have to disable voicecontrol module 2 until the trigger word is detected by voicecontrol module 1.

      Does anybody know of a possibility to freeze/disable/stop a module and start it again?

      Thanks in advance!
      DevilRev

      posted in Troubleshooting
      D
      DevilRev
    • RE: VoiceControl module

      Is there a way to set a snowboy tolerance?
      Because even tho my command is 5 words long it gets triggered all the time when I talk normally with a friend or watch a TV show.

      posted in Utilities
      D
      DevilRev
    • RE: Hide a module while still having it work

      @Jopyth Yep I already used your module and do really like it but I thought I might be able to just build the status ‘hidden’ into the module instead doing it with another one.

      I’ll probably do it the way you suggested but I can’t even use it without the possibility of deactivating and activating a module completely from another one.

      posted in Troubleshooting
      D
      DevilRev
    • RE: Hide a module while still having it work

      @Jopyth I did this to one module but every other module after that one in the config does not load at all. I need this for 2 modules and in combination with my other question that you answered.

      I can’t do this manually in the config either, it has to be somewhat controllable so I guess my plan can not work out.

      posted in Troubleshooting
      D
      DevilRev
    • Hide a module while still having it work

      Hi,

      I want to hide my voice control module completely from the screen but still have it reacting and sending notifications to other modules, can anyone tell me how can I achieve this?

      Thanks in advance!
      DevilRev

      posted in Troubleshooting
      D
      DevilRev
    • Activate and deactivate modules from other module

      Hi guys,

      I am currently trying to build a module that, upon receiving a certain notification, loads another module that was completely “deactivated” before.
      Does anyone know how I can make a module easily activate/deactivatable? I mean that the module is practically not there as in “nonexistant, not only hidden” and on the other hand normally active.

      Thanks in advance!
      DevilRev

      posted in Development
      D
      DevilRev
    • Start Shell/Pyton script out of MagicMirror module

      Hi guys,

      I’m currently trying to launch both a shell and a python script out of a javascript MagicMirror module, does anyone have an idea how to do this an a simple way?

      The module receives a notification from the voicecontrol module and is then supposed to open a shell script or a python script depending on the command.

      Thanks in advance!

      posted in Troubleshooting
      D
      DevilRev
    • RE: Analog Speaker and USB Mic combined for Voice control

      @strawberry-3.141
      Hi, at first thanks for taking the time and thanks for you help it sounds like a promising solution but I still don’t seem to get this working.

      I used p.get_device_info_by_index() to find out the index of my USB microphone, which is 2, and added input_device_index=2 to the snowboydecoder file BUT it still seems to somehow use the onboard audio card 0 and I have no idea why or what I did wrong.

      I uploaded the error shown when launching the magic mirror to pastebin maybe it can help you help me, I really want to solve this!
      http://pastebin.com/R1n3TmbP

      Also my snowboydecoder config file on pastebin: http://pastebin.com/U0yh4X1f
      maybe I added it at the wrong place but I was thinking this is the right place for it and didn’t know what to do with line 115.

      I really hope you can help me, thanks!

      posted in Troubleshooting
      D
      DevilRev
    • Analog Speaker and USB Mic combined for Voice control

      Hi guys, I have been trying to solve the following problem for 2 days now and I just can’t seem to find a solution.

      I’m trying create a voice control with voice output as reaction and therefore I need microphone and speakers. My speaker is analog and connected to the normal integrated soundcard (3.5mm jack) and for voice input a USB microphone.

      Only the audio device defined as card 0 will work, which means if I configure the speaker as card 0 i can hear voice output when i run the script manually but can’t talk to my raspi. When I set the USB microphone as card 0 I can’t hear anything and get an error because no audio devices can be found to output to but it recognizes my speech input.

      The software I’m using is hardly configurable. It is pyvona as a text to speech tool in a .py script and the MagicMirror module for voicecontrol using snowboy hotword detection: https://forum.magicmirror.builders/topic/425/voicecontrol-module

      Does anyone know a way of combing the 2 audio cards into one that has input and output respectively or has an idea how to configure either python to output to card 1 or the snowboy module on the MagicMirror to use card 1 as input?

      I already tried many of the solutions to combine 2 outputs in ALSA but I can’t seem to get it configured properly (I’m also quite new to this and am just throwing some things randomly together expecting other things to work)

      Thanks a lot in advance for any help!

      posted in Troubleshooting
      D
      DevilRev