Neural Network RaspberryPi Music box

Aleksey Tikhonov
Nov 12, 2018 · 1 min read
Image for post
Image for post

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

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

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