The Python Spirit Behind LED Glasses (LED 眼鏡背後的蟒蛇魂)


In 2017, the music band "21 Band" got some fascinating LED glasses that look very good on stage. Besides the built-in pattern from the glasses, we also hacked into them and made some changes. The glasses are connected to a computer, and so is the keyboard. A program is written to detect different notes or chords, and triggers different LED patterns. In this talk we will share how it is achieved, the problem that we encountered, improvements that we made, and talk about some future works.

2017 年,21 樂團因緣際會獲得了舞台效果十足的 LED 眼鏡。除了 LED 眼鏡內建的 pattern 之外,我們更改裝了部分的程式,讓眼鏡可以和鍵盤手的鍵盤串接,透過一個偵測程式來啟動、結束不同的 pattern。本演講將和各位分享這是如何達成的,我們碰到的問題、隔年的改善,以及未來的展望。


In the lightning talk "Python and Live Music Performance" in PyCon APAC 2014, a new idea came up hoping that it could be used on live band performance. The band that the author was in experimented it for the first time that year, using the prototype demonstrated in the talk. In 2017, some fancy LED glasses showed up. Modifications were made to the glasses and they were integrated to the system from 2014. It had became a signature to the band and a routine to the shows they had in 2017 and 2018. This talk will share how it's done in a very limited of time, the difficulties encountered afterwards, and possible improvements. 2014 年在 PyCon APAC 的閃電秀分享了「Python and Live Music Performance」,當時提出了一個嶄新的想法希望可以運用在樂團的表演上;講者的樂團在當年就使用了當時 demo 的 prototype 進行了第一次的試驗。2017 年獲得了一個舞台效果十足的 LED 眼鏡,在很緊急的情況,想到塵封已久的程式碼,將它跟 LED 眼鏡整合,成為了樂團在 17 與 18 年表演的必備效果。我們將在這場演講分享我們如何承接了之前的成果,並在極限的情況之下達成任務,後來碰到怎樣的難題以及我們如何改善。 Related Links 相關連結 * [PyCon APAC 2014 Lightning talk: Python and Live Music Performance]( * [腦抽筋 - 21 樂團 ("Brain Cramped" by 21 Band)](



Chiung-ting Chen

Python 愛好者,平常多使用 Django 或 Tornado 開發各式各樣專案