Ok for the first example, I did that by myself but don't know why it wasn't running but that is what I did, maybe I've just forgotten some ";"  or whatelse!
Thank you!
I don't understand the second one with FOR, what is i++? How would you say that line command? For i starting from 0 then make the sound till i is equal to 10 then stop?