parameter validation in tone/play-note fix for bbc/microbit-extras#2218
parameter validation in tone/play-note fix for bbc/microbit-extras#2218

jle33/TouchDevelop,jle33/TouchDevelop,jle33/TouchDevelop,jle33/TouchDevelop,jle33/TouchDevelop