Engineering Summer Workshop 2019

Make an On Screen Piano to Play Your Favorite Music


  • Date: 28 June, 2019 (Friday)
  • Time: 2:30 - 5:30pm
  • Venue: Rm 4210 (CS Lab 4)
  • Description:

    In this workshop we use Greenfoot platform to animate a piano. First, the participants use the Greenfoot to construct a piano key in simple Java template. Then all white keys and black keys are in place. The keyboards are used to link with the keys to make sound note. Combining all sound note the participants can play their own music.

Contact Me

Dr. Desmond TSOI
Lecturer, Department of Computer Science and Engineering, School of Engineering, HKUST
Office: Rm 3553
Email: desmond<AT>cse<DOT>ust<DOT>hk

Lecture Notes


Notes for the workshop



Skeleton code for you to kick start. In addition, a number of code segments are given to you to incrementally develop your piano


Useful Resources

List of useful resources for constructing Java programs using Greenfoot