This repo contains melodies, written in C++, to be played using Raspberry Pi and floppy disk drive. This was made using XtraPerianer's guide. I also edited that instruction and added it to repository here
- Raspberry Pi
- floppy disk drive
- power source; it's perfect if you have one from an old PC, it should be 5V
- wires to connect everything, e.g. the power source and the battery
- jumper wires or jumpers
Also you need to install wiringPi lib in order to run the code.
First check if you have c++ compiler on you Raspberry, and install it if you don't:
sudo apt-get install g++
Then go to directory with your code (You can get an example here):
g++ music.cpp -o music -lwiringPi
You should now be able to run the Programm by simply typing:
./music
- http://projects-raspberry.com/floppy-drive-music-w-raspberry-pi/
- https://xtraperianer.wordpress.com/2014/08/06/making-floppy-music-with-a-raspberry-pi/?lang=en
- https://pitopies.wordpress.com/2015/02/09/floppy-music-step-by-step/
And original code source: