/* Sackpipa E/A sinewave */

const int drone_len = 24; /* E  with amplitude correction = 25 */
volatile uint16_t  drone_idx = 0;
unsigned char drone_sw  [24] = 
{ 54, 57, 58, 59, 59, 59, 58, 57, 55, 52, 50, 48, 46, 44, 42, 41, 41, 41, 42, 43, 45,
47, 50, 51 };
  
const int tone_lg_len = 27; /* Actually D */
volatile uint16_t tone_lg_idx = 0;
const unsigned char tone_lg_sw [27] = 
{ 72, 81, 89, 95, 99, 99, 98, 93, 86, 78, 68, 56, 46, 35, 24, 15, 8, 3, 1, 1, 4,
9, 17, 26, 37, 48, 59 };

const int tone_la_len = 24; /* E */
volatile uint16_t tone_la_idx = 0;
const unsigned char tone_la_sw [24] = 
{ 74, 85, 93, 98, 99, 98, 93, 86, 76, 64, 51, 39, 27, 17, 8, 3, 1, 2, 6, 13, 23,
35, 47, 59 };

const int tone_b_len = 21; /* F# */
volatile uint16_t tone_b_idx = 0;
const unsigned char tone_b_sw [21] = { 77,
88, 95, 99, 99, 94, 86, 75, 61, 48, 34, 21, 11, 4, 1, 2, 7, 16, 28, 42, 55 };
 
const int tone_c_len = 19; /* G# */
volatile uint16_t tone_c_idx = 0;
const unsigned char tone_c_sw [19] = { 80,
91, 98, 99, 96, 87, 75, 60, 45, 29, 16, 6, 1, 1, 7, 17, 30, 46, 61 };

const int tone_d_len = 18; /* A */
volatile uint16_t tone_d_idx = 0;
const unsigned char tone_d_sw [18] = { 81,
93, 99, 99, 93, 83, 68, 51, 35, 20, 8, 2, 1, 6, 16, 31, 47, 63 };
  
const int tone_e_len = 16; /* B */
volatile uint16_t tone_e_idx = 0;
const unsigned char tone_e_sw [16] = { 85,
95, 99, 96, 86, 70, 51, 33, 17, 5, 1, 3, 13, 28, 47, 65 };
  
const int tone_f_len = 15; /* C */
volatile uint16_t tone_f_idx = 0;
const unsigned char tone_f_sw [15] = { 86,
97, 99, 94, 81, 63, 43, 24, 9, 1, 2, 10, 25, 44, 64 };

const int tone_hg_len = 13; /* high D */
volatile uint16_t tone_hg_idx = 0;
const unsigned char tone_hg_sw [13] = { 89,
99, 98, 87, 68, 46, 25, 8, 1, 4, 16, 36, 58 };
  
const int tone_ha_len = 12; /* high E */
volatile uint16_t tone_ha_idx = 0;
const unsigned char tone_ha_sw [12] = { 92,
99, 93, 76, 51, 27, 8, 1, 6, 23, 47, 71 };

