SlideShare uma empresa Scribd logo
1 de 23
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

Mais conteúdo relacionado

Mais de 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 ValueBrad 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 IndustryBrad 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
 

Mais de 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 ...
 

Último

Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringJuanCarlosMorales19600
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - GuideGOPINATHS437943
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 

Último (20)

Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineering
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Transport layer issues and challenges - Guide
Transport layer issues and challenges - GuideTransport layer issues and challenges - Guide
Transport layer issues and challenges - Guide
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 

Convergence Jukebox Overview Python Toronto Meetup May 2016