musicbutlerNote: This is alpha code with no GUI. This is not for the faint of heart :)
musicbutler is a Python module containing a robot who listens for voice commands and speaks back to you. You tell him your music collection, and then he can play whatever you ask for.
Example conversation:This is all spoken using voice recognition and speech synthesis.
"Afred, what albums do I have?"
"Here are 3 out of your 58 albums: In Rainbows by Radiohead, Deja Vu by Crosby Stills Nash and Young, and Atlanta by Alison Krauss."
"Afred, what Radiohead albums do I have?"
"You have 2 albums by Radiohead: In Rainbows, and OK Computer."
"Afred, play me some Alison Krauss, any album."
"Playing New Favorite by Alison Krauss."To see a full list of what sentences musicbutler expects, it's easiest to just peek at the _rebuild_commands function.
Usage:See example.py in the source code. If you save example.py locally, you can edit it to specify the location of your files, and then just run python.exe example.py. The butler's name is "Einstein" and, once he says "Your selection?", you can issue voice commands.
Installation (Windows Python2.5 only):Type easy_install musicbutler at the Windows command prompt. (If that doesn't work, download and run this Python script to install easy_install, then try again.)
If you don't already have it, you'll also need pywin32 (installer here) and the Microsoft Speech kit (installer here).
Please let me know if you like or use this module - it would make my day!
Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.