Neural Network RaspberryPi Music box

Aleksey Tikhonov
Nov 12, 2018 · 1 min read

After making the Pianola network project, I came to the idea of the RaspberryPi music box for the infinite neural network music generation.

Basically, I used the same VAE-like neural network approach as in our Neyro-Skryabin performance, but I had to squeeze it into a raspPi3 box and tune the model to make the near real-time NN-generation of an endless stream of midi music.

As a hardware, I took a RaspberryPi 3 Starter Kit and some Leadsound’s speaker like this. As a software, I had to setup Tensorflow for ARMv7l and used mido+pygame to play the music aloud.

Here it is in action:

If you are interested in some details on this project, you could check the following links or contact me:

Altsoph’s blog

Random notes on people and machines

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store