Musical Floppy (Moppy) Drive Control Software

As I was researching the Musical Floppy Project, I noticed the control software was quite complicated to setup. It required installation of NetBeans IDE on your computer, which some people wouldn’t want to do. Also, you’d have to run the control software from within NetBeans and not as a portable Java JAR application. I did some tinkering with the program and was able to integrate all required Java libraries into the application itself. Feel free to grab a copy of the pre-compiled application and/or source code.


MoppyDesk Musical Floppy Control Software

MoppyDesk Project Files (.ZIP)

Arduino MIDI Player

Ever wanted to make your Arduino play music? This project will show you how to do just that. Let’s get right to it…

What do you need?

  • Windows Computer
  • Arduino Integrated Development Environment
  • Arduino UNO Microcontroller
  • Speaker
  • THESE project files


Import Playtune Arudino Library

We’ll need to import an Arduino library that can interpret our MIDI file.

  1. Extract the project files



2. Open the Arduino IDE



3. Click Sketch > Include Library > Add .ZIP Library

Untitled drawing

4. Select the file from the selection dialog


Convert the MIDI file

  1. Move your MIDI file to the project folder or use the one provided.

2. Open a Windows Command Prompt and navigate to the project directory.

3. Execute the following command (be sure to omit the extension .mid from the input fileanme)

miditones -t3 <MIDI Filename without extension HERE>


Back to the IDE

  1. Open a new sketch in the Arduino IDE



2. Paste the code from song.c file into the new sketch and save it.

3. Replace the C source comment:

// Paste code _HERE_ from converted MIDI file

with the code from the converted midi file

4. Connect your Arduino, upload the sketch, and disconnect it from your computer.


Connect the connections


Connect pins 10, 11, and 12 into the positive wire of the speaker, and ground into the negative wire of the speaker. Once connected properly, connect power to your Arduino and you should hear music.