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