Terrapin Resources

The On-Screen Piano

This program creates a piano on screen that you can play with your mouse. There are several procedures. Some of them do the drawing, while others detect the click of a mouse and compute the key which the mouse is over.

The end the program, click the Stop sign.


Procedure PIANO
Description Creates a clickable on-screen piano
Level Intermediate
Tags Music, Instruments, Play, Turtle, Drawing, Mouse