mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
Star Wars Returns
This commit is contained in:
parent
4041ad4032
commit
64255d5fc7
@ -72,25 +72,26 @@ void IoDoTone(uint tone, uint time)
|
||||
|
||||
void IoDoStarWars(void)
|
||||
{
|
||||
|
||||
struct Note {
|
||||
uint tone;
|
||||
uint time;
|
||||
};
|
||||
|
||||
struct Note Score[36] = { {440, 200}, {110, 200}, {440, 200}, {110, 200},
|
||||
{440, 200}, {110, 200}, {349, 140}, {110, 100},
|
||||
{523, 60}, {110, 100}, {440, 200}, {110, 200},
|
||||
{349, 140}, {110, 100}, {523, 60}, {110, 100},
|
||||
{440, 200}, {110, 200},
|
||||
struct Note Score[40] = { {440, 200}, {110, 200}, {440, 200}, {110, 200},
|
||||
{440, 200}, {110, 200}, {349, 140}, {87, 100},
|
||||
{523, 60}, {87, 100}, {440, 200}, {110, 200},
|
||||
{349, 140}, {87, 100}, {523, 60}, {87, 100},
|
||||
{440, 200}, {110, 200}, {440, 200}, {110, 200},
|
||||
|
||||
{659, 200}, {110, 200}, {659, 200}, {110, 200},
|
||||
{659, 200}, {110, 200}, {698, 140}, {110, 100},
|
||||
{523, 60}, {110, 100}, {415, 200}, {110, 200},
|
||||
{349, 140}, {110, 100}, {523, 60}, {110, 100},
|
||||
{440, 200}, {110, 200}
|
||||
{659, 200}, {87, 200}, {698, 140}, {87, 100},
|
||||
{523, 60}, {87, 100}, {415, 200}, {87, 200},
|
||||
{349, 140}, {87, 100}, {523, 60}, {87, 100},
|
||||
{440, 200}, {110, 200}, {110, 200}, {110, 200}
|
||||
} ;
|
||||
|
||||
for (int i=0; i<36 ; i++) {
|
||||
for (int i=0; i<40 ; i++) {
|
||||
IoDoTone(Score[i].tone, Score[i].time);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user