Pin - is a variable/constant which specifies the i/o pin to use.
Note(s) - are variables/constants (0-255) which specify type and frequency. Note 0 is silent for the duration. Notes 1-127 are ascending tones. Notes 128-255 are ascending white noises.
Duration(s) - are variables/constants (0-255) which specify duration (multiples of approx 10ms).
Play sound 'beep' noises. This command is designed to make audible 'beeps' for games and keypads etc. To play music use the play or tune command instead.
Note and duration must be used in 'pairs' within the command.
Effect of Increased Clock Speed:
The length of the note is halved at 8MHz and quartered at 16MHz.