Contains the source code from the course work throughout my undergraduate Computer Engineering degree at Brigham Young University. There is a mixture of Go, Python, C, C++, Java, VHDL, Verilog, Matlab, Bash, Assembly, etc..
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

spaceShipDeathSound.c 5.6KB

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