make it faster and higher

This commit is contained in:
twobit 2013-09-05 02:32:08 +02:00
parent 6e09daced6
commit c214c02a7c

View File

@ -14,7 +14,7 @@ static uint8_t row;
enum { enum {
NOTE_LENGTH = 600, NOTE_LENGTH = 550,
DUTY = 0xf000, DUTY = 0xf000,
xxx = 0, xxx = 0,
g_0, gs0, a_0, as0, b_0, g_0, gs0, a_0, as0, b_0,
@ -76,10 +76,13 @@ const int patterns[][3][48] PROGMEM = {
const uint16_t freq[] PROGMEM = { const uint16_t freq[] PROGMEM = {
0, 0,
412, 436, 462, 489, 518, 549, 582, 617, 653, 692, 733, 777, 653, 692, 733, 777, 823, 872,
823, 872, 924, 979, 1037, 1099, 1164, 1233, 1306, 1384, 1466, 924, 979, 1037, 1099, 1164, 1233,
1554, 1646, 1744, 1848, 1957, 2074, 2197, 2328, 2466, 2613, 1306, 1384, 1466, 1554, 1646, 1744,
2768, 2933, 3107, 3292, 3488, 3695, 3915, 4148, 4394 1848, 1957, 2074, 2197, 2328, 2466,
2613, 2768, 2933, 3107, 3292, 3488,
3695, 3915, 4148, 4394, 4656, 4933,
5226, 5537, 5866, 6215, 6584, 6976
}; };