Virtual Piano

Published on . Written by

Virtual Piano
Pianos are large instruments that cannot be carried everywhere. Even electric pianos need to be carried in a large bag and are prone to damage in traveling. So here we propose a portable virtual piano that just uses a semi-transparent plastic sheet that can be carried and does not have any electronic components in it.

Read more..
We use a raspberry pi attached to a camera along with the plastic sheet to make a virtual piano. We use image processing to divide the plastic sheet into sections and assign particular tones to it. The detection of human fingers is through the plastic sheet and it simulates the respective piano tone for each section using a speaker. Thus we provide a virtual piano which is actually a transparent lightweight plastic board that can be carried around roughly.

Project Description:

  1. Raspberry Pi 3 B: Raspberry Pi is a Microprocessor which has 40 pins with 27 GPIO pins, it has a 1 Giga Bytes of RAM and a SD card slot for the storage or the ROM,it can be used as a mini computer for low computing operations, it has a dual band LAN, faster Ethernet, Bluetooth, it also has USB and HDMI ports for connecting devices. This device can be used as a server which we are doing in this project.
  2. Micro SD card: You will need a minimum of 8 gigabytes SD card for this project, this SD card is used as the ROM of the raspberry pi. Use 32 Gigabyte or 64 Gigabytes of
  3. Display: You can use any kind of display for the project, like monitors, TV or any size display that fits your requirement to configure the Pi.
  4. Power Supply: Raspberry Pi needs a power supply of 5V and 2A Micro USB type.
  5. Mouse and keyboard: You will need this to control, monitor, and to configure the Pi.
  6. Keypad Module: Keypad module is used to enter the security code to open the gate or the door, it is basically a number pad which takes the security code as the input.
  7. Pi Camera: Use the Pi camera to capture still images, live streaming and for video recording.

Project Implementation:

  1. Install the Raspbian OS into the SD card, and boot the Raspberry Pi.
  2. Download and install the Putty software, this software helps us to access the camera remotely through SSH(Secure Shell Protocol).
  3. Connect the Raspberry Pi to a Wi-Fi network and check for the IP address of the Pi.
  4. Connect the Pi camera and enable the camera option in the settings.
  5. Download the Motion software for the Pi camera and run it in the daemon mode.
  6. Write a shell script to execute the commands in the terminal for surveillance, still image capturing live streaming and recording when there is motion.
  7. The Raspberry Pi's network port has to be forwarded in order to view the live streaming from any other device which is not connected to the same Wi-Fi network.

Skyfi Labs Projects
Project Brief:The Raspberry Pi when configured and all the required software has been installed then the Pi is ready to be used for surveillance then write a shell script to execute all the terminal commands one by one in order to capture a still image, or for live streaming or for motion capture. After finishing all the configure steps the surveillance system is ready to be installed in your home, or office, or any place where you want to monitor.

Software requirements:

  1. Raspbian OS(Debian Linux): Raspbian operating systems are based on Linux, Raspberry pi are also compatible with Windows and IOS but prefer any Linux based OS
  2. Putty: Putty is free and open source terminal emulator, serial console and network file transfer application.
  3. Motion software: Motion software is a software specifically built for Raspberry Pi camera, this software is used to capture images or record video when there is a motion detected.

Programing Language:

    Linux (terminal commands)

Kit required to develop Virtual Piano:
Technologies you will learn by working on Virtual Piano:


Any Questions?


Subscribe for more project ideas