use java library function to turn off a note
Merge branch 'code' of https://github.com/kyzhai/SMURF into code