O'Reilly logo

Building a Virtual Assistant for Raspberry Pi: The practical guide for constructing a voice-controlled virtual assistant by Tanay Pant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Tanay Pant 2016

Tanay Pant, Building a Virtual Assistant for Raspberry Pi, 10.1007/978-1-4842-2167-9_5

5. Developing a Music Player for Melissa

Tanay Pant

(1)Ghaziabad, Uttar Pradesh, India

This chapter covers the details of building a music player for Melissa that lets you select all the MP3 files in a given directory and play them using a command-line music utility. Melissa will be able to play music randomly as well as play a specific music file from a list of files when asked.

To build this functionality for Melissa, you must first select command-line players for OS X and Linux so that after appropriate handling by the logic engine, it can pass the name of a song or a list of songs to the music player via the os.system() function. Let’s discuss ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required