Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void ievan(){
- BPM=190;
- Q=60000/BPM;
- W=4*Q;
- H=2*Q;
- E=Q/2;
- S=Q/4;
- //1
- tone(11, Gb3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Db3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Gb3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Db3,E);
- delay(E+15);
- tone(11, E3,E);
- delay(E+15);
- //2
- tone(11, Gb3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Db3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Gb3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Db3,E);
- delay(E+15);
- tone(11, E3,E);
- delay(E+15);
- //3
- tone(11, Gb3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Db3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Gb3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Db3,E);
- delay(E+15);
- tone(11, E3,E);
- delay(E+15);
- //4
- tone(11, Gb3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Db3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Gb3,E);
- delay(E+15);
- tone(11, Db5,S);
- delay(E+15);
- tone(11, Db3,E);
- delay(E+15);
- tone(11, E3,E);
- delay(E+15);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement