Sehr geniale Idee, gefällt mir!
Hier noch 2 Lieder.
Die Noten sind meiner Meinung nach etwas zu schnell, ich hab ein bisschen an der Notenlänge geschraubt:
Code:
#define EIGHTH 300
#define QUARTER 600
#define HALF 1200
#define FULL 2400
Code:
/*Für Elise*/
uint16_t hs_lied[]={
E6,EIGHTH,
ES6,EIGHTH,
E6,EIGHTH,
ES6,EIGHTH,
E6,EIGHTH,
H5,EIGHTH,
D6,EIGHTH,
C6,EIGHTH,
A5,EIGHTH,
_OFF,EIGHTH,
C5,EIGHTH,
E5,EIGHTH,
A5,EIGHTH,
H5,QUARTER,
_OFF,EIGHTH,
E5,EIGHTH,
AS5,EIGHTH,
H5,EIGHTH,
C6,QUARTER,
_OFF,QUARTER,
E6,EIGHTH,
ES6,EIGHTH,
E6,EIGHTH,
ES6,EIGHTH,
E6,EIGHTH,
H5,EIGHTH,
D6,EIGHTH,
C6,EIGHTH,
A5,EIGHTH,
_OFF,EIGHTH,
C5,EIGHTH,
E5,EIGHTH,
A5,EIGHTH,
H5,QUARTER,
_OFF,EIGHTH,
E5,EIGHTH,
C6,EIGHTH,
H5,EIGHTH,
A5,HALF,
STOP,STOP
};
Code:
/*Oh when the sains*/
uint16_t sains[]={
F5,QUARTER,
A5,QUARTER,
B5,QUARTER,
C6,FULL,
F5,QUARTER,
A5,QUARTER,
B5,QUARTER,
C6,FULL,
F5,QUARTER,
A5,QUARTER,
B5,QUARTER,
C6,HALF,
A5,HALF,
F5,HALF,
A5,HALF,
G5,FULL,
A5,QUARTER,
A5,QUARTER,
G5,QUARTER,
F5,HALF,
F5,QUARTER,
A5,HALF,
C6,HALF,
C6,QUARTER,
B5,FULL,
B5,QUARTER,
A5,QUARTER,
B5,QUARTER,
C6,HALF,
A5,HALF,
F5,HALF,
G5,HALF,
F5,FULL,
STOP,STOP
};
Grüße,
Harri
Lesezeichen