Are you bored of typing Graphics Programs in C++? Here is something for your acoustic senses! This code will transform your ordinary keyboard into a Digital Piano!
// DIGITAL PIANO
// Created by Karthik Sampath on 3/3/2010.
// Copyright 2010, Karthik. All rights reserved.
// The copyright to the computer program(s) herein
// is the property of Karthik Sampath ,India. The
// program(s) may be used and/or copied only with the
// written permission of Karthik Sampath or in accordance
// with the terms and conditions stipulated in the
// agreement/contract under which the program(s) have
// been supplied. This copyright notice must not be
// Published in www.geekyard.com
Feel free to experiment with your own Reference Frequencies.
P.S: Avoid running this code at work 😉