Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

  1. Blog
  2. Article

Didier Roche
on 8 December 2016


Ding ding ding! It’s Christmas time, and as part of the festive competition we’re hosting that asks you to build a seasonal snap on your RaspberryPi…we couldn’t help but try out another example of our own.

Didier from the dev team has created a Christmas music carousel snap! The snap allows you to play a Christmas music carousel from a selection of pre-selected music or selecting your own midi music! They will play in random orders and loop through them!

On an Ubuntu 16.04 desktop, you can install this as a snap:

snap install christmas-music-carousel --beta --devmode

Then, run it with:

sudo christmas-music-carousel

and let the music play! Note that you can specify here a list of your favorite midi musics.

Here is a short video of the snap in action:

But that’s not it! The really cool part is if you bring a Raspberry PiGlow to the table, connected on the same network than your laptop.

The LED will light up in sync with the music carousel played on your laptop, without any configuration, no cable between the laptop (playing music) and the Raspberry Pi (lighting up the LEDs) *Christmas magic* we said!

Here is a video of this in action:

To get that working, on your Raspberry PiGlow with Ubuntu Core installed on it with a PiGlow. Install the grpc-piglow snap on it:

snap install grpc-piglow --beta --devmode

Then, run the Christmas music carousel binary on your laptop just as before. Note that you can use –brightness to adjust remotely the brightness of the LEDs.

Happy Christmas, and feel free to use this as an inspiration to submit your Christmas snaps to our snap competition with great prizes!

Technical info and source code on GitHub for Christmas music carousel and on gRPC PiGlow project.

Related posts


Edoardo Barbieri
29 October 2024

Meet Canonical at SPS 2024

Ubuntu Article

SPS (Smart Production Solutions) 2024 is almost here! With over 1,200 national and international exhibitors, SPS is the main gathering of industrial manufacturing to experience the latest trends and developments in the automation industry first-hand. Join Canonical, the company behind Ubuntu, at SPS 2024 to discuss open source innovation ...


Lech Sandecki
23 October 2024

6 facts for CentOS users who are holding on

Cloud and server Article

Considering migrating to Ubuntu from other Linux platforms, such as CentOS? Find six useful facts to get started! ...


Kris Sharma
17 October 2024

Why is Ubuntu Linux the leading choice to replace CentOS for financial services?

Financial Services Article

Financial services are powered by technology. The customer experience is increasingly driven by data, with tailoring of products and services to reflect individual behaviors and preferences. All of this rests on a foundation of secure, stable technology that can support agility and flexibility to adapt to customer needs, whilst at the sam ...