Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    715

    Basic voice control using Google AIY

    Has anyone started work on using Google AIY Voice Kit (voice control as a basic Google Home) to control LMS?

    There is a Raspberry Pi HAT board and supporting software that was given away with the May issue of "The MagPi" magazine.
    One piece of good news is that most of the software does not rely on the Google board being used.
    In theory it can work with any Linux supported Mic and sound output (e.g. local analogue or HDMI).

    The local capabilities do not have the "intelligence" to semantically understand a spoken sentence but it does a good job to Voice-to-text.

    I wrote some code to make it control some Pimoroni lights and can see how it could readily perform tasks like
    select player X
    Pause
    Play
    Play Favorite Y
    Play Artist Z

    I know that there is great work being done by meep on getting things to work with Amazon Echo Alexa and I know from personal experience that this works with an emulated Alexa on RPi. However, it does require a cloud service.
    The potential is there with Google Voice Kit to do it all locally I think (and/or use Google voice service in cloud).

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    715
    I have a very basic version now working.
    I tried using the Python libraries of LMSTools and PyLMS.
    I had problems with both running under Python3 (3.4) that came with the Google AIY kit.
    I managed to make a few hacks to get PyLMS to work (at least enough for me) and hard-coded things like IP address and MAC address of a player... and it works.
    I can play/pause/stop by voice.

    I'll have a go at getting it to recognise players by name and a favourite by number.

    Operation is like this:
    OK Google ..... squeezebox play

  3. #3
    Senior Member
    Join Date
    Feb 2010
    Posts
    317
    Will follow with interest. Sent the echo back as I'm not sold on voice right now but I think home has a lot more potential and use cases for me.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •