Your Raspberry Pi makes an excellent media center. He can go into orbit. You may even have used it to develop some music projects. musical projects in the past. After all, it’s the perfect size and the perfect connection for music streaming and speaker output.
But have you thought about using it to create new music?
After all, the device is a computer. It has GPIO and USB for adding original and custom hardware. Using Python (or another language) you can deal with audio output. Why don’t you try making music with your Raspberry Pi?
This credit card-sized computer never ceases to amaze us. Here are five musical instruments you can create using your Raspberry Pi.
1. Sonic Pi
No list of Raspberry Pi music projects would be complete without mentioning the Sonic Pi. It now comes with Raspbian Stretch, but you can easily install it on your Pi with:
sudo dpkg -i sonic-pi_1_3.0.1-armhf.deb sudo apt-get install -f
The Sonic Pi has been so successful that it is also available for computers running Windows, macOS, and x86/x64 Linux.
There are several reasons for you to use Sonic Pi. Live coding is probably the most widely known application for allowing you to use Python to modify music while it is playing. This is a completely new phase for synthesized music that many people are accepting.

Is it Sonic Pi? Don’t worry: the device has a great beginner’s guide published by MagPi, which you can download from their website for free! Sonic Pi is the easiest way to turn your Raspberry Pi into a musical instrument: try it today! Check out Sonic-Pi.net for more information.
2. Theremin
Invented in 1920 by Russian scientist Lev Theremin, the Theremin is an amazing instrument. You may know its sound from various classic sci-fi movies, the Beach Boys’ Good Vibrations, or from the long-running series » Midsomer Murders» .
What is most remarkable about the Theremin electronic magic is that it is played without any physical contact. Here it is in action:

Several Theremin projects have been developed for the Raspberry Pi. Most notable is the ultrasonic term, which requires the Sonic Pi software (included with Raspbian Stretch, the latest official Raspberry Pi operating system) and python-osc. This Open Sound Controller protocol library allows computers, synthesizers, and other multimedia audio devices to communicate. As such, this is very important!
Meanwhile, this alternative Pi ingeniously uses a camera rather than an ultrasonic distance sensor for motion detection. It’s also a more ambitious synth:
