SlideShare a Scribd company logo
www.convergencejukebox.com
www.convergencejukebox.com
wallbox jukebox
arcade 8 jukebox - (macromedia movie!!!)
http://www.arcadejukebox.net
www.convergencejukebox.com
written in python 2.7
(cross platform) and
licensed with a GNU
V3 General Public
License
www.convergencejukebox.com
original usb keypads used in windows
version (with auto hotkey)
X-keys® XK-24 programmable keypad
http://xkeys.com
www.convergencejukebox.com
original installation 2013
weavefuture coin acceptor ak5
with usb jukebox interface board
http://www.weavefuture.com
christmas 2015
www.convergencejukebox.com
python code runs on windows and raspian wheezy
www.convergencejukebox.com
“just works” raspian image available for download
www.convergencejukebox.com
● three python programs.
○ convergencejukebox.py
■ ensures hardware is compatible.
■ initializes resolution, required folders, music and datafiles.
○ convergenceplayer.py
■ creates database of mp3 music.
■ plays music in endless loop.
○ convergencegui.py
■ graphical interface (TkInter).
■ user interface.
○ gui and player communicate by generating and reading data files.
how convergence jukebox works
www.convergencejukebox.com
● creates python list (array) of mp3’s.
○ each mp3 is assigned a number
○ most software manipulation involves mp3 number only.
how convergence jukebox works
www.convergencejukebox.com
● multiple display resolutions and skins.
● jukebox name or service at top of arch can be customized.
features
www.convergencejukebox.com
● unlimited mp3 library size.
● field version running over 10,000 mp3 files.
○ HP MINI 210 PC that contains an atom N450 processor, 1024
MB of memory and a 160.0 GB hard drive.
● raspberry pi versions running 9400 mp3 files
○ tested on raspberry pi 1 model B revision 2 with 512 MB ram, a
raspberry pi 2 and raspberry pi zero.
○ 64.0 GB SD card to hold music.
features
www.convergencejukebox.com
● automatic song detection.
○ MP3 library database is built automatically when additional
properly formed ID3 tagged files are added to the music folder
and the program is restarted.
○ see “building an mp3 library” on website
■ rejects mp3 if unicode in ID3 tag
■ eg. Motley Crue vs Mötley Crüe
■ ö - 19th letter of the Turkish alphabet
■ not ascii
features
www.convergencejukebox.com
features - ID3 tags (metadata engine)
www.convergencejukebox.com
features - ID3 tags (metadata engine)
● does not make use of genre tag to identify genre
o could not find standard to genre naming
o genre tag only allows for one genre
● Convergence Jukebox makes use of the Comments tag for Genre.
www.convergencejukebox.com
● background music system.
○ plays library loaded in jukebox in a continuous manner randomly.
● different styles of music.
○ mp3’s can be tagged with genres.
○ random play can be set to play specific genres by altering a simple text
file. (genre_flags.txt)
features
www.convergencejukebox.com
features
plays mp3’s tagged with classicrock, newwave, newcountry, modernrock and modernpop randomly first.
plays mp3’s by Frank Sinatra, Dean Martin, Sammy Davis, Paul Anka, Nancy Sinatra between the years of
1960 to 1969 randomly first.
www.convergencejukebox.com
● songs can be skipped.
○ "norandom" tags mean mp3 will never play randomly.
● avoids repeating the same songs continuously.
○ mp3’s on the random list are only played once during a random play
cycle.
● automatic resetting of random list.
○ random list is reset when the software is rebooted or all songs have been
played once randomly.
features
www.convergencejukebox.com
● clearly identified songs.
○ while song is playing, song title and artist are
displayed prominently under the jukebox
arch.
○ detailed song information is shown in the
green display
○ includes
■ year released
■ song length
■ album name
○ pulled from the ID3 tags.
features
www.convergencejukebox.com
● convergence jukebox plays paid songs as a
priority.
○ paid songs are listed as upcoming selections.
● users cannot select song if it’s on the upcoming
selections list.
● songs played via selection are removed from the
random playlist
● random play resumes once user selected songs
have completed playing.
● number of credits, cost per credit and the number
of songs available in the library are displayed.
features
www.convergencejukebox.com
● users navigate through music using
up/down/left/right keys.
● users can select navigation by either title or
artist.
● users can navigate to the alphabetical start of
either artist or title using letter keys that
employ multiple keypresses.
features
www.convergencejukebox.com
● log generation.
○ songs played randomly.
○ paid songs.
○ time jukebox is rebooted
○ when songs are added
○ when a new random list is generated.
● undocumented code
○ using dropbox folder to providing rss
feeds for digital signage systems.
○ to tweet to twitter accounts making the
jukebox useful as a global barker system.
features
www.convergencejukebox.com
● Hsaudiotag – reads mp3 ID3 tags.
● ctypes – used in Windows version to play mp3
files through Windows Media Control
Interface. (Thanks Jim Lawless)
● mpg321 – used to play mp3 in Raspberry Pi
(Wheezy) version.
● PyRSS2Gen – used to generate RSS feeds.
beyond the python standard library
github.com/bradfortner/convergence_jukebox
www.convergencejukebox.com
https://ca.linkedin.com/in/bfortner
www.bradfortner.com

More Related Content

More from Brad Fortner

Pi Is For Python
Pi Is For PythonPi Is For Python
Pi Is For Python
Brad Fortner
 
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
Brad Fortner
 
SMPTE Education Update: Education – Key To Member Value
 SMPTE Education Update: Education – Key To Member Value SMPTE Education Update: Education – Key To Member Value
SMPTE Education Update: Education – Key To Member Value
Brad Fortner
 
SMPTE Toronto Presentation - IPTV and Social Media On The TV Industry
SMPTE Toronto Presentation - IPTV and Social Media On The TV IndustrySMPTE Toronto Presentation - IPTV and Social Media On The TV Industry
SMPTE Toronto Presentation - IPTV and Social Media On The TV Industry
Brad Fortner
 
Interactive Content Authoring for A153 ATSC Mobile Digital Television Employi...
Interactive Content Authoring for A153 ATSC Mobile Digital Television Employi...Interactive Content Authoring for A153 ATSC Mobile Digital Television Employi...
Interactive Content Authoring for A153 ATSC Mobile Digital Television Employi...
Brad Fortner
 
SMPTE Toronto Presentation - Open-Source Software In Broadcasting: The Power ...
SMPTE Toronto Presentation - Open-Source Software In Broadcasting: The Power ...SMPTE Toronto Presentation - Open-Source Software In Broadcasting: The Power ...
SMPTE Toronto Presentation - Open-Source Software In Broadcasting: The Power ...
Brad Fortner
 

More from Brad Fortner (6)

Pi Is For Python
Pi Is For PythonPi Is For Python
Pi Is For Python
 
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
 
SMPTE Education Update: Education – Key To Member Value
 SMPTE Education Update: Education – Key To Member Value SMPTE Education Update: Education – Key To Member Value
SMPTE Education Update: Education – Key To Member Value
 
SMPTE Toronto Presentation - IPTV and Social Media On The TV Industry
SMPTE Toronto Presentation - IPTV and Social Media On The TV IndustrySMPTE Toronto Presentation - IPTV and Social Media On The TV Industry
SMPTE Toronto Presentation - IPTV and Social Media On The TV Industry
 
Interactive Content Authoring for A153 ATSC Mobile Digital Television Employi...
Interactive Content Authoring for A153 ATSC Mobile Digital Television Employi...Interactive Content Authoring for A153 ATSC Mobile Digital Television Employi...
Interactive Content Authoring for A153 ATSC Mobile Digital Television Employi...
 
SMPTE Toronto Presentation - Open-Source Software In Broadcasting: The Power ...
SMPTE Toronto Presentation - Open-Source Software In Broadcasting: The Power ...SMPTE Toronto Presentation - Open-Source Software In Broadcasting: The Power ...
SMPTE Toronto Presentation - Open-Source Software In Broadcasting: The Power ...
 

Recently uploaded

Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
Roger Rozario
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

Transformers design and coooling methods
Transformers design and coooling methodsTransformers design and coooling methods
Transformers design and coooling methods
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 

Convergence Jukebox Overview Python Toronto Meetup May 2016