Raspberry Pi 

What is a Raspberry Pi???



Here are a couple of screenshots of the RPi Jukebox and Internet Radio.  It uses a Raspberry Pi 3 and the standard 7” touch screen.  The Jukebox program, written in Pygame/Python, is a client overlay for the mpc client and mpd music demon running in background on the RPi.  The current implemention is a 32Gb sd card with almost 5000 tracks


Click for Youtube Demo



 [Click here to jump to more detailed information, source code and downloads]


*       Raspberry Pi 2 or 3

*       7 inch standard RPi Screen

*       5v 2amp power supply

*       32 Gb micro sd card with Raspian Jesse (2017-01-11-raspbian-jessie is the best bet. Earlier “Pixel” versions have issues) Warning: Currently Raspian Stretch (2017-09-07-raspbian-stretch.img) does not function properly so this limits 3B+ use. Use Jesse on  2 or 3B.

*       Optional cover (or make your own)

So why a device that plays MP3 music files and Internet Radio when computers or tablets can do this with Apps and Music Players?  Well, here are some reasons:

●  To get instant access to your MP3 music collection by genre or multiple genres, by artist or randomly. ie the music of your life close at hand.

  To have a device permanently connected to an amplifier that does what you want without setup, or fiddling with computer programs and controls. (ie to make it an appliance controllable by touch)

●  To have something portable and self-contained  (I have a battery version of this made up as a portable with amp for use around my pool)

 The device giives instant access to play music by artist (album), genre (or combination of genres) or randomly without building playlists.   A CD player (which this has replaced) – even the multi-hundred cd type are cumbersome, not portable and, with their collections, take a lot of space, are not controllable in any but a sequential manner, and do not provide for genre or random.

players – devices or computer programs – do not readily play a desired selection of music without setting up playlists which take considerable time and effort, and each is a one-time effort.

project described here is programmed in Python/Pygame.  The 3 screens-captures above give an example view of 3 screens that are used for mp3s and internet radio completely controlled by screen touch.

Here is more detail on Jukebox control:

●  Turning it ON  it starts up at a random artist and just play through the tracks in sequence without intervention (different every start)

●  Selecting one or more Genres of music will have the  music list scanned and tracks of the Genre(s) selected and played randomly

●  Selecting an Artist and play through their songs

●  Able to move Forward and Backward in the complete list of Artists and play sequentially

●  Able to easily navigate all the lists completely by touch

  Able to switch to an Internet Radio, and be able to select stations much like the old car radio buttons. 

●  Able to change the stations list through a simple editing of a small file

So that is the Jukebox project.  The following pages give an index to the elements of the project including source code, and an overview/instruction document. 

Besides being a project with an excellent outcome, it is a great introduction to the use of Pygame as a user interface for your Python programs on the Raspberry Pi, and to see how to use the touch sensitivity of the 7-inch standard screen in an application.



                                                                      web page hit counters codes Free
Measure Website Visitors