Kompletter Nyan cat Song

This commit is contained in:
2016-09-11 13:57:07 +02:00
parent a8ca0acd0b
commit bece9fee21
4 changed files with 525 additions and 74 deletions

8
main.c
View File

@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include "player.h"
#include "song.h"
void shutdown(void) {
//Diese Methode wird von beim beenden aufgerufen.
@@ -15,6 +15,10 @@ int main(void) {
exit(0);
}
playIntro();
//Intro
play(intro, noteDurations, introlength);
//Main theme
play(melody, melodyNoteDurations, songlength);
return 0;
}