// 1K Frequency Table. // Fred Quimby, Darrell Spice Jr, Chris Walton 2010 // Converted to C by Bruno Steux 2023 // // The 1K Frequency Table can contain up to 256 frequency values // // Table entries are defined as 2^32*freq/20000 // // piano key frequencies (s = sharp) #define A0 1 #define A0s 2 #define B0 3 #define C1 4 #define C1s 5 #define D1 6 #define D1s 7 #define E1 8 #define F1 9 #define F1s 10 #define G1 11 #define G1s 12 #define A1 13 #define A1s 14 #define B1 15 #define C2 16 #define C2s 17 #define D2 18 #define D2s 19 #define E2 20 #define F2 21 #define F2s 22 #define G2 23 #define G2s 24 #define A2 25 #define A2s 26 #define B2 27 #define C3 28 #define C3s 29 #define D3 30 #define D3s 31 #define E3 32 #define F3 33 #define F3s 34 #define G3 35 #define G3s 36 #define A3 37 #define A3s 38 #define B3 39 #define C4 40 #define C4s 41 #define D4 42 #define D4s 43 #define E4 44 #define F4 45 #define F4s 46 #define G4 47 #define G4s 48 #define A4 49 #define A4s 50 #define B4 51 #define C5 52 #define C5s 53 #define D5 54 #define D5s 55 #define E5 56 #define F5 57 #define F5s 58 #define G5 59 #define G5s 60 #define A5 61 #define A5s 62 #define B5 63 #define C6 64 #define C6s 65 #define D6 66 #define D6s 67 #define E6 68 #define F6 69 #define F6s 70 #define G6 71 #define G6s 72 #define A6 73 #define A6s 74 #define B6 75 #define C7 76 #define C7s 77 #define D7 78 #define D7s 79 #define E7 80 #define F7 81 #define F7s 82 #define G7 83 #define G7s 84 #define A7 85 #define A7s 86 #define B7 87 #define C8 88 const frequency unsigned char frequencies[356] = { 0x00, 0x00, 0x00, 0x00, 0xac, 0x1c, 0x5a, 0x00, 0x68, 0x78, 0x5f, 0x00, 0xb5, 0x25, 0x65, 0x00, 0x6e, 0x29, 0x6b, 0x00, 0xb5, 0x88, 0x71, 0x00, 0xfc, 0x48, 0x78, 0x00, 0x07, 0x70, 0x7f, 0x00, 0xf4, 0x03, 0x87, 0x00, 0x3c, 0x0b, 0x8f, 0x00, 0xba, 0x8c, 0x97, 0x00,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