Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi

Hi everyone. Caught a particularly nasty chest infection and flu on the flight back from Belfast, hence the lack of updates. I’m about 60% at the moment, but wanted to try and keep the bloggage going as best I can!

Robin Newman, who is an expert with Sonic Pi, has created a lovely theremin-like musical instrument using a Raspberry Pi. He has wired up two ultrasonic distance sensors to his Pi using a RasPiO Pro HAT and then created some Python code which reads the sensors and pipes the measurements into Sonic Pi to create sound. He can then vary the sound by holding his hands at different distances from the Pi. You can see it in action below and find out more about the project on Robin’s blog:

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.