[Click here to jump to more detailed information,
source code and downloads]
WHAT DO YOU NEED?
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)
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.
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
● 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.
● MP3 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.
● The 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
one or more Genres of music will have the music list scanned and tracks of the
Genre(s) selected and played randomly
an Artist and play through their songs
to move Forward and Backward in the complete list of Artists and
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.
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
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.
DETAILS AND DOWNLOADS
Measure Website Visitors