palpic.h: fix file endian conversion bugs, and...
[rofl0r-openDOW.git] / sounds / success.c
blob0afa52e893a6e99f02374a75e3d9b28b39f3e841
1 #define FILESIZE 2160
2 #define SAMPLERATE 5512
3 #define BITS 8
4 #define CHANS 1
5 #define FMTC0 1
6 #define FMTC1 0
7 #define DATASIZE 2115
8 #define STRUCT_NAME success
10 static const struct {
11 WAVE_HEADER_COMPLETE header;
12 uint8_t data[FILESIZE - sizeof(WAVE_HEADER_COMPLETE)];
13 } STRUCT_NAME = {
15 { { 'R', 'I', 'F', 'F'}, FILESIZE -8, { 'W', 'A', 'V', 'E'} },
16 { { 'f', 'm', 't', ' '}, 16, {{FMTC0, FMTC1}}, CHANS, SAMPLERATE, SAMPLERATE * CHANS * BITS/8, CHANS * BITS/8, BITS },
17 { { 'd', 'a', 't', 'a' }, DATASIZE }
20 124,132,123,127,114,127,147,150,145,90,97,89,173,172,187,85,58,46,142,222,217,154,18,33,63,236,225,216,37,15,19,176,
21 250,233,126,1,30,87,249,221,201,14,24,27,208,240,231,91,6,27,117,250,223,177,4,27,44,231,232,224,59,15,27,153,
22 245,227,143,2,26,72,245,229,208,35,21,34,183,239,227,110,6,24,102,248,229,184,23,23,47,203,234,219,82,12,28,134,
23 245,225,155,20,29,72,213,228,200,65,21,41,158,236,217,128,25,33,98,215,224,179,54,23,56,177,234,209,106,24,37,120,
24 219,223,157,48,23,76,187,234,193,91,23,48,139,221,217,136,43,25,98,195,235,173,80,20,64,152,225,205,119,38,32,116,
25 200,232,155,74,20,82,161,230,190,108,32,44,132,207,224,136,67,22,99,169,230,177,98,30,53,141,210,218,131,60,28,102,
26 176,226,173,92,31,59,144,214,211,130,52,35,103,187,222,173,81,30,59,153,221,207,125,41,39,104,199,219,175,69,31,59,
27 163,224,206,118,35,42,106,210,215,174,56,34,57,175,224,207,110,31,43,111,218,213,172,44,37,56,189,222,208,98,28,44,
28 120,225,211,169,33,41,56,202,218,209,85,30,42,130,227,211,163,26,43,59,214,215,210,72,32,40,141,227,213,153,23,43,
29 69,221,212,202,61,38,47,157,220,208,132,29,47,90,220,206,185,53,47,58,172,212,203,112,36,49,111,218,205,168,49,47,
30 69,184,210,197,95,39,51,130,216,205,150,47,47,84,189,210,185,83,40,57,147,214,203,132,47,47,101,192,211,170,78,39,
31 68,157,215,196,118,47,50,116,193,211,155,75,37,83,162,217,184,110,44,59,127,198,203,138,69,42,106,170,215,157,100,42,
32 88,141,203,177,122,61,65,126,178,200,134,92,49,114,148,205,149,115,53,93,134,191,176,122,80,65,128,158,197,128,108,51,
33 119,137,200,147,121,66,92,132,173,174,120,96,66,134,144,195,125,120,62,119,130,184,146,122,82,94,135,155,176,117,113,72,
34 135,132,182,124,126,76,120,130,166,149,121,104,91,138,135,169,115,128,84,134,123,162,132,127,106,111,132,136,148,118,126,102,
35 135,123,149,125,129,113,122,128,134,133,124,126,120,130,125,131,127,128,126,125,128,125,126,126,130,133,126,125,116,131,127,142,
36 123,130,109,124,125,142,139,124,118,106,135,128,157,119,131,93,127,123,158,139,126,105,101,136,136,167,116,128,80,132,122,174,
37 135,127,89,102,134,150,169,116,118,71,135,127,188,130,127,73,107,133,165,167,118,105,69,135,136,195,125,125,63,116,131,177,
38 156,121,95,79,135,142,189,118,123,63,128,128,182,142,125,88,92,133,148,179,116,119,67,136,127,184,130,128,82,106,130,156,
39 167,118,114,76,139,129,182,122,130,78,118,126,163,153,121,107,86,139,132,175,117,130,79,126,123,167,142,125,101,98,137,138,
40 167,116,128,83,132,122,167,132,127,98,110,134,142,158,116,126,86,136,121,168,127,129,96,112,132,143,159,116,126,86,135,122,
41 169,129,129,96,110,133,142,161,117,126,84,134,123,170,132,128,95,106,134,142,164,117,126,80,133,123,172,134,127,95,102,135,
42 142,169,116,126,77,132,123,173,137,126,94,98,137,142,172,116,126,74,130,124,175,139,125,94,94,137,142,176,116,126,72,129,
43 124,177,142,125,92,93,135,145,173,118,123,76,130,126,175,134,127,90,106,133,148,161,118,120,84,134,126,171,126,129,89,118,
44 129,153,150,121,115,92,135,129,168,121,130,89,126,126,156,139,124,110,102,133,133,161,119,128,92,132,125,157,130,128,107,112,
45 130,137,152,121,125,98,134,125,155,125,129,105,120,127,140,143,122,122,106,135,127,150,122,130,107,126,125,141,136,125,120,114,
46 133,128,144,121,131,110,130,123,141,129,128,118,121,130,131,137,122,129,113,131,122,146,124,132,105,125,126,145,140,124,117,101,
47 131,130,162,124,127,90,123,128,159,143,124,103,97,131,144,169,125,115,81,121,137,171,145,117,89,95,134,161,170,125,99,79,
48 119,153,174,148,104,82,93,144,171,170,121,85,80,120,169,172,150,88,83,91,159,173,170,109,79,82,128,178,170,145,76,86,
49 95,173,171,169,95,81,82,140,177,171,133,77,85,105,174,166,162,88,89,86,153,166,170,116,87,86,122,168,164,148,89,94,
50 94,160,159,167,104,95,85,138,161,169,132,92,89,107,161,161,159,97,96,87,150,157,171,117,98,84,122,158,166,146,97,93,
51 96,154,157,168,107,100,82,136,154,171,132,101,87,108,153,162,159,105,98,87,143,153,171,121,103,83,121,150,167,147,105,93,
52 94,145,155,169,118,104,82,124,147,170,145,112,89,97,136,158,165,125,104,86,120,143,168,144,117,91,102,131,158,158,130,102,
53 93,118,145,162,144,117,94,104,128,157,154,134,101,99,113,146,157,147,118,98,104,126,155,151,138,102,103,109,146,152,150,118,
54 101,103,124,153,149,141,102,108,106,146,147,152,118,106,103,124,149,147,143,104,112,103,146,141,154,118,111,103,124,145,146,143,
55 107,115,103,145,137,154,117,116,103,124,141,145,142,110,117,104,144,133,154,117,121,103,127,136,143,139,113,119,106,143,131,152,
56 116,124,104,129,133,145,136,116,118,109,141,131,151,116,126,104,131,130,146,133,120,116,112,138,131,148,117,127,104,132,128,146,
57 130,123,115,116,135,132,146,119,127,106,132,126,146,128,125,114,119,132,134,142,120,127,109,132,125,145,126,127,113,122,130,135,
58 139,123,126,111,131,126,143,126,128,114,124,129,135,136,124,125,115,131,126,141,126,128,118,125,128,131,134,125,128,120,129,125,
59 132,128,128,125,126,128,128,129,127,128,128,127,127,126,127,127,128,130,126,128,122,129,127,134,127,127,122,123,129,128,137,125,
60 129,116,128,126,137,132,126,122,115,131,126,144,125,129,113,124,128,137,139,123,124,108,133,125,149,128,129,111,117,130,136,147,
61 122,127,101,130,125,151,134,127,112,112,130,137,149,125,121,101,127,131,153,134,124,105,114,130,145,148,125,114,102,127,138,154,
62 133,119,102,115,134,150,145,123,107,104,129,146,153,132,111,101,116,141,152,145,116,103,105,133,152,152,129,103,103,118,149,152,
63 144,108,103,105,142,153,152,122,100,103,124,154,151,140,101,104,107,150,152,151,113,101,104,132,155,151,133,98,104,113,155,151,
64 147,107,102,106,137,154,148,128,101,106,119,150,150,140,113,103,114,134,150,143,126,108,108,125,141,150,131,120,105,121,130,147,
65 138,126,113,112,130,134,147,125,125,109,127,128,141,132,126,120,118,130,129,138,125,128,120,127,128,131,129,126,127,126,128,126,
66 126,128,128,133,126,129,119,127,126,136,133,126,121,116,130,130,143,126,127,109,124,128,143,138,124,116,109,130,135,149,129,121,
67 105,119,133,148,143,123,109,106,128,143,150,134,113,105,116,137,150,143,123,106,109,126,146,146,134,113,108,116,138,147,142,122,
68 108,111,127,145,144,134,112,110,116,139,146,142,121,108,111,128,146,144,133,111,110,117,140,146,142,120,108,111,129,146,144,132,
69 110,110,117,142,146,142,119,108,111,130,146,144,132,109,110,117,143,145,142,117,108,111,131,147,144,131,108,111,117,144,145,142,
70 116,109,111,132,147,144,131,108,112,116,145,143,143,116,111,112,130,146,142,133,109,114,116,143,141,142,118,112,113,128,145,141,
71 134,111,114,116,141,141,141,120,112,114,127,143,141,133,113,113,118,138,142,139,123,112,114,127,141,142,132,117,112,121,134,143,
72 137,125,114,115,127,137,143,129,122,111,123,131,142,136,126,117,115,128,133,143,127,126,112,125,128,139,135,126,121,116,129,129,
73 141,126,128,115,126,128,135,133,125,125,118,130,127,137,126,129,120,126,128,131,131,126,127,123,128,126,131,127,127,126,127,128,
74 128,127,127,128,129,127,128,124,128,127,131,130,127,126,122,129,127,135,126,128,119,126,127,134,133,126,125,117,130,128,140,127,
75 128,115,124,129,136,137,125,123,114,129,129,143,129,126,114,120,129,137,140,127,121,112,126,132,143,134,124,113,116,129,140,142,
76 130,118,112,121,135,142,138,123,113,114,126,142,140,135,115,115,116,136,140,140,126,113,116,122,142,137,137,117,117,117,132,140,
77 138,129,115,117,121,137,139,136,122,116,118,128,138,138,129,120,115,124,131,139,133,126,119,119,129,132,139,126,126,116,127,127,
78 136,132,127,124,120,129,128,135,126,128,122,127,128,129,130,127,127,126,127,128,127,128,126,129,128,127,125,124,129,128,133,127,
79 128,121,126,127,134,132,126,123,120,128,130,136,128,125,119,124,130,135,133,125,121,120,128,133,135,130,122,120,123,133,135,134,
80 124,119,120,128,136,135,130,119,120,122,134,135,134,123,119,120,128,136,134,130,119,120,124,134,136,132,124,119,123,128,136,133,
81 128,121,121,127,131,135,129,126,120,125,128,133,131,127,124,123,129,128,133,126,128,123,127,128,130,129,127,127,126,129,127,129,
82 127,127,127,127,127,127,127,128,127,129,127,127,126,127,128,129,129,127,127,125,129,127,131,127,128,125,126,128,129,131,127,127,
83 123,127,128,132,129,127,124,124,128,130,132,128,126,123,125,129,132,131,127,124,123,126,131,132,131,125,123,123,128,132,132,129,
84 123,123,124,131,132,132,126,122,123,126,133,132,132,123,123,123,129,133,132,129,122,123,124,132,133,132,125,122,123,127,133,132,
85 130,123,122,124,130,133,131,127,123,124,126,130,132,129,126,124,125,128,130,130,128,126,125,127,128,129,129,127,126,127,128,128,
86 129,128,127,0,
90 #undef STRUCT_NAME
91 #undef DATASIZE
92 #undef FMTC1
93 #undef FMTC0
94 #undef CHANS
95 #undef BITS
96 #undef SAMPLERATE
97 #undef FILESIZE