• 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.

Hello-Lucy

Scheduled Pinned Locked Moved Fun & Games
285 Posts 27 Posters 549.7k Views 27 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.
  • A Offline
    AxLed Module Developer
    last edited by Feb 3, 2018, 11:02 AM

    Hi Miykle1,
    do you know, if i can change the language of MMM-voice with Pocketsphinx / Sphinxbase to german?

    I found a webseite where i can create .dic and .lm files and they work somehow (i also changed the new words in different .js files of folder MMM-voice).

    I am looking forward hearing from you.

    Regards

    AxLED

    M 1 Reply Last reply Feb 3, 2018, 11:33 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @AxLed
      last edited by Feb 3, 2018, 11:33 AM

      @AxLed said in Hello-Lucy:

      do you know, if i can change the language of MMM-voice with Pocketsphinx / Sphinxbase to german?

      Perhaps, but you would have to ask the author of MMM-voice about that.

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • D Offline
        Damian
        last edited by Feb 3, 2018, 5:35 PM

        @Mykle1

        You say that using a usb mic on the pi is not great, because of Latency, how bad is it? Is it such that it would render the user completely disgruntled using it with Lucy?
        And you say using a 3.5 jack microphone is better, albeit on a PC, etc… so I take it that this is really the best all round solution, owing to the limitations of the Pi?

        Thanks

        M 1 Reply Last reply Feb 3, 2018, 8:33 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @Damian
          last edited by Feb 3, 2018, 8:33 PM

          @Damian

          What I do remember about using voice with a usb microphone on the Pi is not the latency. It was more the limitation of voice module only allowing me to do certain things. I wanted to be able to completely control my mirror by voice. It took me a year to self-learn enough about coding to attempt Hello-Lucy.

          I don’t think the latency bothered me on the Pi but it really bothered me as I was developing Hello-Lucy on a Core i7 Quad core with a USB microphone. I couldn’t understand why a 12 year old laptop with an integrated microphone performed better, until I made the realization. A $6, 3.5mm microphone made all the difference in the world. Unfortunately for Pi users. a USB microphone is your only option.

          I feel compelled to say that I love the Pi. It is the reason I’ve become so involved with MM and programming, but I am realistic in my expectations of what it can do.

          Create a working config
          How to add modules

          D 1 Reply Last reply Feb 4, 2018, 11:20 AM Reply Quote 1
          • A Offline
            AxLed Module Developer
            last edited by Feb 4, 2018, 10:21 AM

            @Damian
            I have some (maybe helpful) informations about the use of microphones on RPI.
            I tested this on RPI3.

            I checked the difference beetween the following microphones (i had at home anyway):

            1. USB Mic from Wii (Logitech)
            2. USB Mic from Playstation 2 (orignal Singstar with that USB adapter inbetween)
            3. USB Soundcard (USB-Audio C-Media) with 2x 3.5mm jack for microphone and speaker

            Then i tried recording and playing that record to find out about the quality.
            I used commands like this:
            Record:

            arecord /home/pi/Desktop/test_wii_mic.wav -D sysdefault:CARD=1
            

            Play:

            omxplayer -p -o hdmi /home/pi/Desktop/test_wii_mic.wav
            

            No. 1 and 2 were terrible (it was even for a human hard to understand what words i recorded), No. 3 was very good. So my thought were to use No. 3 for different MMM-voice projects.

            I hope this helps.

            AxLED

            D M 2 Replies Last reply Feb 4, 2018, 11:30 AM Reply Quote 1
            • D Offline
              Damian @Mykle1
              last edited by Feb 4, 2018, 11:20 AM

              Thanks very much @Mykle1. I share your sentiments about the Pi. :-(
              My house mirror is made such that the Pi has to be used. But with a little bit of jiggery-pokery I,m sure I can work on a really long HDMI to a hidden PC, and use a 3.5 Mic ;-)

              I’ve been abroad working for a while and only just catching up on what is new on here… and really loving the idea of your Lucy. This would, for me, be the jewel in the crown :-)

              So heartfelt thanks for your efforts on this, and I shall look forward to using this with utmost pleasure. :-)

              M 1 Reply Last reply Feb 4, 2018, 1:28 PM Reply Quote 0
              • D Offline
                Damian @AxLed
                last edited by Feb 4, 2018, 11:30 AM

                @AxLed

                Thanks… I just may get one of these to at least give it a try… How would you rate the performance of this, to that of using the 3.5 on a pc?

                This would obviously be a much cheaper option, but only if the performance is really great compared to just the usb mic.

                But as @Mykle1 noted, the Lucy graphics works best on a PC, but has given a Pi alternative, so will have a look at the two - on a Pi, and PC, and see which one suits best.

                If the Pi version looks/works in a similar way to the PC version, and your suggested USB mic works great, then this may be the way to go?

                Thanks.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Mykle1 Project Sponsor Module Developer @Damian
                  last edited by Feb 4, 2018, 1:28 PM

                  @Damian

                  Cool. Be sure to keep me posted. I’d also like to see some video of Hello-Lucy working on your setup when the time comes. :-)

                  Create a working config
                  How to add modules

                  D 1 Reply Last reply Feb 9, 2018, 2:30 PM Reply Quote 1
                  • D Offline
                    Damian @Mykle1
                    last edited by Feb 9, 2018, 2:30 PM

                    @Mykle1

                    Can I ask a question or two about the microphone?
                    I’m looking at a couple of small ones, obviously not wanting the long ones that sit on a desktop as I want to be able to at least conceal this out of direct sight as much as possible, without muffling it of course.

                    I had my eye on the “clip on type” because its small and has no long stem like desktop ones have, but here’s the thing - unless a reviewer specifically states distance from mic to mouth, there does not seem to be a way of telling how much a distance range these work at? How close do you really need to be to the MM/Mic in order for voice to be picked up?

                    I have, in the past, used the cheap desktop types, and the user, on average, is about 7 to 12 inches away from it so it picks up a clear voice that can be understood on recording and voip ect… but, is this the same clarity that Lucy needs for her commands?

                    When looking at descriptions of models, there are the Mono and Stereo types… and a whole plethora of other specs that are way over my head, and prices to match :-)

                    I don’t mind paying £8 - £10 for one that will only ever be used when communicating with Lucy, if it will pick up voice from at least 1M, that she will respond to, as I do not want to have to have my face pressed right up close to it before it will hear me, which is not very smart :-(

                    Did you do any digging/research on my points above before you settled for the one you used, or, if it is just a basic desktop one you have, are you happy enough with how far it can pick up commands?

                    Thanks

                    Long stem -

                    https://www.maplin.co.uk/p/wired-pc-microphone-hw70m

                    Side mount -

                    https://www.maplin.co.uk/p/mini-compact-wired-pc-microphone-a84cg

                    Double mic -

                    https://m.ebay.co.uk/itm/Mini-Stereo-Microphone-Mic-Audio-For-Laptop-iPhone-Andriod-Phone-Talk-3-5mm-Ox/282781824166?hash=item41d71c34a6:m:m9w_HHBUEKrgcYWZ7Usn1eA

                    Clip on -

                    https://m.ebay.co.uk/itm/Black-3-5mm-Hands-Free-Clip-on-Mini-Lapel-Microphone-For-Laptop-Computer-PC-UK/253113578448?hash=item3aeebeb3d0:g:7R0AAOSw53NY9sXH

                    M 1 Reply Last reply Feb 10, 2018, 2:08 AM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @Damian
                      last edited by Feb 10, 2018, 2:08 AM

                      @Damian

                      https://www.amazon.com/gp/product/B07673TQCB/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1

                      This is the microphone that I have. I bought it because it was $7.99US at the time and I wanted it only to test my theory about USB latency. It works exceptionally well. I just tested it with Hello-Lucy from a distance of 50 inches. I did have to raise my voice a bit and I did have to repeat myself once or twice. I don’t really expect it work as well as a far field microphone, such as Amazon Echo, but I am satisfied with the results.

                      Create a working config
                      How to add modules

                      D 1 Reply Last reply Feb 10, 2018, 6:45 PM Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 28
                      • 29
                      • 3 / 29
                      3 / 29
                      • First post
                        30/285
                        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