palpic2png.c: improve, make usable with ppic binary files
[rofl0r-openDOW.git] / sounds / fail.c
blobbf1c94616b2b6f63e8b0320cfb7f7c613a941680
1 #define FILESIZE 1156
2 #define SAMPLERATE 5512
3 #define BITS 8
4 #define CHANS 1
5 #define FMTC0 1
6 #define FMTC1 0
7 #define DATASIZE 1112
8 #define STRUCT_NAME fail
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 128,127,127,128,127,128,127,123,119,122,129,134,138,126,104,99,99,110,129,123,102,108,129,124,98,79,58,96,203,194,73,71,
21 181,196,118,94,125,115,39,39,164,219,164,121,98,81,69,77,143,189,166,135,79,43,125,200,150,90,55,34,115,209,219,208,
22 171,124,117,120,89,46,105,219,209,133,90,54,44,50,82,148,160,124,124,157,166,148,159,210,233,227,205,153,111,76,61,90,
23 103,70,46,49,57,86,106,86,63,33,14,88,164,134,95,133,182,165,133,133,139,104,52,52,74,65,42,82,165,208,238,221,
24 163,135,124,105,73,74,116,108,36,8,24,52,108,144,162,155,95,56,59,71,110,134,106,85,112,134,110,83,62,53,138,221,
25 146,54,114,202,167,100,105,129,88,22,80,203,203,142,112,90,77,66,96,171,186,154,118,54,64,166,189,122,77,41,54,159,
26 220,215,198,150,117,119,113,68,51,155,236,177,113,75,45,46,57,109,162,146,119,137,165,160,147,177,225,232,222,187,134,97,
27 64,68,101,94,57,46,51,65,98,102,76,53,19,34,126,161,113,102,157,183,150,129,137,132,81,49,69,84,69,66,119,166,
28 182,188,162,136,129,124,118,114,121,127,124,125,128,127,127,123,120,124,130,135,136,120,102,99,100,116,132,117,100,115,132,117,
29 93,73,59,126,215,160,59,101,197,176,104,101,129,97,24,65,196,211,146,114,92,78,66,89,164,187,157,123,61,58,155,192,
30 130,80,45,47,146,219,216,201,156,118,118,117,74,44,141,235,186,118,79,47,45,55,101,158,150,120,133,163,162,147,171,222,
31 233,224,193,138,101,66,64,99,97,60,46,50,63,95,103,79,56,23,28,116,163,119,99,150,184,154,129,136,136,87,44,59,
32 76,57,43,106,181,217,240,205,152,132,120,96,69,85,121,90,21,11,30,65,122,150,166,144,77,54,61,79,122,130,96,90,
33 122,130,101,78,56,69,169,214,112,55,145,206,145,92,114,129,66,17,119,220,185,131,106,85,73,68,117,182,177,146,101,46,
34 89,185,175,105,68,34,76,188,223,212,188,135,115,121,105,53,70,190,227,155,102,65,44,48,67,127,164,136,119,146,167,154,
35 148,193,232,229,217,171,122,88,60,78,104,83,51,47,53,74,103,95,69,45,14,55,148,153,101,112,173,178,140,129,140,121,
36 65,46,69,72,46,59,140,197,229,234,181,141,128,113,84,68,101,121,61,7,18,39,88,137,156,165,118,62,57,65,95,132,
37 118,87,100,131,121,90,70,51,99,207,188,68,76,186,193,114,95,126,112,35,44,170,217,160,120,97,80,69,79,147,189,164,
38 133,75,45,131,200,146,88,53,35,121,212,219,207,167,123,117,119,86,45,112,223,205,130,88,52,44,51,86,151,159,123,126,
39 159,165,148,161,213,233,226,203,150,109,74,61,92,102,68,46,49,58,88,106,84,61,30,15,94,165,131,95,136,183,163,132,
40 133,138,100,51,54,74,64,42,86,169,210,239,218,160,134,123,103,72,76,118,105,33,8,26,54,111,146,163,153,92,56,59,
41 73,113,134,104,86,115,134,108,82,61,55,145,222,139,52,120,204,163,98,106,129,84,21,88,206,200,139,111,89,76,66,99,
42 174,184,152,115,51,68,171,187,118,75,39,58,165,221,215,196,147,116,120,112,65,54,162,236,173,110,73,44,46,58,112,163,
43 144,119,139,165,158,147,180,226,231,221,184,131,95,63,70,102,92,55,46,51,67,100,101,74,52,18,38,131,160,111,104,160,
44 182,148,129,138,130,78,45,64,75,52,47,121,190,222,241,194,146,130,117,91,67,92,122,78,15,14,34,75,129,153,165,133,
45 70,55,62,85,128,127,90,93,128,127,95,75,52,80,187,204,93,64,163,201,132,93,119,122,52,26,141,223,174,125,102,83,
46 71,70,130,188,172,141,90,44,107,192,162,98,61,34,95,199,221,210,180,129,115,121,98,45,83,209,221,143,96,58,43,49,
47 74,138,162,130,122,152,167,152,154,201,233,228,212,162,116,81,58,84,106,77,48,48,55,80,105,91,66,38,15,72,155,144,
48 98,122,178,172,136,130,140,114,56,48,73,70,42,69,153,203,234,228,172,138,126,109,79,71,108,114,49,7,21,45,98,141,
49 159,163,106,57,58,67,103,134,112,86,106,133,115,87,66,52,119,214,167,61,94,195,181,105,99,130,103,24,58,191,213,150,
50 116,93,79,67,87,159,187,159,125,65,54,149,195,134,82,47,42,141,219,217,204,158,118,118,118,76,46,134,230,191,121,81,
51 49,45,54,97,156,153,121,131,162,163,146,168,221,233,225,196,141,103,68,64,97,98,62,46,50,62,93,104,80,57,25,24,
52 110,165,122,96,147,186,156,129,135,137,90,47,58,75,59,43,101,178,215,240,208,154,132,121,98,69,82,121,95,22,10,29,
53 62,120,149,165,146,81,55,60,78,120,131,98,89,120,131,103,79,57,64,164,219,118,50,140,209,149,93,112,129,73,30,113,
54 199,175,132,114,101,96,95,120,151,148,135,120,106,117,138,134,126,125,127,128,127,128,128,128,
58 #undef STRUCT_NAME
59 #undef DATASIZE
60 #undef FMTC1
61 #undef FMTC0
62 #undef CHANS
63 #undef BITS
64 #undef SAMPLERATE
65 #undef FILESIZE