school/ecen427/spaceShipSound.c

4 lines
85 KiB
C
Raw Normal View History

int spaceShipSound_soundData[] = {120,123,123,127,126,127,123,126,127,123,126,126,127,123,128,123,128,127,127,127,128,128,128,128,128,126,125,125,125,126,127,127,127,127,127,127,127,127,127,127,127,128,128,128,128,128,128,127,126,126,126,126,127,127,127,127,127,127,126,125,125,125,126,127,127,127,127,127,128,128,128,128,127,124,125,125,125,127,127,127,127,127,128,127,124,126,124,126,124,126,124,125,125,125,126,127,127,124,127,124,126,124,125,126,125,125,126,125,126,124,126,127,126,126,125,126,125,126,125,125,126,126,126,127,127,127,127,125,125,126,127,127,126,126,126,126,127,125,126,125,125,125,126,125,123,125,126,125,126,125,126,124,125,126,125,126,124,125,125,126,127,127,128,128,128,128,128,128,128,127,127,126,126,126,126,127,127,127,127,127,127,127,127,128,128,128,128,128,128,128,127,127,127,127,127,127,127,127,127,127,127,127,127,127,128,123,123,122,127,122,128,126,126,127,123,126,121,127,126,127,123,128,128,128,123,127,120,123,128,123,128,123,125,128,128,128,128,120,128,127,128,123,127,128,128,128,128,123,124,124,125,125,123,127,127,125,124,127,124,124,123,125,128,128,122,122,124,128,120,128,122,125,123,127,119,122,124,128,120,128,122,125,128,127,121,121,125,125,119,128,123,128,127,123,119,118,124,125,120,126,127,122,125,122,122,123,120,120,128,123,125,123,124,118,118,126,125,120,125,122,126,126,121,116,118,120,124,118,124,126,121,120,110,115,125,125,116,126,123,122,122,114,125,118,121,118,123,124,124,123,115,116,115,121,120,122,123,124,125,109,115,116,119,120,119,125,124,128,111,110,115,121,117,118,125,124,126,109,108,112,119,119,113,125,128,128,103,111,110,119,118,118,125,124,122,106,114,112,114,119,117,124,120,110,99,123,115,113,114,123,122,128,104,98,109,120,112,113,128,120,116,96,120,106,115,112,120,128,120,101,95,115,115,113,111,124,119,115,89,120,107,110,114,120,123,127,90,104,106,111,108,112,127,123,101,90,121,109,110,106,118,122,120,81,106,104,107,103,112,126,125,98,85,117,109,104,101,120,124,119,78,98,101,109,104,107,124,120,104,71,117,101,103,98,113,122,125,87,74,117,103,98,99,116,119,120,72,85,113,96,96,102,118,122,116,65,85,106,95,94,98,118,124,113,67,81,99,95,91,100,116,128,112,66,74,105,88,88,98,113,119,116,65,67,118,91,86,91,112,119,121,74,57,116,87,82,87,101,118,124,94,50,80,96,78,83,91,114,126,107,58,54,119,78,78,76,99,115,122,84,46,80,93,67,75,89,107,124,111,55,46,117,75,65,72,94,114,123,92,44,55,117,71,65,73,100,115,116,79,36,59,104,62,64,71,104,121,116,72,30,59,100,59,57,71,104,117,112,72,34,48,110,57,53,67,98,114,118,76,32,41,122,62,42,62,85,110,118,89,43,26,81,80,37,48,69,102,123,102,57,24,43,121,48,33,55,87,113,120,81,43,16,68,83,34,33,61,98,116,108,66,28,23,92,66,26,35,68,100,124,100,49,18,28,108,62,18,33,62,98,124,95,52,17,19,98,65,17,23,57,95,121,98,58,21,12,74,79,18,12,43,88,117,110,65,29,6,47,110,39,2,26,66,103,122,89,42,15,11,77,81,17,1,34,77,113,111,69,35,8,19,104,65,4,0,41,80,121,107,61,25,9,18,97,66,2,0,36,75,115,107,60,24,10,14,81,75,17,0,13,67,104,115,78,36,13,4,48,113,44,0,0,43,85,124,98,47,19,14,14,78,76,26,0,0,57,98,123,79,39,13,13,19,92,67,12,0,0,57,96,118,78,36,14,12,19,84,82,24,0,0,36,86,126,83,46,19,9,14,53,125,42,0,0,1,62,107,111,65,27,11,10,20,75,95,31,0,0,11,64,111,103,55,26,8,15,24,67,98,31,0,0,1,55,105,109,64,25,13,13,23,48,117,57,9,0,0,26,82,119,88,43,17,7,20,36,65,118,46,2,0,0,24,86,123,89,40,18,8,20,37,60,123,56,14,0,0,16,61,110,99,53,28,10,17,33,50,85,107,42,2,0,0,20,68,120,95,47,23,11,18,38,52,85,116,46,8,0,0,12,49,102,113,61,29,12,14,33,49,73,99,89,29,4,0,12,13,59,105,107,55,26,13,16,33,53,69,96,111,46,17,0,2,18,40,81,126,84,40,21,11,26,40,62,82,104,109,48,19,4,6,20,42,71,115,94,52,28,11,24,36,58,80,93,118,96,44,19,8,13,32,50,74,107,98,56,32,18,25,41,56,78,96,108,123,79,37,20,15,23,39,63,85,104,102,58,37,23,28,44,56,79,92,113,121,108,61,38,22,21,36,52,69,88,109,111,69,42,28,35,41,61,75,95,105,123,126,104,59,39,28,29,44,58,74,94,108,126,88,57,35,36,41,57,71,89,103,115,125,126,109,80,57,37,38,40,53,70,89,100,116,126,93,62,45,42,47,61,71,90,101,116,126,126,119,117,90,65,48,40,48,62,74,88,99,111,120,121,98,72,58,50,53,66,75,92,100,115,120,125,121,119,114,113,85,67,55
int spaceShipSound_numberOfSamples = 20805; //used to be 25805 also removed all negatives from []
int spaceShipSound_sampleRate = 8;