Read the statement by Michael Teeuw here.
Hello-Lucy
-
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
-
@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.
-
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
-
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.
-
@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):
- USB Mic from Wii (Logitech)
- USB Mic from Playstation 2 (orignal Singstar with that USB adapter inbetween)
- 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=1Play:
omxplayer -p -o hdmi /home/pi/Desktop/test_wii_mic.wavNo. 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
-
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. :-)
-
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.
-
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. :-)
-
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 -
Clip on -
-
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.
-
Damn I need this aswell
guess I will keep it in english because I am probably to lazy to train snowboy again for German :) -
Thanks, I did get confused for a second by thinking Omnidirectional was similar to far field, so will continue my search for one that will be far field - of sorts… although I feel those will cost a bit more? But, 50 inches (Max) does seem pretty damn good, as I was more concerned that I would need to be about 12 - 20 inches max, with slight raised voice, as a lot of these type are used within that distance, so they are not really catering for distance, and for the likes of MM and Lucy, needs to be a bit farther eh?
Thanks anyway for that info, as it has gave me a great head start on what to filter my search by.
-
I was looking for a good microphone and, after seeing this comparison: https://medium.com/snips-ai/benchmarking-microphone-arrays-respeaker-conexant-microsemi-acuedge-matrix-creator-minidsp-950de8876fda
I decided to buy 2 PS3 eye. 4 microphone array system.
I manage MagicMirror perfectly from 100 inch. Very interesting price 6 $ each. And the webcam 120 fps! -
@pepebc said in Hello-Lucy:
I was looking for a good microphone and, after seeing this comparison: https://medium.com/snips-ai/benchmarking-microphone-arrays-respeaker-conexant-microsemi-acuedge-matrix-creator-minidsp-950de8876fd
I decided to buy 2 PS3 eye. 4 microphone array system.
I manage MagicMirror perfectly from 100 inch. Very interesting price 6 $ each. And the webcam 120 fps!The more mics the better the accuracy …but be careful if you have lots of noise around this … Not a big deal I mean once in a while my Alexa even goes off while I’m watching TV LOL
-
That link is no good. Is the PS3 eye USB?
-
yes the ps3 eye is connected via USB
-
@maxbachmann said in Hello-Lucy:
yes the ps3 eye is connected via USB
Then for me it’s a question of response time. Personally, I prefer the response to command to be as fast as possible. USB comes in 2nd place for that.
And the webcam 120 fps!
On a Pi?
-
I remember a few posts from a while back of folks using this PS3 Eye and seem to recall mixed reviews… Problems with getting the Mic set up as there was a flaff with ALSA and PulseAudio… The latter being what the Eye seemed to like best, albeit with some flaffing about setting it up. Which I think coincides with @Mykle1 findings about the USB Mic on the Pi.
The Eye also works on a PC, but you need to source out the drivers for it, and from the brief, few reviews I have read from PC users using the Eye, for PC uses, seem good, and one Amazon reviewer even states that he used the Mic from 3M and was heard very clearly…
https://www.amazon.co.uk/Sony-PlayStation-Eye-Camera-EyeCreate/dp/B000W3YQ1Y
but, using it for MM on a PC, to use Lucy, may still require some tweeking somewhere?
Sure it ticks all the boxes for the things we do on MM, and being small is a big bonus, as who wants a Dalek type microphone spoiling the aesthetics of the MM?
But, it is a bit pricey to buy just for Lucy, and for it not to work through MM… either through the PI usb ( as Mykle1 has already pointed out ) although @pepebc states it works perfectly? - or - On a PC, using MM… also what @Mykle1 pointed out that did not work through USB… and, would it work if used with a USB to 3,5 adapter/crossover/splitter?
Which does open up a pandora’s box of questions regarding USB microphones… Do they work great on MM for just recording voice ect, and only ever hit a problem when using with Alexa / Lucy type modules? Or is it just the make/brand/spec of Microphones? or even just how the ALSA and PulseAudio work, and we need to simply go through trial and error?
tbh… my head hurts trying to work out the why’s and wherefores regarding why, in this senario, a USB mic is crap … when the simplest, working solution is to use a 3.5 Mic ( or USB to 3.5)… but, is the common denominator here, the Pi/Linux, or MM? seeing as @Mykle1 found the usb problem on a PC too, using Linux/MM? ---- Mykle1, can I ask if you tried the usb MIC on your PC for normal PC stuff, and found the same problem?
https://me.m01.eu/blog/2014/07/an-asoundrc-alsa-config-for-the-ps3-eye/
https://renatocunha.com/blog/2012/04/playstation-eye-audio-linux/
(Now, If there was a way of getting the Amazon Dot/Ech to IFTTT the commands over to the MM / Lucy… . ;-p )
-
@Damian
Use PS3 eye without any problem, in a mini PC, clean and clear sound.
I use it now with MM (snowboy) and Kalliope independently. It is conectdo by USB and the response is immediate. In Pi I have not tried it yet, it will be next week. And the fundamental reason, apart from the quality of micro and camera, were those € 6 ($ 7.3) that cost me.
I had a mic connected by 3.5 but it produced a horrible noise. As I did not want to spend a lot of money, and with 2 PS3 eye I could also do 3D stereo camera tests.
I just wanted to contribute my experience. Everyone decides the best -
@pepebc
Thanks, So you are working it on a PC? Are you using Lucy with it?Is your one the old Flat lens or newer curved lens?
Did you find the PC drivers easily, and if so, from where? and which OS are you using with it - 7, 8, 10 ?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login