ATtiny84/85‎ > ‎

Sound

Sad Trombone Jingle
tone(buzzer,117,500);
delay(500);
tone(buzzer,110,500);
delay(500);
tone(buzzer,104,500);
delay(500);
tone(buzzer,98,1000);
delay(1000);

Victory Jingle 1
tone(buzzer,523,250);
delay(250);
tone(buzzer,659,250);
delay(250);
tone(buzzer,784,250);
delay(250);
tone(buzzer,1047,500);
delay(500);
tone(buzzer,784,250);
delay(250);
tone(buzzer,1047,500);
delay(500);

Victory Jingle 2
tone(buzzer,784,500);
delay(500);
tone(buzzer,659,500);
delay(500);
tone(buzzer,1047,1000);
delay(1000);

To quickly make some jingles of your own, go to https://onlinesequencer.net/

Once you know what notes you want to play, refer to the toneMelody tutorial (scroll to the bottom to see which frequencies correspond to the notes you want to play).
Comments