to make a higher pitch i changed the toneVal from 2000 to 4000 in it made it a higher pitch which in all reality it makes it more annoying and to make a deeper pitch i did 500 and it made the tone really deep.
The way i changed how fast it went is by changing the delay from where it was to like 15 and it made the tone longer before it restarted over again. and then up above is the code that i used to make a siren on it. and that is all i got folks if you cant see it at video https://drive.google.com/a/slsharks.net/file/d/0B6Ep8JcC1gm_WG85aTJWZThDTzQ/view?usp=sharing_eid
The way i changed how fast it went is by changing the delay from where it was to like 15 and it made the tone longer before it restarted over again. and then up above is the code that i used to make a siren on it. and that is all i got folks if you cant see it at video https://drive.google.com/a/slsharks.net/file/d/0B6Ep8JcC1gm_WG85aTJWZThDTzQ/view?usp=sharing_eid