Your submission was sent successfully! 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


Canonical
13 October 2023

Canonical, 우분투 23.10 맨틱 미노타우르스 출시

Canonical announcements Canonical News

강화된 보안, 향상된 데스크톱 앱 검색 및 새로운 하드웨어 지원이 최신 우분투 출시를 주도합니다. 2023년 10월 12일: 오늘 Canonical은 코드명 “맨틱 미노타우르스”인 우분투 23.10의 출시를 발표하였으며, https://ubuntu.com/download에서 다운로드하여 설치할 수 있습니다. Canonical의 우분투 수석 제품 관리자인 올리버 스미스(Oliver Smith)는 “이번 출시에서는 기본적으로 우분투의 보안의 의미에 대한 기준을 높이고 다음 장기 지원 출시를 위한 발판을 마련했습니다. ...


Canonical
12 October 2023

Canonical releases Ubuntu 23.10 Mantic Minotaur

Canonical announcements Article

Fortified security, enhanced desktop app discovery and new hardware support lead the latest release of Ubuntu 23.10 Mantic Minotaur. ...


Canonical
6 July 2023

불변의 리눅스 데스크톱 기반으로서의 우분투 코어(Ubuntu Core)

Desktop Article

캐노니컬(Canonical)은 IoT를 위한 완전한 컨테이너 플랫폼을 만들기 위해 2014년에 우분투 코어 개발을 시작했습니다. 우분투 코어에서는 도커(Docker) 및 LXC가 구축된 것과 동일한 커널 컨테이너 기술을 사용하여 잘 정의된 업그레이드 및 롤백을 통해 시스템의 모든 구성 요소를 안전한 샌드박스에 넣습니다. 저희는 자율적으로 연결된 사물 인터넷 장치가 사람의 개입 없이 적용할 수 있는 업데이트를 수신하여 에지에서 보안 및 ...